Bug 446303

Summary: [Touch input] Checkboxes in most widgets don't toggle when tapped
Product: [Frameworks and Libraries] libplasma Reporter: personalizedrefrigerator
Component: componentsAssignee: Marco Martin <notmart>
Severity: normal CC: bugseforuns, nate, noahadvs, plasma-bugs, sholz8530, xaver.hugl
Priority: VHI Keywords: regression
Version: 5.88.0   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed In: 5.91
Sentry Crash Report:

Description personalizedrefrigerator 2021-12-01 00:09:22 UTC

Checkboxes in most widgets do not respond to touch input.

1. Open the "battery" applet
2. Tap on "Inhibit Automatic Screen Sleeping and Locking"
3. Open the "audio" applet
4. Tap on the "raise maximum volume" checkbox
5. Open the "screen layout applet"
6. Tap on the "enable presentation mode" checkbox

The checkboxes (except for in step 6) do not toggle when tapped -- only the "enable presentation mode" checkbox responds to touch input.

Tapping on a checkbox should toggle it in all cases.

Linux/KDE Plasma: Wayland/Fedora 35, Wayland/Manjaro
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0, 5.89.0
Qt Version: 5.15.2

I've only tested this on Wayland.
Comment 1 Nate Graham 2021-12-01 02:09:19 UTC
Can confirm. I'm pretty sure this used to work. Will try to bisect soon.
Comment 2 Nate Graham 2021-12-01 02:59:05 UTC
Can't bisect easily because old plasma framework doesn't work with new plasmashell...
Comment 3 Sönke Holz 2021-12-14 14:05:39 UTC
I also noticed this bug.
After a bit of manual bisecting (Are you able to git bisect a single file?) I think I found the commit that caused this bug:
It looks like https://invent.kde.org/frameworks/plasma-framework/-/commit/88ca22025997bba602b8cb796a9b79b6da3ffe6c introduced this bug in CheckBox.qml. Revisions before this commit seem to work correctly.
Comment 4 Nate Graham 2021-12-14 17:02:10 UTC
Noah, could you take a look?
Comment 5 Bug Janitor Service 2022-01-20 13:45:29 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/plasma-framework/-/merge_requests/436
Comment 6 Arjen Hiemstra 2022-01-20 14:37:02 UTC
Git commit a83321120e39a78d270607547da54b93e67bbd88 by Arjen Hiemstra.
Committed on 20/01/2022 at 14:05.
Pushed by ngraham into branch 'master'.

Do not use Control for PC3::IconLabel

This results in a control nested in a control and prevents certain
events (like touch tap) from being properly handled by the actual
Related: bug 445899
FIXED-IN: 5.91

M  +27   -4    src/declarativeimports/plasmacomponents3/private/IconLabel.qml

Comment 7 Zamundaaa 2022-01-23 23:57:15 UTC
*** Bug 449014 has been marked as a duplicate of this bug. ***