0.85 Linux: Double sized qt UI on Xubuntu

Reported bugs that have been closed and/or resolved

Moderators: XnTriq, xnview, Dreamer

Post Reply
User avatar
juozas
Posts: 13
Joined: Sun Sep 27, 2009 11:42 am
Location: Lithuania
Contact:

0.85 Linux: Double sized qt UI on Xubuntu

Post by juozas » Fri Apr 07, 2017 3:31 pm

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.
Last edited by juozas on Sat Apr 22, 2017 9:16 am, edited 2 times in total.
Сделано в СССР

User avatar
xnview
Author of XnView
Posts: 31741
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Post by xnview » Fri Apr 07, 2017 6:43 pm

you have a HiDPI screen?
Pierre.

User avatar
juozas
Posts: 13
Joined: Sun Sep 27, 2009 11:42 am
Location: Lithuania
Contact:

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Post by juozas » Sat Apr 08, 2017 3:04 am

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.
Сделано в СССР

User avatar
xnview
Author of XnView
Posts: 31741
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Post by xnview » Sat Apr 08, 2017 7:10 am

and you can't reproduce on a virtual machine with xubuntu?
Pierre.

User avatar
juozas
Posts: 13
Joined: Sun Sep 27, 2009 11:42 am
Location: Lithuania
Contact:

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Post by juozas » Sat Apr 08, 2017 7:19 am

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.
Сделано в СССР

User avatar
xnview
Author of XnView
Posts: 31741
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Post by xnview » Sat Apr 08, 2017 9:14 am

ok, i'll disable dpi scaling on linux
Pierre.

User avatar
xnview
Author of XnView
Posts: 31741
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Post by xnview » Thu Apr 27, 2017 10:59 am

This problem is supposed to be fixed in XnView MP 0.86. Please check and confirm the bug fix here.
Pierre.

User avatar
juozas
Posts: 13
Joined: Sun Sep 27, 2009 11:42 am
Location: Lithuania
Contact:

Re: 0.85 Linux: Double sized qt UI on Xubuntu

Post by juozas » Thu Apr 27, 2017 1:05 pm

I confirm that Version 0.86 works ok on my linux installation. Thanks for the fix :D
Сделано в СССР

Post Reply