Bug 389359 - [Wayland] Remember window size
Summary: [Wayland] Remember window size
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 5.11.95
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-24 02:59 UTC by Patrick Silva
Modified: 2018-01-30 05:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.