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

            Bug ID: 410632
           Summary: Scale Factor 1 is actually 2 on a HiDPI screen
           Product: KScreen
           Version: 5.16.3
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: common
          Assignee: se...@kde.org
          Reporter: raphael....@jakse.fr
  Target Milestone: ---

SUMMARY

I have been using Plasma on an Elitebook 840 G3 laptop with a WQHD (HiDPI)
screen, with X11.

I'm using this screen without scaling, and instead zooming the text everywhere
I need to read things. I also adjusted the font sizes in the settings so the
texts in the UI are not too small. I am doing that because I regularly use
external screens with regular DPI.

I connected a 4K TV screen, disabled the internal screen, and set the scaling
factor to 1.3 (anyway, something else other than 1). So far so good.

I then disconnected the TV screen and wanted to restore the scaling factor to
1. To my surprise, this has the same effect than setting the scaling factor to
2. This can be seen by invoking the disconnect screen (Ctrl+Alt+Del).

I created a new user to test this behavior on a clean session. By default, the
scaling factor is obviously set to something else than 1, probably 2. In the
settings, the scaling factor is 1. setting to 1.1 makes things smaller. I am
unable to actually obtain a screen factor of 1.

in the ~/.config/kdeglobals file, I can see:

[KScreen]
ScaleFactor=1
ScreenScaleFactors=eDP-1=1;DP-1=1;HDMI-1=1;DP-2=1;HDMI-2=1;

If I remove this section, the scaling factor is still 1 in the settings, 2 in
reality. The system behaves as if 1 was some sort of unset value, and the
default "detected" scaling factor is used instead of 1.

STEPS TO REPRODUCE
1. On an Hi DPI laptop, set the scaling factor to 1.1.
2. Then, set it to 1.

OBSERVED RESULT

The real scaling factor is something else than 1.

EXPECTED RESULT

the real scaling factor should match the setting : 1.
A default scaling factor different from 1 is fine. On my screen, 2 is picked,
but this is a bit too much. 1.5 would be the perfect theoretical value if this
was flawless. 2 is still probably better than 1 however. 


The current workaround is to set the scaling factor to 1.1, but I will need to
be able to set it to 1 whenever I plug a non Hi DPI screen to the computer.

Wayland would be the perfect solution to this problem, but bug #373907 is a
deal breaker for me.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: openSUSE Tumbleweed
KDE Plasma Version: 5.16.3
KDE Frameworks Version: 5.60
Qt Version: 5.13

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to