Bug 491091 - Kasts doesn't remember size of the window in windowed mode when you quit the application in full screen mode
Summary: Kasts doesn't remember size of the window in windowed mode when you quit the ...
Status: RESOLVED FIXED
Alias: None
Product: kasts
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.05.2
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: bart
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-07-31 23:25 UTC by nikolas.gur
Modified: 2025-01-03 15:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description nikolas.gur 2024-07-31 23:25:21 UTC
STEPS TO REPRODUCE
1) Open the application in windowed mode. Drag the borders of the application until the window has a size that you like
2) Fullscreen that application window by dragging the titlebar to the top
3) Quit the application
4) Open the application again. The application should start in fullscreen mode
5) Now try to drag the titlebar

Tested on Arch Linux, Plasma Wayland and Kasts installed from Flathub

OBSERVED RESULT
The application has forgotten the size of the window from Step 1, the window size takes up the whole screen, regardless of whether you are in fullscreen or windowed mode

EXPECTED RESULT
The application is resized to the size of the window from Step 1 or the application starts up in windowed mode always


SOFTWARE/OS VERSIONS
Linux:  Arch, Gnome / Plasma Wayland
KDE Plasma Version: 6.1.3-1

ADDITIONAL INFORMATION:
Installed from Flathub
Comment 1 Bug Janitor Service 2025-01-03 12:57:33 UTC
A possibly relevant merge request was started @ https://invent.kde.org/multimedia/kasts/-/merge_requests/210
Comment 2 bart 2025-01-03 15:08:35 UTC
Git commit 68fee587c2ee22f812545fa272d1d3ad4aa2e056 by Bart De Vries, on behalf of Eamonn Rea.
Committed on 03/01/2025 at 13:21.
Pushed by bdevries into branch 'master'.

Use KConfig.WindowStateSaver to handle window geometry

M  +1    -1    CMakeLists.txt
M  +8    -33   src/qml/Main.qml

https://invent.kde.org/multimedia/kasts/-/commit/68fee587c2ee22f812545fa272d1d3ad4aa2e056