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

            Bug ID: 452261
           Summary: zooming in wayland changes the resolution of screen.
           Product: kwin
           Version: 5.24.4
          Platform: Archlinux Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: rezad1...@protonmail.ch
  Target Milestone: ---

SUMMARY
***
I have a 14 inch display laptop that has 1080p resolution.
so the default UI is too small on it.
so on X display server I use (the very good) zoom setting in display setting
and set it to 150%.
this causes the icons and texts to appear readable for me at a normal distance.
this causes firefox to use a 720p viewpoint but in its about:support firefox
knows the system is 1080.
and other apps also see a 1080p display. for example if I use a picture viewer
and tell it to show a 1080 picture at natural size it would fill the screen and
also would not spill out (pixel to pixel match)

now my issue:
if I switch to wayland session and set the zoom to 150% and re-login, then
icons and font are bigger like X but it is because my whole screen have been
redefined as a 720p (1080p divided by 1.5) 
this causes a lot of issues. because 720p virtual screen cant be matched to a
1080p physical screen the so plasma (or kde or whoever is responsible) uses
something like anti-aliasing that is used in game.

this also causes actual games (like dota from steam)because to have a max of
720p resolution so it is trying to show a matched 720p on a 1080pscreen which
makes  to become blurry .

also if I use a picture viewer and open a 1080p picture and tell it to show it
at natural zoom it would spill out of screen.
another example is mpv video player.

when I play a movie in zoom x session and full screen it it and press the I key
it shows the scaled resolution as 1080p but in wayland it seems to see a 1440p
(2*720p) as my full screen scaled resolution.


I think that the X behavior is the correct one and wayland one is a bug because
it causes all kind of problems when programs see a 720p virtual screen and then
it is shown on a 1080p physical screen.

I remember that some time ago when I was testing this in wayland , the zoom
setting would tell me that my screen is going to be 720p after zoom (which
means that this is an intended behavior?), and now it doesn't show that, just
says 1920*1080 @150%

if I am gonna bug other people software for HiDPI I need a correct base first
to test against and wayland is not there like this.

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

Reply via email to