Page 1 of 1

Batch Convert UI element density decreased?

Posted: Fri Oct 14, 2022 2:38 am
by Litr
Hello.

I dont know if this is intended change or not but i suddenly noticed that XnView MP Batch Convert UI is way more... spacious vs XnConvert UI? I am not sure when this change was made, but surely >1.3

The UI looks pretty much identical (some icons got bigger and this is not a bad thing at all) but can contain ~30% less UI elements on screen if you look at action list. Also every border in this window got some padding around them and check-boxes looks somewhat corrupted in newer version.

Even if you look at Output page you can see these weird paddings.

If this is not intended change, then maybe you can fix/adjust it?

On a side note... PERHAPS it is only related to Windows 10? But i dont have Windows 11 on my PC yet... :|

Re: Batch Convert UI element density decreased?

Posted: Fri Oct 14, 2022 9:17 am
by xnview
i've tried XnConvert 1.95 & XnView MP 1.3.1 and batch convert has same UI&size

Re: Batch Convert UI element density decreased?

Posted: Sat Oct 15, 2022 4:28 pm
by Litr
xnview wrote: Fri Oct 14, 2022 9:17 am i've tried XnConvert 1.95 & XnView MP 1.3.1 and batch convert has same UI&size
It looks like everything is tied to the Windows scale mode or display resolution/scale combo, on a 4K screen with 150% scale XnConvert looks just as good as with 100% and XnView will have more space between UI elements, and at 200% it is even worse.

Re: Batch Convert UI element density decreased?

Posted: Mon Oct 17, 2022 11:56 am
by xnview
Right when you use fonte scaling. You can disabled it by setting environment variable

Code: Select all

QT_ENABLE_HIGHDPI_SCALING=0
or starting xnview -noDpiScaling

Re: Batch Convert UI element density decreased?

Posted: Mon Oct 17, 2022 4:09 pm
by Litr
xnview wrote: Mon Oct 17, 2022 11:56 am Right when you use fonte scaling. You can disabled it by setting environment variable

Code: Select all

QT_ENABLE_HIGHDPI_SCALING=0
or starting xnview -noDpiScaling
Can you add this option to the INI someday?

I have other QT programs and they look good with default scale so i dont want to change it globally, and i cannot find the way to use -noDpiScaling when you launch files with double click...

On a side note that QT UI scaling is done really weird - it does not affects font height but stretches them a little horizontally, barely affects buttons and menus, but adds really noticeable padding around all these UI elements and window borders. So they went with a very strange selective per-UI-element scaling instead of using proportional whole-window scaling... :?

Re: Batch Convert UI element density decreased?

Posted: Mon Oct 17, 2022 6:02 pm
by xnview
you can add parameters for XnViewMP shortcut

Re: Batch Convert UI element density decreased?

Posted: Tue Oct 18, 2022 8:30 am
by user0
Litr wrote: Mon Oct 17, 2022 4:09 pm On a side note that QT UI scaling is done really weird - it does not affects font height but stretches them a little horizontally, barely affects buttons and menus, but adds really noticeable padding around all these UI elements and window borders. So they went with a very strange selective per-UI-element scaling instead of using proportional whole-window scaling... :?
+1
Another example (win10, 150% scale, 4k[3840x2160] display):
regular start
add_text_win150_scale.png
started with -noDpiScaling
add_text_win150_scale_noDpiScaling.png

Suggestion
It does not bother me much to be honest and I'm not sure if perfect result is achievable with Qt at all.

But to simplify things, maybe just allow user to modify some Qt High DPI settings via GUI in Settings, e.g.:
- QT_AUTO_SCREEN_SCALE_FACTOR
- QT_SCALE_FACTOR
- QT_SCREEN_SCALE_FACTORS

For example, in Settings -> Interface:
- add "Enable High DPI Scaling" checkbox (enabled by default)
- add some dropbox with windows scale factors (get currect win value by default)
- etc

Re: Batch Convert UI element density decreased?

Posted: Tue Oct 18, 2022 9:00 am
by XnTriq