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

            Bug ID: 438971
           Summary: GTK apps on Kwin+wayland report the wrong display
                    scaling
           Product: kwin
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: emi...@crisal.io
  Target Milestone: ---

Created attachment 139558
  --> https://bugs.kde.org/attachment.cgi?id=139558&action=edit
Sample application that prints window scaling

SUMMARY

When using kwin + wayland, gtk applications report a bogus display scaling.

STEPS TO REPRODUCE
1. Go to system settings > display configuration
2. Set monitor scale to 200%
3. Run the attached application

OBSERVED RESULT

"1" instead of the expected "2" is printed.

EXPECTED RESULT

"2" is printed, as it happens if you do the same on X11

SOFTWARE/OS VERSIONS

Operating System: Fedora 34
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Kernel Version: 5.12.10-300.fc34.x86_64
OS Type: 64-bit
Graphics Platform: Wayland

ADDITIONAL INFORMATION

This causes Firefox to detect the wrong monitor scaling and appear too tiny,
when ran with native wayland support rather than via XWayland.

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

Reply via email to