Re:Way Cooler: A tiling window manager for Wayland written i...
by sho_hn on Saturday August 13, 2016 @04:37PM
(#12283005)
FWIW, we use server-side decos in the Wayland implementation of KDE Plasma and KDE/Qt apps, for these reasons and many others. If anyone says it can't be done, feel free to point them our way :-)
Re:Way Cooler: A tiling window manager for Wayland written i...
by cm3 on Saturday August 13, 2016 @05:01PM
(#12283083)
How?
Re:Way Cooler: A tiling window manager for Wayland written i...
by naasking on Saturday August 13, 2016 @06:23PM
(#12283356)
> It results in visual differences, and it's doubly stupid that this is touted as an "advancement" just for the rate case that you want to override the title bar.
Which is a stupid idea in and of itself. It means there's no trusted path to the window manager that programs can't spoof.
Re:Way Cooler: A tiling window manager for Wayland written i...
by cm3 on Saturday August 13, 2016 @04:25PM
(#12282959)
Another unsolved feature in Wayland is ssh-agent/gpg-agent support. I haven't found a way to make it work yet. It's either multiple agents or many fresh agents running.
Re:Way Cooler: A tiling window manager for Wayland written i...
by jorams on Saturday August 13, 2016 @05:44PM
(#12283233)
Why does Wayland need any sort of ssh-agent/gpg-agent support? I can't think of any reason for Wayland to have anything to do with their functionality, but I'm not at all familiar with Wayland.
Re:Way Cooler: A tiling window manager for Wayland written i...
by cm3 on Saturday August 13, 2016 @06:20PM
(#12283345)
The way this works in X11 is that you usually start your X11 env such that the environment variable pointing to the agent (which got started) is shared and the agent is accessible by applications. That way running ssh or gpg in any xterm will just work. This is not possible at the moment in Wayland. Think of it like OSX's keychain.
Re:Way Cooler: A tiling window manager for Wayland written i...
by eeZi on Saturday August 13, 2016 @07:35PM
(#12283599)
Why shouldn't it be possible? You can just setup your agent before you start Wayland, it inherits the environment.
Re:Way Cooler: A tiling window manager for Wayland written i...
by cm3 on Saturday August 13, 2016 @08:25PM
(#12283747)
Huh, I'll try that. I never thought of it like that because due to conventions the agent was always part of xinit. Might need to come up with a different way of running wayland compositors to keep the actually TTY shell free of the agent.
Re:Way Cooler: A tiling window manager for Wayland written i...
by timidger on Monday August 15, 2016 @04:10PM
(#12293031)
Yeah, they really are a pain, hopefully we can transfer to another terminal emulator for it (I'm one of the main developers).
Also as an aside, that's actually a linked video, github just does a REALLY bad job of showing that off. I'm going to have to make that more clear.
Re:Way Cooler: A tiling window manager for Wayland written i...
by zokier on Saturday August 13, 2016 @07:31PM
(#12283586)
> This incurs in stupid behavior for all tiling window managers in wayland, as they cannot enforce the client to remove the title bar
But neither can X11 WMs really enforce in any way client to remove title bar. Of course the WM might refuse to render its own decorations, but it can't really deny the client of rendering whatever it wants.
Re:Way Cooler: A tiling window manager for Wayland written i...
by lkiux on Sunday August 14, 2016 @02:57PM
(#12286799)
True, but in practice nobody really has a reason to override the title bar, because it forces you to implement dragging and resizing behavior as well. People that do this know the pain. It also works poorly unless you do it at a pretty low level (within the toolkit itself).
The only program(s) that do this are chromium and firefox in my machine, and both can disable this because it doesn't look native.
You could have done the inverse, as currently done with X11 (server-side decoration by default, but overridable).
This incurs in stupid behavior for all tiling window managers in wayland, as they cannot enforce the client to remove the title bar. For a tiling window manager user, this a significant downgrade in wayland. The WM protocol in X11 is one of the few areas that let X11 innovate a lot compared to all other desktops. The number of (wonderfully) different window managers is proof. Server-side decorations, in particular, should have been a no-brainer!