Bug 472854 - KCalc does not remember window size
Summary: KCalc does not remember window size
Status: RESOLVED FIXED
Alias: None
Product: kcalc
Classification: Applications
Component: general (show other bugs)
Version: 23.04.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Gabriel Barrantes
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-07-31 18:38 UTC by Luka Rasputin
Modified: 2023-08-15 19:33 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 23.12


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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