Tuba
Tuba copied to clipboard
[Bug]: Window shrinks when un-maximized under X11 with fractional scaling
Describe the bug
In an X11 session with fractional scaling, each time you maximize and un-maximize the main window, its width decreases slightly (until it can't anymore at 360 px).
Steps To Reproduce
- Start an X11 session
- Set display scaling to any value that isn't a multiple of 100%
- Open app
- Resize main window to any width above the minimum
- Maximize
- Un-maximize
Instance Backend
Mastodon
Operating System
Pop!_OS 22.04
Package
Flatpak
Can't reproduce, please give me your troubleshooting information
I don't really have too much more troubleshooting information on this. From further testing, I did find that this only happens with fractional scaling enabled under X11, which generally seems to cause a lot of issues with many apps. In any case, I'll update this issue to reflect this.
Does it happen with other GTK4 apps? (specifically with the latest runtime)
We don't really do anything when maximized toggles on Tuba. If it happens to other apps as well, it might be worth reporting upstream but honestly I'm not sure to which project.
Some vaguely similar issues:
- https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1603
- https://gitlab.gnome.org/GNOME/gnome-terminal/-/issues/44#note_431241
- https://gitlab.gnome.org/GNOME/mutter/-/issues/1122
- https://bugs.launchpad.net/ubuntu/+source/mutter/+bug/1884754
Not with any other apps on my system, including current flatpaks for Gnome Weather, Calendar and Contacts. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/1603 looks very similar to what I'm seeing, but I don't have the issue with Nautilus (though I am running the older version that is included with Pop OS). Definitely could be an upstream issue though.