Bug 489108 - Remember last window state
Summary: Remember last window state
Status: RESOLVED FIXED
Alias: None
Product: Skanpage
Classification: Applications
Component: general (show other bugs)
Version: 24.05.1
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Alexander Stippich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-06-24 15:19 UTC by John
Modified: 2024-12-16 11:58 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description John 2024-06-24 15:19:41 UTC
SUMMARY
Skanpage does not remember last used window state

STEPS TO REPRODUCE
1. launch skanpage (it starts not-maximized!)
2. maximize the window
3. close skanpage
4. relaunch skanpage

OBSERVED RESULT
window is not maximized

EXPECTED RESULT
skanpage should remember last window state

SOFTWARE/OS VERSIONS
Operating System: KDE neon 6.0
KDE Plasma Version: 6.1.0
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.0
Graphics Platform: Wayland
Comment 1 Nate Graham 2024-11-24 17:01:44 UTC
Can confirm, and will be fixed by https://invent.kde.org/utilities/skanpage/-/merge_requests/80.
Comment 2 Nate Graham 2024-12-13 15:21:47 UTC
Git commit da4d7bce7033ef21468793cba71b5da423febb72 by Nate Graham.
Committed on 13/12/2024 at 15:21.
Pushed by ngraham into branch 'master'.

Port to KConfig.WindowStateSaver

Part of https://invent.kde.org/frameworks/kconfig/-/issues/12
FIXED-IN: 25.04.0

M  +1    -1    CMakeLists.txt
M  +15   -13   src/qml/MainWindow.qml
M  +0    -30   src/skanpage_state.kcfg

https://invent.kde.org/utilities/skanpage/-/commit/da4d7bce7033ef21468793cba71b5da423febb72
Comment 3 John 2024-12-16 11:58:59 UTC
Nice!!!

Thank you!!! :)