Bug 505446 - With certain display resolutions clicks and taps are registered in the wrong area of the display in portrait mode
Summary: With certain display resolutions clicks and taps are registered in the wrong ...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.3.5
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-10 19:28 UTC by Fernando M. Muniz
Modified: 2025-06-12 15:27 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando M. Muniz 2025-06-10 19:28:06 UTC
1- Have a very low resolution, such as 720x1280p (1:16).
2- Go to Display & Monitor under System Settings.
3- Try to click on one of the monitor icons to change the Orientation.

Result:
The pointer is clicking on a different place than what it is being displayer.

Additional Information:
Discovered the issue from here, where the user (using Bazzite [Fedora Kinoite]) clicks a monitor icon, but ends up clicking on parts of the menu on the left side, likely because they're underneath the monitor icons.
https://www.youtube.com/watch?v=ZILXRqTEl3g&t=1289s

I've seen multiple handhelds having Bazzite/Fedora Kinoite installed, and all of them start with the wrong orientation.
So fixing this should help users of all small monitors, not just the rare device in the video.
Comment 1 TraceyC 2025-06-11 18:16:35 UTC
I tested this in a KDE Neon Testing VM with 1280 x 768 (5:3) resolution and am able to reproduce, using mouse and keyboard so this isn't touch dependent

I am *not* able to reproduce on the SteamDeck OLED, stable channel
Mind, setting to "Landscape" (first icon on the left) makes the screen tall, not wide
Taps were correctly registered to the place I tapped in all display orientations

The video shows the screen in portrait mode 720 x 1280(9:16) @200%
(Note, the ratio is not 1:16)
The person taps on the icon for portrait mode
The tap is applied to "Bluetooth" in the left panel instead of the display icon

Note: The comments on the video indicated the person was using a very old SteamDeck prototype unit
There's a notification in the systray that updates are available.
Comment 2 TraceyC 2025-06-11 18:19:45 UTC
I was also able to reproduce on the Neon Testing VM with 1920 x 1200 (16:10) @100
Comment 3 Nate Graham 2025-06-12 15:27:51 UTC
Does it happen on X11, Wayland, or both?