[okular] [Bug 421634] Presentation mode misrendering with two monitors and screen scaling

Oliver Sander bugzilla_noreply at kde.org
Fri May 22 08:26:39 BST 2020


https://bugs.kde.org/show_bug.cgi?id=421634

--- Comment #6 from Oliver Sander <oliver.sander at tu-dresden.de> ---
I just noticed something interesting:  When scaling my display with the control
center GUI, it sets

~> echo $QT_SCREEN_SCALE_FACTORS 
eDP-1=1.5;DP-1=1.5;HDMI-1=1.5;HDMI-2=1.5;

(and QT_SCALE_FACTOR is unset).  No idea why it sets HDMI-1 and HDMI-2, I only
have two physical monitors.

However, when I ask xrandr about the available screens I get

~> xrandr
Screen 0: minimum 320 x 200, current 1921 x 2160, maximum 16384 x 16384
eDP-1 connected 1920x1080+1+1080 (normal left inverted right x axis y axis)
276mm x 155mm
   1920x1080     60.00 +  59.97*   59.96    59.93  
[snip]
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-1-1 disconnected (normal left inverted right x axis y axis)
DP-1-2 connected primary 1920x1080+0+0 (normal left inverted right x axis y
axis) 527mm x 296mm
   1920x1080     60.00 +  50.00    50.00    59.94* 
[snip]
DP-1-3 disconnected (normal left inverted right x axis y axis)

Observe how QT_SCREEN_SCALE_FACTORS contains a scaling for display DP-1, but
xrandr says that the display name is actually DP-1-2.  And indeed, when
updating QT_SCREEN_SCALE_FACTORS accordingly

~> echo $QT_SCREEN_SCALE_FACTORS 
eDP-1=1.5;DP-1-2=1.5

the problem goes away.

So is this a bug in kscreen / the control center?

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list