Re: Wayland Woes and a Couple of Leap 16 Fixes

Andrei Borzenkov <[email protected]> Fri, 24 Jul 2026 21:06:40 +0300
Newsgroups gmane.linux.suse.general
Message-ID <[email protected]>
24.07.2026 18:03, Lew Wolfgang wrote:
> 
> But then I saw Liam's recent El Reg article on the Wayland situation and
> was truly astonished to learn that the window pileup is considered to be
> a Wayland "feature"!  WTFO!!!
> 
> https://www.theregister.com/os-platforms/2026/07/09/kde-plasma-users-face-a-dire-omen-of-change-666-arrives/5269267
> 

Quoting this article

--><--
Wayland, by design, blocks the window manager from restoring window 
sizes and positions
--><--

That is wrong to put it mildly.

Wayland by design blocks *applications* from restoring there window 
positions because applications are not aware of them. In Wayland only 
compositor knows physical screen dimensions and locations of each 
window. Due to Wayland design Window Manager is inevitably the 
compositor and compositor most certainly can store and restore windows 
sizes and positions.

The practical problem is to know, _when_ to restore them. That part is 
hopefully solved by now existing session management protocol which 
allows applications to save their sizes and positions as part of a 
session and request restoring them. It is not a silver bullet that will 
magically save/restore everything - it requires close cooperation 
between Wayland client and Wayland server. Clients using major GUI 
toolkits will likely get it for free; clients implementing Wayland 
directly will need to explicitly add support.

> Read that article if you want to become sad.  Read the comments if you
> want to become truly depressed.
> 

The comments are just knee jerk reaction.