| Summary: | Clicking an item in an unfocused window requires two clicks, one to focus the window and the other for the action | ||
|---|---|---|---|
| Product: | [Applications] systemsettings | Reporter: | indecisiveautomator |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ahiemstra, nate, xaver.hugl |
| Priority: | NOR | Keywords: | regression, wayland-only |
| Version First Reported In: | 5.25.0 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Video showing the problem | ||
|
Description
indecisiveautomator
2022-06-17 15:28:38 UTC
Cannot reproduce, how bizarre. Is this a regression from Plasma 5.24? I am almost positive. I don't really want to roll back and find out to be brutally honest, but I might have a machine somewhere with Plasma 5.24.X. I'll see if I can dig one out and find out in the next few days. I recorded a video to show the behaviour, I'll see if I can figure out how to add an attachment. The recording doesn't show the mouse cursor as OBS doesn't show the mouse cursor in Plasma 5.25 Wayland anymore but that's an OBS bug I think. Created attachment 149867 [details]
Video showing the problem
Mouse cursor did not show up due to a bug with the recording software (OBS), but a mouse was used.
As of 5.25.1 this is fixed in every KDE application I experienced the bug in *except* System Settings. The behaviour is identical still in System Settings. Same behaviour in Plasma 5.25.2 This behaviour is not present on SteamOS 3.3, which uses Plasma X11 5.23.5, Qt 5.15.2, and Frameworks 5.90.0. Can still reproduce with 5.26 Beta. Again only seems to affect System Settings-related windows such as Info Center, and the various separate windows such as Mouse options, Display options, etc. I can reproduce it in system settings, but not other apps, e.g. dolphin I added some qDebugs in QtWayland QPA and they are printed as expected, i.e. kwin sends pointer button events to system settings but there seems to be a problem somewhere in systemsettings. So I did some digging and it seems this is a bug in QQuickWidget. When clicking, the item underneath the mouse gets a press event correctly, but then never gets a release event, so it doesn't register an actual click. Printing some debugging information from C++, the release event is passed to the QQuickWidget but then isn't handled. Unfortunately the event handling in QQuickWidget is pretty complex so I don't know where things end in there. This doesn't seem to be a problem anymore in Plasma 6; marking as fixed. |