The issue occurs when the **Remember Geometry** option is enabled (or when `RememberGeometry=true` is set in the configuration). This feature works as expected in windowed mode: if the player is used in windowed mode and then exited, it remembers the geometry and restores it correctly when reopened. However, if the player is exited while in fullscreen or maximized mode, reopening the program attempts to restore the fullscreen or maximized geometry. Since it cannot directly re-enter fullscreen or maximized mode (for reasons unknown), the window instead opens at its largest possible size. While the window is not technically in maximized mode (as it can still be resized with the mouse), its size is as large as a maximized window. To address this issue, the program should save the geometry only when the window is in normal mode. If the window is in fullscreen or maximized mode, the geometry should not be updated or saved to prevent this behavior.
Hi - thanks for your bug report! I can't reproduce the issue of not remembering a maximized window state on the current version of Haruna, 1.2.1. Could you please check if you are still experiencing this issue on that version, and can you please provide the system information from the issue reporting template (items listed below)? Linux/KDE Plasma: KDE Plasma Version: KDE Frameworks Version: Qt Version: Regarding fullscreen mode, I would say it seems undesirable for the application to directly open in fullscreen mode if it was last there, since it may be opened simply from the Application Launcher, at which point starting in fullscreen mode would leave the user with a blank screen, without any interface with which to interact. That's not a definitive statement that it shouldn't, but does that potential situation make sense?
> Regarding fullscreen mode, I would say it seems undesirable I agree, I just want to say if we leave the app when it is in Fullscreen mode or maximized mode, it can remember the last position and size when it was not in those modes. I solved the problem in other way, I just disabled that option of `remember last position and size` and set a window rule for once the app gets open, there i set a position and size for it and no matter in which mode I leave the app, it follows the rule once reopened. tnx to plasma for being so customizable.
(In reply to mh-firouzjah from comment #2) > mode or maximized mode, it can remember the last position and size when it I meant it **can't** remember and opens as the size of the monitor, the maximum possible size.
(In reply to mh-firouzjah from comment #2) > I agree, I just want to say if we leave the app when it is in Fullscreen > mode or maximized mode, it can't remember the last position and size when it > was not in those modes. Yep, and that's basically the situation I wanted to ask if you could please test with the current version of Haruna - on my device with version 1.2.1, exiting while maximized leads to the program starting back up maximized, and remembering its previous size when it's restored from the maximized state.
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
🐛🧹 This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.