Bug 383844 - Windows aren't remembering previous maximized state after reopening
Summary: Windows aren't remembering previous maximized state after reopening
Status: RESOLVED LATER
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: git master
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2017-08-22 11:47 UTC by Alexander Mentyu
Modified: 2025-02-17 07:15 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Mentyu 2017-08-22 11:47:09 UTC
Steps for reproduce:
1. Start Dolphin, maximize it, close it and open it again.
2. Start System Settings, maximize it, close it and open it again.
3. Start Discover, maximize it, close it and open it again.

Actual results:
All apps windows aren't remembering previous maximized state after reopening
them.
Comment 1 Alexander Mentyu 2017-08-22 11:53:22 UTC
Not always reproducible in System Settings - behavior can be sometimes opposite - System Settings window is restarting in maximized window if previously it was unmaximized and closed.
Comment 2 Martin Flöser 2017-08-22 15:12:28 UTC
This is currently impossible to handle as wl_shell which is used for Qt windows is lacking functionality. We will soon get support for xdg_shell in qt windows where this might work better. For the moment there is nothing we can do -> resolved later.
Comment 3 Lucia Mrenica 2019-01-22 16:24:03 UTC
Could this be already done, thanks to Qt 5.12? http://blog.qt.io/blog/2018/12/14/whats-new-wayland-platform-plugin-qt-5-12/ Especialy the paragraph 'Handling maximization and fullscreen on xdg-shell' ?
Comment 4 Patrick Silva 2019-02-28 14:26:29 UTC
Problem described here persists with Qt 5.12.1

Is xdg-shell already supported by Kwin?
Comment 5 David Edmundson 2019-02-28 15:41:17 UTC
xdg-shell is supported in kwin.

We were sending some incorrect data on maximise which is also fixed and some incorrect data on initial startup. 

Please retest with Kwin master as of today or Plasma 5.16 and report if it's an issue.
Comment 6 Patrick Silva 2019-05-16 20:43:51 UTC
This problem persists.
The bottom (for example, the Dolphin status bar, the "Apply" button of KCMs, the "Copy to Clipboard" button of Information Center) of the open windows on Wayland are hidden or almost hidden behind the panel of plasma.

Operating System: Arch Linux 
KDE Plasma Version: 5.15.90
KDE Frameworks Version: 5.58.0
Qt Version: 5.13.0 beta3
Comment 7 John 2025-02-17 07:15:07 UTC
This problem doesn't exist anymore, for all the 3 programs reported, in Plasma 6.3.0, on Debian 13 (Trixie) with the unstable repository!

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.7.2
Kernel Version: 6.12.13-amd64 (64-bit)
Graphics Platform: Wayland

I'm not sure what the RESOLVED LATER status actually means.
As I thought that the RESOLVED FIXED is the correct status for the resolved / fixed problems that are not happening anymore.