Jas-SinghFSU / HyprPanel

A Bar/Panel for Hyprland with extensive customizability.
434 stars 30 forks source link

Bar overflow moves notifications off screen #32

Closed smathles closed 1 month ago

smathles commented 1 month ago

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: snapshot_2024-07-29_12-20-28

Bad behaviour: snapshot_2024-07-29_12-21-07

Desktop (please complete the following information):

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.

orxngc commented 1 month ago

This appears to be the same issue as #28 .

smathles commented 1 month ago

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.

image

Note that despite the bar overflow still happening, the panel is now correctly inside the screen as per pull #49.