-
Notifications
You must be signed in to change notification settings - Fork 126
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spot resizes itself every time it is opened (elementaryOS 6) #424
Comments
Latest release (0.3) solved this issue. |
Hi! Thanks for the report. Looks like we are not always saving the window size to gsettings. Do you see values being updated if you do the following? flatpak --command=sh run dev.alextren.Spot # runs a shell in the flatpak image
spot
# resize then close spot / ^C
gsettings get dev.alextren.Spot window-width # should log the last recorded width of the window |
Oops, just a bit late :D I don't remember us fixing anything related to that in the latest version though, so feel free to reopen this issue if you encounter the problem again! |
Hi @xou816 Could you please re-open this issue because I am having the same problem but I couldn't find a way to mitigate this? Thanks. |
Sure! Would you mind trying these steps and reporting your results here? |
As you said, I manually resized window then closed it.
Then I launched it again and this time I didn't resize it and the number was up.
|
Hi @xou816 Any news about this? Anything I can help with? |
Hi! Sorry, forgot about this. I sometimes notice this too, especially when making the window narrow -- I guess Gtk sometimes think it needs to have more space than truly needed. Otherwise saving and restoring the values seems to work! So maybe the window manager is messing with the size here? I'll still have to fix a little something, right now the sizes are not saved when quitting using Quit/<Ctrl>Q |
Just to be clear, are you observing significant differences in window sizes? I can't tell from OP's gif |
I don't wanna sound dumb but how can I save the values 😅😅
OPs gif is so mysterious 😂 I think there is no proper screen recorder for elementary, that could be why it looks potato. Back to your question, yes, window sizes change radically between sessions under X11, on wayland not so much. If I force the app to use Adwaita via Flatseal, it doesn't change much. Libadwaita could be causing this but I am out of ideas. |
No worries, I meant the thing we tested where the values were updated in gsettings! But yeah, if it's down to a Wayland/X11 thing or a DE specific, I fear I won't want to look too hard into it... 😄 I'll push a fix for the size not being persisted when quitting, not closing the window. |
Almost forgot... again... but I pushed the small fix I mentioned As for the random resizing, I am not really willing to investigate it much further if all it does is get the size wrong by a small amount, especially if it's some tricky Gtk resizing behavior or a DE issue |
Whether it is fixed or not, it is a great application. Thank you! |
I am pretty sure this is a gtk issue specific to x11 |
Describe the bug
Spot resizes itself every time it is opened.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
It will remember the window size.
Screenshots
General information:
Stack trace:
If applicable, run the application from a terminal and paste relevant log output.
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: