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
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/4480