Bug #15329 and window positioning
Matthias Klumpp
matthias at tenstral.net
Mon Oct 19 20:47:24 BST 2026
Am Mo., 19. Okt. 2026 um 21:38 Uhr schrieb Tag Howard <kde at jthoward.dev>:
>> [...]
>
> That quite simple code is less simple than you think. What if a monitor is unplugged/rearranged? What if the system scale changes? What if the user doesn't *want* you to restore your window state (preferences, window rules, tilers, etc.). There are reasons the protocol exists.
> There is no component that is sytemd-specific, don't know where you got that idea
> xdg_session_management_v1 is supported by kwin and mutter, it is not experimental
> There is no such thing as a patched wayland in this context
> ext-zones is not needed for session restore, only for apps that have multiple windows which need to be positioned relative to each other. And again, enabling it just a plugin, not some patched version of kwin
>
> There's no big conspiracy to break you apps or kill openrc or whatever. We're all just people trying to make kool stuff happen. Sometimes that takes time. Sometimes it has rough edges. But at the end of the day I think it will be well worth the effort.
+1 to that, and also, to add:
Am Mo., 19. Okt. 2026 um 21:28 Uhr schrieb Tobias Leupold <tl at stonemx.de>:
>> There's no chance that the quite simple code we used will work again
It would, with kwin-zones and some nice Qt abstraction. But I don't
know if Qt would accept that for an experimental protocol, so I
haven't contributed it yet. Once done though, it would actually work
*better* than it does on X11 right now, it's a much smoother, less
annoying experience! The previous "simple" code was also extremely
complex under the hood.
All that said though, there is a fairly good chance that
xdg-session-management will do what you need, and that protocol has
broad support. Just be patient, and help out constructively if you
like and want things to go a bit faster.
Cheers,
Matthias
More information about the kde-devel
mailing list