Bug 454143

Summary: [Wayland] Misplaced position pressing click and navigating in menus
Product: [Plasma] kwin Reporter: Francisco Z <rhodium.jka>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, nate, rhodium.jka
Priority: NOR    
Version: 5.24.5   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: mouse position
another

Description Francisco Z 2022-05-21 12:09:01 UTC
Created attachment 149066 [details]
mouse position

STEPS TO REPRODUCE
1. Open kate or some kde application, resize and move to the bottom
2. Press left mouse click in File and without releasing, try to navigate tought menus.

OBSERVED RESULT
Misplaced position of mouse cursor

EXPECTED RESULT
Good position of mouse cursor, like in X11 session.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro
KDE Plasma Version: 5.24.5
KDE Frameworks Version: 5.94
Qt Version: 5.15.4
Comment 1 Francisco Z 2022-05-21 12:27:03 UTC
Created attachment 149068 [details]
another
Comment 2 Nate Graham 2022-05-23 18:15:49 UTC
Since you're on X11, the X server is responsible for this, not any KDE code. I guess X11 is slowly bit-rotting as the world moves to Wayland. I would recommend that you personally move to use the Plasma Wayland session too, if possible.

You could also file a bug report on the X server here: https://gitlab.freedesktop.org/xorg/xserver/-/issues/
Comment 3 Francisco Z 2022-05-23 18:44:10 UTC
(In reply to Nate Graham from comment #2)
> Since you're on X11, the X server is responsible for this, not any KDE code.
> I guess X11 is slowly bit-rotting as the world moves to Wayland. I would
> recommend that you personally move to use the Plasma Wayland session too, if
> possible.
> 
> You could also file a bug report on the X server here:
> https://gitlab.freedesktop.org/xorg/xserver/-/issues/


It only happend in Plasma Wayland session, in Plasma X11 is fine :/
Comment 4 Nate Graham 2022-05-23 19:05:31 UTC
Oh, I was confused, sorry.

In that case it is most likely an issue in KWin, as it handles cursor movement on Wayland.
Comment 5 David Edmundson 2024-06-04 11:42:51 UTC
This is a known Qt issue having to retrofit into a silly Wayland design.

We are trying to fix things there.