Bug 459265 - Scaling from one screen is used on another screen without extra scaling
Summary: Scaling from one screen is used on another screen without extra scaling
Status: RESOLVED DOWNSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-09-17 10:20 UTC by agilob
Modified: 2022-09-19 15:56 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description agilob 2022-09-17 10:20:40 UTC
SUMMARY
Resolution mapping or cursor mapping is using location from one screen with scaling on another screen with standard scaling

Browser was started with:

brave --ozone-platform=wayland --enable-features=UseOzonePlatform,WebRTCPipeWireCapturer %U 


STEPS TO REPRODUCE
1. I start a chromium software, in this case Brave Browser
2. A window started on one screen with 200% scaling is moved to another screen with 100% scaling
3. Cursor mapping is using 1st screen resolution(?) on 2nd screen
4. Please see the video https://streamable.com/mcl4im , it's hard to explain what's going on

EXPECTED RESULT

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.25.5
KDE Frameworks Version: 5.98.0
Qt Version: 5.15.6
Kernel Version: 5.15.65-1-lts (64-bit)
Graphics Platform: Wayland
System Version: 1.0

ADDITIONAL INFORMATION
Comment 1 Vlad Zahorodnii 2022-09-19 08:35:05 UTC
I can reproduce similar issue in chromium (105.0.5195.125 (Official Build) Arch Linux (64-bit)). I ran chromium with WAYLAND_DEBUG=1 to see what pointer events chromium receives and it appears that chromium receives events with proper coords. This looks like a bug in chromium or ozone. Can you report this issue to chromium developers?
Comment 2 agilob 2022-09-19 15:56:07 UTC
Yes, thanks for info, reported on chromium bugtracker