[Bug]: The window can be resized to hide UI elements
kdwk opened this issue · comments
Describe the bug
The window can be resized such that some buttons are out of frame, instead of the UI performing relayouts to adapt to the new size
Steps To Reproduce
- Open Tuba
- Keep resizing the window to make it thinner
- Observe UI elements
Logs and/or Screenshots
Screencast.from.2023-12-26.12-21-01.webm
Instance Backend
Mastodon
Operating System
Fedora Silverblue 39
Package
Flatpak
Troubleshooting information
os: GNOME 45 (Flatpak runtime)
prefix: /app
flatpak: true
version: 0.6.1 (production)
gtk: 4.12.4 (4.12.4)
libadwaita: 1.4.2 (1.4.2)
libsoup: 3.4.4 (3.4.4)
libgtksourceview: 5.10.0 (5.10.0)
Additional Context
No response
Unless you can figure out which post refuses to wrap, all I can do is close this as duplicate of #359
I'm not sure I understand. The whole UI is not adapting to the window size changes. For example the New Post button in the bottom right corner will not move with the right edge of the window, so when the window is resized the New Post button will be clipped out and will disappear.
This is due to one of the posts' LabelWithWidgets not wrapping / having a min width. Usually this would also make the window's minimum width same as the content's but (not sure) libadwaita's new AdwToolbarView, NavigationView does what you are experiencing so mobile devices don't deal with huge window widths due to it
This has happened a lot but unless I get the posts causing it I can't really debug it (#632, #626 and many other instances not reported here)