mijorus / gearlever

Manage AppImages with ease 📦
https://mijorus.it/projects/gearlever
GNU General Public License v3.0
527 stars 23 forks source link

Remember size, position and mode of the main window #61

Closed lwbt closed 8 months ago

lwbt commented 8 months ago

Hello, thank you for developing this app.

I found that the main window does not remember its size, position and mode (maximized or not). I run the Flatpak version of the app. I compared the contents of ~/.var/app/it.mijorus/gearlever/config/glib-2.0/settings/keyfile with Lollypop which behaves as expected. Settings for the file picker a properly saved and restored.

Why would one want that? In some environments where one prefers to run all apps in maximized mode on small screens it allows for a consistent behavior.

Thank you very much for your time.

mijorus commented 8 months ago

Hi, this seems to be more something that has to do with your desktop configuration than with Gear Lever

lwbt commented 8 months ago

Actually, there is nothing that you could call a desktop in the environment I'm referring to. I run that application from Steam Deck game mode. (Often I run a terminal on a Steam Deck from game mode and inside that terminal Flatpak apps and other things.)

I'm not asking you to refactor your app for libhandy or whatever Purism's Librem5 and similar phones do these days. That would be worth another discussion which I have no time for at the moment. (I had a Librem5 until a few weeks ago though.)

Please kindly reconsider saving and reading the window state. See the image attached.

Otherwise you may close this issue as opinionated. Thank you very much for your time. PXL_20240210_152009255~2.jpg

mijorus commented 8 months ago

I'll see what I can do

mijorus commented 8 months ago

Hi, I can't save the position of the window (Wayland... 😤) but I can save if the window was maximized or not. This feature will be available in version 1.3.0 soon

mijorus commented 8 months ago

Thanks for contributing with this bug report.

If you want to support my work, please consider a small donation.

https://ko-fi.com/mijorus