I discovered: Initially, I had set environment variables in .bashrc for
manually triggering the UI scaling of Qt5, Java, etc. During debugging
of this issue (as instructed above) I **commented them out** and after
loout/login, the incorrect UI scale persisted.

Now I noticed that QT_DEVICE_PIXEL_RATIO=2 and QT_AUTO_SCREEN_SCALE_FACTOR=2 
were still set automatically during the boot/login process. Instead of 
commenting them out, I then set them to 1 in ~/.bashrc but they still were 
overriden.
QT_DEVICE_PIXEL_RATIO=1
QT_AUTO_SCREEN_SCALE_FACTOR=1
GRID_UNIT_PX=20

Then I set them in ~/.profile and they were not overriden. Moreover, the
unity8 session (8.14+16.10.20160922-0ubuntu2) renders in the correct
scale and digikam (5.4.0, Qt 5.7.0) as well. It seems like a Qt API
break so that not only these variables are not needed anymore for new
programs, but their presence now has the inverse effect.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1642272

Title:
  Incorrect UI scale on high-resolution desktop (everything is gigantic)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1642272/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to