Bug 392375 - Restored sessions with maximized windows does not remember their unmaximized size
Summary: Restored sessions with maximized windows does not remember their unmaximized ...
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 5.12.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: usability
Depends on:
Blocks:
 
Reported: 2018-03-26 17:43 UTC by Adam Schaefers
Modified: 2023-12-12 17:03 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:
mgraesslin: Wayland-
mgraesslin: X11+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Schaefers 2018-03-26 17:43:19 UTC
When I restore a session, e.g. log out and back in again, programs that were left open in a maximized state have the same size for both maximized and unmaximize states, and the unmaximized size is forgotten.
Comment 1 Martin Flöser 2018-03-26 19:17:53 UTC
Session restore is unmaintained. Please do not expect a bug fix anytime soon.
Comment 2 Adam Schaefers 2018-03-26 19:29:01 UTC
Hello Martin, may I ask why session restore is enabled by default, if it is unmaintained? Never the less, it's only a small gripe. Thank you!
Comment 3 Martin Flöser 2018-03-27 04:18:12 UTC
That is a good question and I don't know why it is enabled. Probably because it always has been enabled.
Comment 4 Adam Schaefers 2018-03-27 04:22:14 UTC
As a new KDE convert, maybe I can help with fresh perspective, that I find much of KDE very cutting edge and also refreshing, and I was excited when I learned about the idea of activities, and the first thing that came to my mind was, "With sessions, I can open everything up and position the windows exactly how I want them, and it will be just like waking from hibernation! This will be perfect." 

And all I can say is, KDE //ALMOST// does this, and no other DE even comes close or seeks to be ambitious in this area. So I am very surprised to hear this is on the back-burner, so to speak.

Thanks. :)
Comment 5 Nate Graham 2021-06-16 14:50:47 UTC
Confirmed.

FWIW there is a a similar problem on Wayland: BUG 437089.
Comment 6 guimarcalsilva 2021-06-24 02:15:24 UTC
I get the "same" bug, but I don't need to restore the session to have it happen. I noticed if I close an application like Discover in its maximized state and immediately after open it, if I click on the maximize button it doesn't remember its un-maximized state, meaning that clicking the button does nothing and I have to resize it manually.
Comment 7 Nate Graham 2023-12-12 16:59:14 UTC
The issue here is actually caused by the specific size-restoring behaviors of the programs themselves. Some of them inappropriately record their maximized geometry when they get maximized (instead of just the fact that they're now maximized) Which causes them to un-maximize to a size identical to their maximized size.
Comment 8 Nate Graham 2023-12-12 17:00:15 UTC
When you encounter this issue, we need new individual bug reports for each KDE app that's affected. And for 3rd-party apps, they need bug reports too. Can you do so? Thanks!  Fortunately in my experience the issue is rarer with KDE apps now than it was a few years ago.