Bug 472854

Summary: KCalc does not remember window size
Product: [Applications] kcalc Reporter: Luka Rasputin <nanoblade9>
Component: generalAssignee: Gabriel Barrantes <gabriel.barrantes.dev>
Status: RESOLVED FIXED    
Severity: minor CC: gabriel.barrantes.dev, nate
Priority: NOR    
Version: 23.04.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 23.12

Description Luka Rasputin 2023-07-31 18:38:03 UTC
SUMMARY
When you start KCalc, it always has the same width and height.

STEPS TO REPRODUCE
1. Resize KCalc window
2. Restart KCalc

OBSERVED RESULT
KCalc has the minimum possible width and height.

EXPECTED RESULT
KCalc restores the window size as it was before restarting.

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Comment 1 Bug Janitor Service 2023-08-15 16:01:04 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kcalc/-/merge_requests/60
Comment 2 Nate Graham 2023-08-15 19:33:11 UTC
Git commit 4222c6ef89601010fc846009e6e39b54f387840b by Nate Graham, on behalf of Gabriel Barrantes.
Committed on 15/08/2023 at 21:33.
Pushed by ngraham into branch 'master'.

Remember windows size and location upon closing the app

KCalc app was not remembering window size and position when closing.
This adds functionality to remember window size and position.
FIXED-IN: 23.12

M  +2    -3    kcalc.cpp

https://invent.kde.org/utilities/kcalc/-/commit/4222c6ef89601010fc846009e6e39b54f387840b