albertlauncher / albert

A fast and flexible keyboard launcher
https://albertlauncher.github.io
Other
7.26k stars 305 forks source link

Hardcoded subtext/tooltip font size #588

Closed simonkrogmann closed 6 years ago

simonkrogmann commented 6 years ago

The font size of the subtext/tooltip is hardcoded to be 12 in plugins/widgetboxmodel/src/resultslist.cpp, line 219 and therefore cannot be changed in themes. This looks particularly weird if the font size of the application name is large.

ManuelSchneid3r commented 6 years ago

Yes thats a known limitation of the widgets frontend. Ideas for fixes (not workarounds) are highly appreciated.

ManuelSchneid3r commented 6 years ago

Hmm although I dont like to close unfixed issues I'll do it here. This is a known limitation and one of the reasons I started using QML. Making it customizable would need to either introduce ugly workarounds that no future dev would understand or change the entire styling system to something homebrewed like e.g. telegram implements. I think I wont change this. Please use the QML frontend for full customizablility.

kaanklky commented 6 years ago

Hey @ManuelSchneid3r, I'm trying to customize my albert theme and I couldn't change the subtext's font size and I couldn't find any key to access to subtext element from QML too. Is compiling from source the only way to change subtext font size? or are there any way to hide subtext?

ManuelSchneid3r commented 6 years ago

@kaanklky https://www.youtube.com/watch?v=aCyB3ZngbLk

kaanklky commented 6 years ago

@ManuelSchneid3r The albert which I'm using don't have customize button, v0.14.21. :thinking:

ManuelSchneid3r commented 6 years ago

This is support come to the chats listed in the help section of the website.

balta2ar commented 6 years ago

Please use the QML frontend for full customizablility

Unfortunately, QML is not usable for me on both of my systems (Ubuntu 16, ArchLinux) due to the flickering caused by bugs mentioned here (https://github.com/albertlauncher/albert/issues/516) which albert can't fix.

ManuelSchneid3r commented 6 years ago

Actually I use it on arch with a intel IGP and it works pretty well meanwhile. one of the recent qt version made this way better. the issue is still there though, but it is at least getting some attention on qts bug tracker.

balta2ar commented 6 years ago

GeForce GTX 580 here, though it's a bit outdated (to the point where I had to switch to 390xx graphics drivers legacy branch. "legacy", duh! I can remember the day when I bought this video card!), and something integrated (probably some Intel) on another machine.

Hm, I keep the packages up to date and I haven't noticed any recent changes... I occasionally switch to QML model and try it, but flickering is still there.

Attention is good, I subscribed to the updates and voted for it, but frankly, I wouldn't set my hopes high on fixing this bug in Qt. I've encountered Qt bugs that haven't been fixed in years. Not blaming anyone, just being a bit sceptical about their pace and area of interest.