Skip to content
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

[Bug]: The window can be resized to hide UI elements #719

Open
kdwk opened this issue Dec 26, 2023 · 3 comments
Open

[Bug]: The window can be resized to hide UI elements #719

kdwk opened this issue Dec 26, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@kdwk
Copy link

kdwk commented Dec 26, 2023

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

  1. Open Tuba
  2. Keep resizing the window to make it thinner
  3. 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

@kdwk kdwk added the bug Something isn't working label Dec 26, 2023
@GeopJr
Copy link
Owner

GeopJr commented Dec 26, 2023

Unless you can figure out which post refuses to wrap, all I can do is close this as duplicate of #359

@kdwk
Copy link
Author

kdwk commented Dec 26, 2023

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.

@GeopJr
Copy link
Owner

GeopJr commented Dec 26, 2023

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants