Bug 389359

Summary: [Wayland] Remember window size
Product: [Plasma] kwin Reporter: Patrick Silva <bugseforuns>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.11.95   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2018-01-24 02:59:23 UTC
I don't know if it's a bug or a missing feature...

Under Wayland a window always has the same size when is opened.

Under X11 window size (maximized, unmaximized, manually resized) is remembered on close and applied next time the window is opened.

Can we have under Wayland the same behavior from X11 please?
Comment 1 Martin Flöser 2018-01-24 16:20:34 UTC
Sorry, but that's out of scope of KWin. That's the job of the application.
Comment 2 Nate Graham 2018-01-24 16:25:12 UTC
So what accounts for the reported issue where windows that remember their size in X don't in Wayland? Could that be an XWayland issue?
Comment 3 Patrick Silva 2018-01-24 18:37:19 UTC
On my Arch Linux running plasma 5.12 beta only apps running natively under Wayland (QT5 and GTK3) are affected.
GTK2, GTK3 under xWayland (Firefox, for example) and QT4 apps (VLC and Clementine player) have its size remembered on close.
Comment 4 Nate Graham 2018-01-30 02:12:17 UTC
Martin, can we re-investigate per Comment 3? Thanks!
Comment 5 Martin Flöser 2018-01-30 05:17:52 UTC
(In reply to Nate Graham from comment #2)
> So what accounts for the reported issue where windows that remember their
> size in X don't in Wayland? Could that be an XWayland issue?

On X these information is stored in the application, on Wayland it also needs to be stored in the application.