Page 1 of 1

0.85 Linux: Double sized qt UI on Xubuntu

Posted: Fri Apr 07, 2017 3:31 pm
by juozas
XnView: MP 0.85 - 64 bit
OS: Linux 64bit
Display card: Nvidia Geforce 210, NVidia driver version 340.102,
Monitor: Samsung tv (Model: UE19ES4000W) @ 1366x768, connected using Hdmi

UI of XnviewMP on Xubuntu is double sized, including first run dialog. The DPI handling of qt might be incorrect.

Effect: Too large icons, menus, unable to reach some settings, something might become inaccessible later.

To reproduce:
1. Install/Update Xnview 0.85 (64bit deb package)
2. Run program

Actual behaviour (bug): Icons, Menus, etc are too large, QT_AUTO_SCREEN_SCALE_FACTOR=1 env. variable has no effect, QT_AUTO_SCREEN_SCALE_FACTOR=0.5 works :bug:

Expected behaviour: DPI Scalling should be correct, UI should not be oversized, like in previous version

p.s. tried on virtual machine, could not reproduce, as it works ok there. dunno what package(s) needed to be installed/removed to fix it
Update: Tried on latest xubuntu live cd; installed 64 bit deb, still affected. Might be hardware related issue, dunno. Both nouveau and nvidia drivers affected, reinstall of os didn't help. Also added display information.

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Posted: Fri Apr 07, 2017 6:43 pm
by xnview
you have a HiDPI screen?

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Posted: Sat Apr 08, 2017 3:04 am
by juozas
I don't think so, probably not. The Xfce dpi setting on my xubuntu is 96 DPI, Samsung TV (Model UE19ES4000W) is @ 1366x768 (24bit color), Display Card is Nvidia Geforce 210, Nvidia driver version is 340.102.

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Posted: Sat Apr 08, 2017 7:10 am
by xnview
and you can't reproduce on a virtual machine with xubuntu?

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Posted: Sat Apr 08, 2017 7:19 am
by juozas
No I could not on neither of my xubuntu virtual machines (one normal other minimal custom), also I don't know what package might cause this.

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Posted: Sat Apr 08, 2017 9:14 am
by xnview
ok, i'll disable dpi scaling on linux

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Posted: Thu Apr 27, 2017 10:59 am
by xnview
This problem is supposed to be fixed in XnView MP 0.86. Please check and confirm the bug fix here.

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Posted: Thu Apr 27, 2017 1:05 pm
by juozas
I confirm that Version 0.86 works ok on my linux installation. Thanks for the fix :D