Bug 455473

Summary: Konsole does not remember maximized state on opening
Product: [Applications] konsole Reporter: tromzy
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: normal CC: bugseforuns, nate
Priority: NOR    
Version: 21.12.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tromzy 2022-06-17 10:48:16 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***
On Wayland (not tested on X11), Kwin does not remember the window size when opening one. For example, if I maximize Konsole then close it, on next start it starts unmaximized.

STEPS TO REPRODUCE
1. Open any window and change its size.
2. Close it.
3. Reopen it.

OBSERVED RESULT
The window opens in its default size.

EXPECTED RESULT
The window should open with the same size  it had when I closed it.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.25.0
KDE Frameworks Version: 5.95.0
Qt Version: 5.15.4

ADDITIONAL INFORMATION
Comment 1 Patrick Silva 2022-06-17 13:52:06 UTC

*** This bug has been marked as a duplicate of bug 437089 ***
Comment 2 Nate Graham 2023-12-12 16:40:07 UTC
Unfortunately I mis-triaged this bug report, and sadly these are all app-specific issues. The problem is that some apps, when they maximize themselves, they also inappropriately save the new size they have in their maximized state. As a result, when you quit and re-launch such apps, one of the following things happens:
- The window open in a non-maximized state with a window size equal to what it *would* have when maximized
- The window opens in a maximized state, but when you de-maximize it, it doesn't change its size at all

See Bug 478442 for another example affecting System Monitor.

So I'm afraid we need a bug report for each individual KDE app that's affected. And for non-KDE apps that are affected, they'll need their own bug reports too.

In this particular case, the issue appears to be fixed now for Konsole, as I can't reproduce it with Konsole 24.02 on Plasma 6.