Feature request: Add rich text support back #1225
Replies: 4 comments
-
I gave it a shot again, yesterday. Theres no easy solution to provide rich text and text elision. Also there is no solutoin on how to use the colors provided by the theme. I am not sure on how proceed with this one. |
Beta Was this translation helpful? Give feedback.
-
I don't know much about Qt. If this was HTML I'd just use CSS for both. I'm guessing you tried that already and Qt doesn't support CSS that well. I tried to restore part of your previous code in If this isn't possible, will it be reasonable then for an option to choose to have rich text while ignoring text elision and theme colors? |
Beta Was this translation helpful? Give feedback.
-
it does somehow but it is cumbersome because it passes through QStyle which is not that trivial and not well documented. also its purpose lies somewhere else (platform look n feel).
not in an easy well generalizing way. iguess ill tinker with that in the future but for now plaintext is way more robust and "pretty" in the sense that is does not break the ui |
Beta Was this translation helpful? Give feedback.
-
Moved to the wishlist. |
Beta Was this translation helpful? Give feedback.
-
I see in https://github.com/albertlauncher/albert/blob/5694e94d02cd8c9a065b8bbdb5c1587b42c763d0/CHANGELOG.md that rich text support got removed.
This really reduces the expressiveness of a plugin.
For example, in my custom Arch Linux packages search plugin for the previous version of Albert Launcher. I added red text to indicate a package is out-of-date. The code I used was:
I also used italic text in some other plugins to deemphasize text.
Could this be added back for plugins, especially Python plugins?
Beta Was this translation helpful? Give feedback.
All reactions