Bug 475360

Summary: When the mouse does not move the window size changes, clicking the button does not update the mouse position.
Product: [Plasma] kwin Reporter: Lu YaNing <dluyaning>
Component: wayland-genericAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: nate
Priority: NOR    
Version First Reported In: 5.27.8   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Program to reproduce the problem

Description Lu YaNing 2023-10-08 09:28:18 UTC
Created attachment 162160 [details]
Program to reproduce the problem

Refer to the demo provided in the attachment, double-click the button without moving the mouse position, and then double-click the button after maximizing the window, you can see that the focus is still on the button


SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.25.8
Qt Version: 5.15.10
Comment 1 Bug Janitor Service 2023-10-08 09:32:39 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4480