Bug 499652

Summary: Spectacle program is not remembering its maximized state
Product: [Applications] Spectacle Reporter: John <ilikefoss>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED FIXED    
Severity: minor CC: bugseforuns, kde, nate
Priority: NOR Keywords: junior-jobs
Version First Reported In: 24.12.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=499630
Latest Commit: Version Fixed/Implemented In: 6.6.0
Sentry Crash Report:

Description John 2025-02-07 16:38:20 UTC
SUMMARY
Spectacle program is not remembering its maximized state

STEPS TO REPRODUCE
1. Boot KDE Neon.
2. Open the Spectacle program.
3. Maximize it.
4. Close it.
5. Open it again.

OBSERVED RESULT
The program doesn't remember that before closing it was maximized.

EXPECTED RESULT
The program should open with the same state it was before being closed, in this case, maximized.
Maybe it's a bit weird to have Spectacle open as maximized, but for the consistency with all the other KDE and non-KDE programs that remember their maximized state and for the cases of screenshot with delay or for recording opening it maximized mode is no problem and I would very much like that this program rember its maximized state too like all the others.


SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.2.90
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.1
Kernel Version: 6.8.0-51-generic (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Hardware: Laptop Dell Inspiron 5770 (screen: 17 @ 1080p)
Graphics Processor 1: Mesa IntelĀ® UHD Graphics 620 (main)
Graphics Processor 2: AMD Radeon R5 M465 Series
Comment 1 Justin Zobel 2025-02-10 09:53:57 UTC
Confirmed on git master (6.3.80).
Comment 2 Nate Graham 2025-02-19 18:32:34 UTC
Indeed. This is just a matter of adding KConfig.WindowStateSaver objects to every window that should remember its state.
Comment 3 Bug Janitor Service 2026-01-06 03:49:10 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/spectacle/-/merge_requests/501
Comment 4 John 2026-01-12 11:31:10 UTC
Since the fix was merged, is this good to be closed?
I can't test it myself as I'm using Debian 14 (Forky) with Plasma 6.5.4. and will take a while until newer Plasma comes into Debian's repositories.

Too bad the the developer of Haruna doesn't want to fix the same problem too by default because there is an option to fix it manually:
https://bugs.kde.org/show_bug.cgi?id=500225
I wish that the KDE developers would understand that it's very tiresome to manually fix 50-100 things after each OS install | reinstall on our computers and on our families and friends' computers.
But it is what it is, thanks for fixing this one even though it was not as annoying as the one  in Haruna!