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
A possibly relevant merge request was started @ https://invent.kde.org/utilities/kcalc/-/merge_requests/60
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
This bug is back in version 24.05.2. Closing the flatpak and reopening it causes it to open with the default wide view.
(In reply to Peter from comment #3) > This bug is back in version 24.05.2. Closing the flatpak and reopening it > causes it to open with the default wide view. I notice this too (on kde6) and seems to be a problem in kde6 (and not in kde5), I tested a few weeks ago other apps and the size was also reset to default and same with the position, so is not an issue of kcalc. Right now, testing on Neon (KDE Plasma Version: 6.0.4 KDE Frameworks Version: 6.3.0) , the size is being remembered but the position still resets to default (I think this was also stored in Plasma 5), so I guess the team partially fixed this at some point, probably the position reset will also be solved at some point. Anyway, you can open the issue for plasma (only for the position because the size seems to be working now) but most likely they are already aware of it...