Closed smathles closed 1 month ago
This appears to be the same issue as #28 .
I'm still experiencing this bug, after pull #49 even if only on higher scaling. I don't think it's quite the same thing as #28, as I can confirm that #28 is completely solved by this (even when the notifications icon is pushed halfway off the screen, the popup works correctly). I think that the notification widget should be restricted from movement somehow, as I can still overflow it.
Note that despite the bar overflow still happening, the panel is now correctly inside the screen as per pull #49.
Describe the bug When a particularly long window name is encountered, filling all the available bar space, HyprPanel prefers to start pushing bar entries (such as the notifications icon) off of the screen instead of only displaying a portion of the window name.
To Reproduce Use default bar configuration (on some monitors at least), open a long-named window.
Expected behavior I would expect for very long-named windows, HyprPanel would prefer shortening the displayed name instead of pushing entries off of the screen.
Screenshots Good behaviour:
Bad behaviour:
Desktop (please complete the following information):
$GTK_SCALING
is not set to anything.Additional context You can do a dirty workaround by removing battery percentage status, date from widgets etc, and more space appears. Definitely a stopgap solution though.