This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Dual screen interface problem

Tags: None
(comma "," separated)
User avatar
mcoudert
Registered Member
Posts
118
Karma
1
OS

Dual screen interface problem

Wed Jun 06, 2018 7:38 am
Hello there,

I have a little problem with the Krita interface, maybe someone will have a solution... (i'm french, sorry if my english is not correct)

I'm on Windows 10 64bits april update and I have 2 monitors :
- a new one, which is a 28 " 4k display (3840x2160) : it's my main monitor. Windows "recommand" me to change the scale of the text at 150% on it. i did it because it was too small at 100%.
- the second screen is a Huion tablet display (1920x1080) that i used for drawing with Krita. The scale of text is 100% on this one.

My problem is that some part of the interface of Krita seem to be scaling at 150% (the checkbox, the tools icons display on the canvas (color picker for example), the tools option docker in free transform...) even if Krita is launch on the Huion display which is at 100%.

I think that Krita uses the scale parameter of the main monitor, not the monitor it's launch on... is it a way to change this somewhere? to force Krita not use the scale parameter or something...

PS : i think that if i make the Huion my main screen, it will work but i prefer to keep the other one my main because i don't display the task bar on the second to have more room to draw... :)

Thanks in advance.


XP-Pen Artist Pro 24 - Windows 10
User avatar
halla
KDE Developer
Posts
5092
Karma
20
OS

Re: Dual screen interface problem

Wed Jun 06, 2018 11:49 am
You should be able to avoid any scaling by unchecking the HiDPI checkbox in Krita's settings.
User avatar
mcoudert
Registered Member
Posts
118
Karma
1
OS

Re: Dual screen interface problem

Wed Jun 06, 2018 12:36 pm
boudewijn wrote:You should be able to avoid any scaling by unchecking the HiDPI checkbox in Krita's settings.


Thanks for your time Boudewijn, but this settings is not checked... ;)

I've tried differents approach :
- if i used the huion as the primary/main screen, there is no problem. but i don't want to use it this way...
- i found a parameter in Windows in the "krita.exe" properties. There is an option to let the application not using the ppp. if i set this parameter to :
1. "Application" : all the interface of Krita goes at 150% (menu, boutons...)
2. "System" or "system (improved) : it seems to be fine, everythings seems to be at the correct scale but the "menus" doesn't appear anymore (dropdown menu, dropdown list...)

I've notice something that might be interresting for you/dev, the wrong scale does not apply to the all interface, just for some "objects" :
- menus/dropdown menus are ok,
- dockers titles are ok,
- icons in the toolbox are ok (for these, we can choose the size so no problem with them),
- checkboxes are bigger,
- in the toolbars icons are bigger, textinput of opacity, flow and size are bigger,
- in the Tool Options docker for exemple: labels are ok but buttons and text inputs are bigger.

PS : this is not a big issue, i can deal with it ;) i know you have a lot to work on soo... if it's not interresting for you to have this feedback, just tell me and if you want more infromations or screenshot, tell me too.


XP-Pen Artist Pro 24 - Windows 10
User avatar
TKL-Ansi
Registered Member
Posts
42
Karma
0
OS

Re: Dual screen interface problem

Wed Jun 06, 2018 5:03 pm
Bonjour, :)

don't know if it helps, but you may want to play around with the QT_SCALE_FACTOR.

Start krita on the command line and try factors between 1 and 2.

For example:
Code: Select all
C:\Program Files\Krita (x64)\bin>set QT_SCALE_FACTOR=1.3 krita


:wq
User avatar
mcoudert
Registered Member
Posts
118
Karma
1
OS

Re: Dual screen interface problem

Wed Jun 06, 2018 7:03 pm
TKL-Ansi wrote:Bonjour, :)

don't know if it helps, but you may want to play around with the QT_SCALE_FACTOR.

Start krita on the command line and try factors between 1 and 2.

For example:
Code: Select all
C:\Program Files\Krita (x64)\bin>set QT_SCALE_FACTOR=1.3 krita


Hello, sorry, i don't understand how to launch Krita with this parameter? i have to modify a config file? or just launch krita.exe after setting this parameter?


XP-Pen Artist Pro 24 - Windows 10
User avatar
mcoudert
Registered Member
Posts
118
Karma
1
OS

Re: Dual screen interface problem

Wed Jun 06, 2018 7:26 pm
here is the screenshot

Image


XP-Pen Artist Pro 24 - Windows 10
alvinwong
Registered Member
Posts
117
Karma
0
OS

Re: Dual screen interface problem

Wed Jun 06, 2018 8:20 pm
mcoudert wrote:- i found a parameter in Windows in the "krita.exe" properties. There is an option to let the application not using the ppp. if i set this parameter to :
1. "Application" : all the interface of Krita goes at 150% (menu, boutons...)
2. "System" or "system (improved) : it seems to be fine, everythings seems to be at the correct scale but the "menus" doesn't appear anymore (dropdown menu, dropdown list...)

You should leave this compatibility setting in its default condition (i.e. unchecked) because it doesn't really do anything better than what's already in place. If all you want is for Krita to scale normally on your second monitor (the Huion), just tick the "Enable Hi-DPI" checkbox in the Krita settings. 100% scaling works perfectly OK.
User avatar
mcoudert
Registered Member
Posts
118
Karma
1
OS

Re: Dual screen interface problem

Wed Jun 06, 2018 8:38 pm
alvinwong wrote:
mcoudert wrote:- i found a parameter in Windows in the "krita.exe" properties. There is an option to let the application not using the ppp. if i set this parameter to :
1. "Application" : all the interface of Krita goes at 150% (menu, boutons...)
2. "System" or "system (improved) : it seems to be fine, everythings seems to be at the correct scale but the "menus" doesn't appear anymore (dropdown menu, dropdown list...)

You should leave this compatibility setting in its default condition (i.e. unchecked) because it doesn't really do anything better than what's already in place. If all you want is for Krita to scale normally on your second monitor (the Huion), just tick the "Enable Hi-DPI" checkbox in the Krita settings. 100% scaling works perfectly OK.


Thanks for the response alvinwong. sure, i've cancelled the change on compatibility settings. The problem is on my second monitor which is not 4k, if i check "enable dpi" in the Krita settings, it change all the interface and everything is too small.
If i set my Huion screen as the main screen, everything is fine... As i said, it is just some widgets on the interface that are not affect correctly and displaying bigger than normal (see the screenshot : checkbox and some buttons), the other parts are displaying fine.


XP-Pen Artist Pro 24 - Windows 10
User avatar
TKL-Ansi
Registered Member
Posts
42
Karma
0
OS

Re: Dual screen interface problem

Wed Jun 06, 2018 9:14 pm
mcoudert wrote:Hello, sorry, i don't understand how to launch Krita with this parameter? i have to modify a config file? or just launch krita.exe after setting this parameter?

command line.

if you really want to give it a try,

on the windows desktop:
hit 'win_key + r'

type:
Code: Select all
cmd


change to krita's directory:
Code: Select all
cd c:\Program Files\Krita (x64)\bin


1.3 is just an example, see prev. post.
Code: Select all
set QT_SCALE_FACTOR=1.3


start krita:
Code: Select all
krita


:wq
alvinwong
Registered Member
Posts
117
Karma
0
OS

Re: Dual screen interface problem

Wed Jun 06, 2018 9:32 pm
mcoudert wrote:
alvinwong wrote:
mcoudert wrote:- i found a parameter in Windows in the "krita.exe" properties. There is an option to let the application not using the ppp. if i set this parameter to :
1. "Application" : all the interface of Krita goes at 150% (menu, boutons...)
2. "System" or "system (improved) : it seems to be fine, everythings seems to be at the correct scale but the "menus" doesn't appear anymore (dropdown menu, dropdown list...)

You should leave this compatibility setting in its default condition (i.e. unchecked) because it doesn't really do anything better than what's already in place. If all you want is for Krita to scale normally on your second monitor (the Huion), just tick the "Enable Hi-DPI" checkbox in the Krita settings. 100% scaling works perfectly OK.


Thanks for the response alvinwong. sure, i've cancelled the change on compatibility settings. The problem is on my second monitor which is not 4k, if i check "enable dpi" in the Krita settings, it change all the interface and everything is too small.
If i set my Huion screen as the main screen, everything is fine... As i said, it is just some widgets on the interface that are not affect correctly and displaying bigger than normal (see the screenshot : checkbox and some buttons), the other parts are displaying fine.

Your screenshot is too small and is compressed horribly, but it looks like to be in the normal scale?
As long as Hi-DPI is enabled and the specific monitor is set to 100% scaling, it shouldn't matter if it's the primary monitor or not - everything should look the same in either case. If they're not, we have a bug.
User avatar
mcoudert
Registered Member
Posts
118
Karma
1
OS

Re: Dual screen interface problem

Thu Jun 07, 2018 7:37 am
Sorry the forum only accept 720px max.

As boudewijn said, i think i don't have to enable HiDPI support. I think there is a "bug". Here is a post on imgur with better resolution image and you can compare the scale of the widgets in each variant...

https://imgur.com/a/nErvDtU

As i said, it's not a big issue, and if the tablet monitor is set to the default/main screen instead of the secondary, there is no problem. I just want to help make Krita better ;)

@TKL-Ansi : i tried your method but i have the same issue.


XP-Pen Artist Pro 24 - Windows 10
User avatar
TKL-Ansi
Registered Member
Posts
42
Karma
0
OS

Re: Dual screen interface problem

Thu Jun 07, 2018 11:17 am
mcoudert wrote:@TKL-Ansi : i tried your method but i have the same issue.

The idea is to set the scaling factor manually, if windows chooses one that you don't like.
By the way, QT_SCALE_FACTOR scales ui and fonts, QT_SCREEN_SCALE_FACTORS doesn't scale fonts.

nevermind.


:wq
alvinwong
Registered Member
Posts
117
Karma
0
OS

Re: Dual screen interface problem

Thu Jun 07, 2018 5:20 pm
mcoudert wrote:Sorry the forum only accept 720px max.

As boudewijn said, i think i don't have to enable HiDPI support. I think there is a "bug". Here is a post on imgur with better resolution image and you can compare the scale of the widgets in each variant...

https://imgur.com/a/nErvDtU

As i said, it's not a big issue, and if the tablet monitor is set to the default/main screen instead of the secondary, there is no problem. I just want to help make Krita better ;)

@TKL-Ansi : i tried your method but i have the same issue.

Then it might be due to the scale factor of your primary monitor not being a multiple of 100%. It's probably an unfortunate side-effect of Qt rounding the scale factor to the nearest multiple of 100%. I have no idea when the Qt devs would change this behaviour, probably not soon.
I'd guess if you set the primary monitor to 200% it would look fine on the second monitor with Hi-DPI enabled, but then other stuff on your primary monitor would probably look too big to you.
User avatar
mcoudert
Registered Member
Posts
118
Karma
1
OS

Re: Dual screen interface problem

Thu Jun 07, 2018 5:49 pm
alvinwong wrote:Then it might be due to the scale factor of your primary monitor not being a multiple of 100%. It's probably an unfortunate side-effect of Qt rounding the scale factor to the nearest multiple of 100%. I have no idea when the Qt devs would change this behaviour, probably not soon.
I'd guess if you set the primary monitor to 200% it would look fine on the second monitor with Hi-DPI enabled, but then other stuff on your primary monitor would probably look too big to you.


You were right : i give it a try at 200% on primary screen and 100% on the secondary, enable HiDPI support in Krita and it look that Krita displaying all at a "normal" scale. But yes, it look too big on the primary :P
You may have found the explanation...


XP-Pen Artist Pro 24 - Windows 10


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]