Bug 440006 - The window size is not saved
Summary: The window size is not saved
Status: RESOLVED FIXED
Alias: None
Product: Haruna
Classification: Applications
Component: generic (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: george fb
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-18 12:36 UTC by Dasysan
Modified: 2022-08-03 04:19 UTC (History)
0 users

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


Attachments
Haruna window rules (235.74 KB, image/png)
2021-07-18 23:12 UTC, george fb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dasysan 2021-07-18 12:36:32 UTC
After adjusting the size of the window and closing the program, it reopens at the standard size.

Desktop: KDE Plasma 5.18.5
Linux: 5.10.46
Comment 1 george fb 2021-07-18 23:12:54 UTC
Created attachment 140172 [details]
Haruna window rules

Since you're using Plasma you can use Window Rules to achieve that
Open System Settings and go to Window Management > Window Rules and create a new rule for haruna.

Or open Haruna and either click the app icon in the titlebar or press Alt+F3 and go to More Actions > Configure Special Window Settings.

Set the Position and Size properties to remember (see attachement).
Comment 2 george fb 2022-08-03 04:19:49 UTC
Git commit 940db3e16573079a3087e2b81bd794e21be7549d by George Florea Bănuș.
Committed on 03/08/2022 at 04:19.
Pushed by georgefb into branch 'master'.

add option to restore window size and position

M  +26   -2    src/application.cpp
M  +3    -0    src/application.h
M  +18   -6    src/qml/Settings/GeneralSettings.qml
M  +20   -1    src/qml/main.qml
M  +3    -0    src/settings/generalsettings.kcfg

https://invent.kde.org/multimedia/haruna/commit/940db3e16573079a3087e2b81bd794e21be7549d