-
-
Notifications
You must be signed in to change notification settings - Fork 720
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
Pango Markup Not Correctly Rendered in Tooltip #3375
Comments
I have ran a simple |
Have you checked whether this is still happening with 0.10.3? I'm thinking a453ea3 might have fixed it, which is included in 0.10.3. |
Nope, still |
OK, it works for me. I'm using a limited repro.
Could you kindly share your config? |
Found a small problem in my config, I accidentally add Thx for you time. |
No problem, that explains it :) good to hear it's working now. |
Sorry to reopen this, but I just encounter the same issue when I migrate this custom spotify widget into "mpris": {
"interval": 1,
"format": "{status_icon} {artist} - {title}",
"format-stopped": "",
"tooltip-format": "<b>{player}</b>\n{title} {position}/{length}\n{artist} - {album}",
"tooltip-format-stopped": "",
"status-icons": {
"playing": "",
"paused": "",
"stopped": "",
},
}, This happens on both waybar v0.10.3 (from Arch Linus Packages) and the latest commit 15e1547 . @RobertMueller2 Can you reproduce this? |
Yes. Mpris is using Waybar/src/modules/mpris/mpris.cpp Line 726 in 15e1547
Somebody would have to change that. That doesn't look difficult for the mpris module. And then the next issue is about the taskbar module, or the battery module, or.... ;) The challenge here is to do it as centrally as possible, perhaps in AModule, and then achieve a sensible result for all 44 places in the modules that set a tooltip. They might even have different config options for formatting, which could break existing configs. The tooltip content generation has to remain within the modules, because that's very specific, but whether markup is used or text could be in AModule based on a config option. |
HTML/Pango Markup in tooltip is not rendered correctly in waybar 0.10.2.
For example, I have a spotify module that prints this to output:
This is how the tooltip is rendered in v0.9.24 (Spotify ...):
However, these markup tags are ignored and print out in v0.10.2 (<b><u>Spotify<\u><\b> ...):
And I think this may be related to issues that(just checked, not related)calendar
tooltip of theclock
module is not correctly aligned when using CJK locale (e.g. #3132 and #1321 (comment)) since it works fine in v0.9.24.The text was updated successfully, but these errors were encountered: