albertlauncher / albert

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

Needs to scale with HighDPI screens #250

Closed alshdavid closed 8 years ago

alshdavid commented 8 years ago

Environent

Ubuntu 16.04 Gnome 3.18 Albert version:. 0.8.0

Steps to reproduce

How did you discover this issue?

Using a high DPI monitor

Expected behaviour

What did you expect to happen?

Application to scale with OS set scaling

Actual behaviour

What happened instead?

Application did not scale making text and icons very small

ManuelSchneid3r commented 8 years ago

@alshdavid Screenie please. I guess I cant help you though. This is up to the toolkit. You have to configure Qt to scale.

ManuelSchneid3r commented 8 years ago

@alshdavid Can you please share a screenshot?

shreve commented 8 years ago

It shows up uncomfortably small on my laptop. It would be nice if scaling was just an appearance setting because I'm not even sure how big I'd like it to be. My Experience

ManuelSchneid3r commented 8 years ago

Well looks not that bad to me. Did you set large system fonts? This looks weird not standard dpi but not a hidpi setting as well. You could eiter scale Qt (google a bit) or adjust the fonts in the stylesheets to your liking. I guess I have to make a wiki entry for the latter. However this is not an issue of albert, so wontfix.

shreve commented 8 years ago

@ManuelSchneid3r I didn't realize I could tweak with my own styles. A little info on that in the wiki would be greatly appreciated. Thanks for your work on Albert!

skylarmb commented 7 years ago

EDIT: Was able to make Albert larger by running it with QT_SCALE_FACTOR=2 /usr/bin/albert on Fedora 25. When making a startup entry (.desktop file), I think the = in the above command was causing it to not start albert at all, so I just put that command in a separate script and had the autostart entry run my script.

tchotchke87 commented 7 years ago

Running Albert from terminal with QT_SCALE_FACTOR=2 /usr/bin/albert doesn't make it larger on Elementary OS. Do I need to install something for the command to work?

ManuelSchneid3r commented 7 years ago

@tchotchke87 1. We cant help you without context information. 2. Do not write into other issues. 3 Don't abuse the issue tracker as support forum. Check https://albertlauncher.github.io/help/

ManuelSchneid3r commented 7 years ago

@tchotchke87 Does export QT_AUTO_SCREEN_SCALE_FACTOR=1 work?

ManuelSchneid3r commented 7 years ago

@tchotchke87 Looks like Qt supports HiDPI not until 5.6