Bug 500225

Summary: Haruna program is not remembering its maximized state
Product: [Applications] Haruna Reporter: John <ilikefoss>
Component: genericAssignee: george fb <georgefb899>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 1.3.2   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description John 2025-02-17 07:29:13 UTC
SUMMARY


STEPS TO REPRODUCE
1. Use a distro that has Plasma >=6.3.0.
2. Open Haruna (doesn't matter how from all the options available).
3. Maximize it (doesn't matter how from all the options available).
4. Close it (doesn't matter how from all the options available).
5. Open it again.


OBSERVED RESULT
The program doesn't remember its last window state, in this case, maximized.
Similar to other KDE programs that had this problem.

EXPECTED RESULT
The program remembers its last window state, in this case, maximized.
Similar to other KDE programs that never had this problem or it was fixed and now they don't have this problem anymore.

For people who prefer  to always work with only one program at the time and to have it maximized and for the people who don't want to be distracted by a wallpaper, maybe a video one, or by a maximized web browser or by something running in the terminal and producing a lot of output, it's better that the program remembers its maximized state from last time so there's one less thing to always have to do when it's opened.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version: 6.3.0
KDE Frameworks Version: 6.10.0
Qt Version: 6.7.2
Kernel Version: 6.12.13-amd64 (64-bit)
Graphics Platform: Wayland


HARDWARE SPECIFICATIONS
Hardware: Laptop Dell Inspiron 5770 (17" 1080p@60Hz screen)
CPU: Intel® Core™ i5-8250U CPU @ 1.60GHz
GPU 1: Mesa Intel® UHD Graphics 620 (main)
GPU 2: AMD Radeon R5 M465 Series
RAM: 8 GiB (7.7 GiB usable)


ADDITIONAL INFORMATION
I found this problem because of my quest of finding mainly all KDE programs that have problems remembering their last window states:
https://bugs.kde.org/show_bug.cgi?id=499630
And because after the latest changes and improvements, especially around default behavior and shortcuts, I now use Haruna more and more compared to VLC, which I preferred before for having very good defaults and ability to right-click and do stuff from there.

Here's Nate comment explaining for the "Welcome Center" program how it can be fixed:
https://bugs.kde.org/show_bug.cgi?id=499653#c2
The fix for it can be seen in the last comment there.

And here it's how the problem was fixed for the KDE Connect SMS program:
https://bugs.kde.org/show_bug.cgi?id=499651#c3
Comment 1 george fb 2025-03-02 04:19:28 UTC
There's a "Remember window size and position" setting in General page.
Comment 2 John 2025-03-03 17:03:20 UTC
(In reply to george fb from comment #1)
> There's a "Remember window size and position" setting in General page.

That's cool and probably similar to how MPC-HC (for Windows) have such an option.
But still, I think nothing beats a better default.
Which Haruna seems to have quite a few, especially after the latest changes with the mouse clicks.

In my opinion, remembering the window size and position by default would be better because it would be consistent with other KDE (and not only) programs that does this and consistency is nice as nobody like 10 different things for everything.
And it would be better also because it would not was the time of people like me which has to install / reinstall the OS on my 2 computers, 2 computers of my parents and 3 computers of my friends.

A remember be default + a "Don't remember window size and position" setting in General page (the opposite of the existing option) would be better, at least for me.

Anyway, that's my feedback, many thanks for everything!