Created attachment 104367 [details] Screenshots that describe the bug Title says it all. When trying to toggle natural scrolling the "Apply" button behaves strangely and the tap and drag lock setting is changed when you can click apply. I attached a few screenshots to show the behavior and visualize how to reproduce. First is the original state. Then I toggle the scroll direction and apply. Result is that scroll direction gets unchecked and drag lock gets checked. Next, when trying to toggle it again the "Apply" button stays grey. After unchecking it the same behavior as described above shows with turning off the setting.
I checked the touchpad kcm and found this in main.qml: >Controls.CheckBox { > id: naturalScroll > text: i18n("Invert scroll direction") > > function load() { > enabled = touchpad.supportsNaturalScroll && !scrollmethod.isNoScroll > checked = enabled && touchpad.naturalScroll > } > > onCheckedChanged: { > if (enabled && !root.loading) { > touchpad.tapDragLock = checked > root.changeSignal() > } > } > > ToolTip { > text: i18n("Touchscreen like scrolling.") > } >} especially this line > touchpad.tapDragLock = checked looks suspicious.
Adding Roman to CC. @subdiff any ideas?
Still happening on Plasma 5.10 (Qt 5.8.0 in my system).
Sorry, I just now noticed this bug report thanks to Szymon's comment. Yea, seems to be a simple copy and paste error. Sascha also already found the right line back in march. Sascha, since you found it, do you want to create a Diff on https://phabricator.kde.org/ for it? I'll then accept it and push it for you, if you don't (yet) have commit rights.
I actually tried to fix it since it seems to be pretty easy. But unfortunately I never contributed before. I tried to compile plasma and the kcm, but I failed and ran out of time. Maybe I'll fix another bug soon :) So it's probably best I leave this one to the pros.
Fixed by https://phabricator.kde.org/D6488