Bug 440006

Summary: The window size is not saved
Product: [Applications] Haruna Reporter: Dasysan <djo.dasysan>
Component: genericAssignee: george fb <georgefb899>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Haruna window rules

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