Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Older bugs which are supposed to be fixed in 0.84. *** Please try to reproduce your bug and confirm the bug fix. ***

Moderators: XnTriq, helmut, xnview, Dreamer

rdomak
Posts: 2
Joined: Fri Oct 02, 2020 8:39 am

Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by rdomak »

I just installed the latest XNVMP Version 0.97.0 64bits (Sep 23 2020) on my Win10 notebook with 1920x1080 resolution.
I use the screen with 150% scaling and the UI of XNView is almost unusable, longer menus are truncated, buttons on the bottom of menus aren't visible and in general the displayed content on the screen is just too large.
If I switch to 125% then everything becomes suddenly miniscule, way too small again for normal use.

I attached screenshots of both modes - nothing was changed in the layout and you can see how it's out of proportions.
The previous version on my computer was OK (I cannot recall unfortunately, which was the last one but I'm not sure that I did update lately).
Attachments
XNV MP - 150pct scaling screenshot.png
XNV MP - 125pct scaling screenshot.png
rdomak
Posts: 2
Joined: Fri Oct 02, 2020 8:39 am

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by rdomak »

I post also a screenshot with the View menu open on 150% display scaling.
Attachments
XNV MP - 150pct scaling screenshot 2.png
hubert
Posts: 12
Joined: Wed Jul 08, 2009 6:42 pm

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by hubert »

Hi,

its the same on a 4k Monitor, Resolution 3840x2160, scaling 150%. The problem occured imeediately after the update ...

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

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by xnview »

you have not that with 0.96.x?
Pierre.
sinusq
Posts: 3
Joined: Thu Apr 30, 2020 10:27 am

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by sinusq »

I also have this issue on 97.1, I didnt have it on 94 (or 96)
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by xnview »

sinusq wrote: Wed Oct 14, 2020 6:26 pm I also have this issue on 97.1, I didnt have it on 94 (or 96)
Currently i check with Qt Team
Pierre.
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by xnview »

sinusq wrote: Wed Oct 14, 2020 6:26 pm I also have this issue on 97.1, I didnt have it on 94 (or 96)
Ok, i found the culprit. Please try to start

Code: Select all

xnview -noDpiScaling
Pierre.
Cheeling
Posts: 5
Joined: Fri Jan 01, 2021 6:42 am

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by Cheeling »

xnview wrote: Fri Oct 16, 2020 1:04 pm
sinusq wrote: Wed Oct 14, 2020 6:26 pm I also have this issue on 97.1, I didnt have it on 94 (or 96)
Ok, i found the culprit. Please try to start

Code: Select all

xnview -noDpiScaling
That's not a perfect solution. Opening with this argument will make toolbar icons look as small as 100% scale. The image below is opening XnViewMP under 4k 15.6inch monitor using this argument.
4k.jpg
Also, open XNV by double clicking an image cannot use this argument.
alexantr
Posts: 6
Joined: Wed Mar 13, 2019 2:50 pm

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by alexantr »

I'm using 4K display with 150% scaling. Since 0.97 XnViewMP has extremely large UI (pic 1). If I add env variable QT_AUTO_SCREEN_SCALE_FACTOR with value "0", XnViewMP looks great like with noDpiScaling (pic 2). But I think QT_AUTO_SCREEN_SCALE_FACTOR is bad solution, because other apps with Qt 5.15 (qBittorrent, Shotcut) on my PC work normal without this variable.
Attachments
pic 2
pic 2
pic 1
pic 1
alexantr
Posts: 6
Joined: Wed Mar 13, 2019 2:50 pm

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by alexantr »

I see that noDpiScaling does not completely disable scaling. With this argument XnViewMP looks normal scaled like all other applications. Without noDpiScaling XnViewMP adds unnecessary extra scaling. Maybe Qt makes all work and noDpiScaling must be enabled by default.
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by xnview »

:bugconfirmed: Thanks to your detailed description I can reproduce the problem.
Pierre.
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by xnview »

This problem is supposed to be fixed in XnView MP 0.98.1. Please check and confirm the bug fix here.
Pierre.
AmeliaZ
Posts: 3
Joined: Fri Feb 05, 2021 6:38 pm

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by AmeliaZ »

xnview wrote: Thu Jan 21, 2021 8:23 am This problem is supposed to be fixed in XnView MP 0.98.1. Please check and confirm the bug fix here.
My system is Windows 10 version 20H2, scaling is 125%, image samples below:

Original image
Image

XnView Classic 2.49.5
Image

XnView MP 0.98.1
Image

XnView MP 0.98.1 (with "Zoom on HiDPI screen" off)
Image
User avatar
xnview
Author of XnView
Posts: 43442
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by xnview »

'Zoom on HiDPI screen' should be off by default
Pierre.
AmeliaZ
Posts: 3
Joined: Fri Feb 05, 2021 6:38 pm

Re: Scaling problem on Win10 for XNVMP - Version 0.97.0 64bits (Sep 23 2020)

Post by AmeliaZ »

xnview wrote: Fri Feb 05, 2021 7:18 pm 'Zoom on HiDPI screen' should be off by default
But with "Zoom on HiDPI screen" off, the image is still blurry, unlike XnView Classic and other image viewers.
Post Reply