-
-
Notifications
You must be signed in to change notification settings - Fork 735
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
waybar height changes to accomodate unicode emojis in window titles #2026
Comments
@Alexays Please address this issue. I can confirm that it messes with sway positioning. It causes all windows to resize. And the worst of all, it occasionally causes my chromium based browser (brave) to freeze when a tab has unicode character that cause the bar to resize to accommodate it. It is just problematic. |
Found a workaround. Setting a negative margins to a module |
Your microphone emoji doesn't trigger this bug for me. But this one does:
|
@Kacper-Kondracki, it works, but the tray icons disappear for some reason. |
Did anyone try some other solutions? |
I also observe this behavior. For example when listening to JARYMANE mixes on YouTube. They use a weird symbol in the video titles. For now, thanks @Kacper-Kondracki . But I would happily welcome a more mature solution. |
The workaround does indeed help (applied it to It feels like a hack, though. This rather annoying issue should be addressed at systems level -- there should be no physical way for styling/contents to change bar geometry. |
The height of the window title text sometimes causes waybar's height to increase (from 17px to 24px in this case). This messes with positioning with sway and such. There should be an option for the height to be fixed, even if it means some text might overflow.
Example emoji that does it: 🎙
Example style.css
Fwiw I could only find two fonts that this is an issue with, Sarasa Gothic, Noto Sans Mono and Iosevka. But waybar's height should remain the same regardless of what the modules do if that's what the user wants.
The text was updated successfully, but these errors were encountered: