Bug 430029 - Touchpad not disabled with mouse plugged in until I click on Input Devices in system settings
Summary: Touchpad not disabled with mouse plugged in until I click on Input Devices in...
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Touchpad (show other bugs)
Version: 5.20.4
Platform: openSUSE Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-05 01:56 UTC by jonzn4SUSE
Modified: 2021-05-18 18:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.23


Attachments
Mouse is always used (104.55 KB, image/jpeg)
2020-12-05 01:56 UTC, jonzn4SUSE
Details
Now the Touchpad is disabled after clicking on "Input Devices" in system settings (101.80 KB, image/jpeg)
2020-12-05 01:59 UTC, jonzn4SUSE
Details
Enable/Disable option (128.07 KB, image/jpeg)
2021-02-19 19:44 UTC, jonzn4SUSE
Details
Touchpad Enable-Disable option (63.77 KB, image/jpeg)
2021-02-19 19:48 UTC, jonzn4SUSE
Details
touchpad settings on wayland (104.76 KB, image/png)
2021-02-19 19:55 UTC, Andrés B.S.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jonzn4SUSE 2020-12-05 01:56:37 UTC
Created attachment 133884 [details]
Mouse is always used

SUMMARY
The touchpad works until I click on "Input Devices" in system setting.  I then get a notification that the "Touchpad was disabled because a mouse was plugged in" even though it was plugged in from boot up.

STEPS TO REPRODUCE
1. After logging in, I verify that the touchpad is still working with a mouse plugged in 
2. Then click on "Input Devices" in system setting
3. I then get a notification that the "Touchpad was disabled because a mouse was plugged in" even though it was plugged in from boot up

OBSERVED RESULT
The touchpad is still working despite a mouse plugged in and the system is set to disable touchpad when mouse is plugged in. 

EXPECTED RESULT
The touchpad should not work when a mouse is plugged in.

SOFTWARE/OS VERSIONS:
Operating System: openSUSE Tumbleweed 20201203
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2
Kernel Version: 5.9.11-1-default
OS Type: 64-bit
Processors: 8 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600

ADDITIONAL INFORMATION
Comment 1 jonzn4SUSE 2020-12-05 01:59:09 UTC
Created attachment 133885 [details]
Now the Touchpad is disabled after clicking on "Input Devices" in system settings

Now the Touchpad is disabled after clicking on "Input Devices" in system settings
Comment 2 Andrés B.S. 2020-12-05 06:05:21 UTC
I'm using Leap w/ KDE repos and Plasma 5.20.4.
For me, the touchpad does not disable at all when I plug-in my mouse.
Horizontal scrolling was not working for me, but deleting ~/.config/touchpadrc fixed it... no luck with disabling the touchpad, though.
Comment 3 jonzn4SUSE 2020-12-05 21:26:17 UTC
I have another laptop with Leap 15.2 and it doesn't have this issue.

Operating System: openSUSE Leap 15.2
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.71.0
Qt Version: 5.12.7
Kernel Version: 5.3.18-lp152.54-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-3520M CPU @ 2.90GHz
Memory: 15.6 GiB of RAM
Comment 4 jonzn4SUSE 2020-12-05 21:31:10 UTC
What is just as interesting is that when I unplug the mouse from both Leap and TW the system is aware that the usb device is no longer plugged in, but the touchpad doesn't work.  I would probably need to logoff or reboot.
Comment 5 Andrés B.S. 2020-12-07 16:36:05 UTC
Yes! But you are on the LTS version (the one shipped with Leap by default).
Honestly, my touchpad did disable itself when I plugged my mouse after deleting touchpadrc and tweaking my settings again.
The thing that led me to that solution was that after switching to KDE repos, KDE Connect was showing duplicated notifications, which I also fixed by deleting all kdeconnect related settings at ~/.config and setting up everything again. Probably the version jump was big for my system.
Other users reported issues with the touchpad disable option (Tumbleweed) on the openSUSE Telegram, first it disappeared, then it came back but did not work. They probably fixed it by now. I think it was when 5.20.3 came out.
Comment 6 jonzn4SUSE 2021-02-17 20:05:41 UTC
Updated to 5.21, but now the touchpad will not even disable when I go to the Input Device section.  I now have pull the mouse out and put it back in for the touchpad to stop working.
Comment 7 jonzn4SUSE 2021-02-17 20:20:13 UTC
Also, when the mouse is pulled out the touchpad doesn't work.  I would probably need to reboot in order for the touchpad to work.  I'll test it.
Comment 8 jonzn4SUSE 2021-02-18 23:01:31 UTC
So after rebooting I now have to click on the Touchpad in the Input Device settings for the Touchpad to stop working when a mouse is plugged in.
Comment 9 Andrés B.S. 2021-02-19 14:44:14 UTC
I'm on 5.21 and don't see the option to disable the touchpad when a mouse is connected, not sure where or what are you looking at
My touchpad did not want work after the update, but same as before, doing rm ~/.config/touchpad* fixed it
Comment 10 jonzn4SUSE 2021-02-19 19:44:15 UTC
Created attachment 135914 [details]
Enable/Disable option

Hey Anderes,
Here is a screenshot showing the Enable/Disable option.  When I click on the touchpad I get the notification that the mouse has been disabled.

Wow... You don't have this option in Leap? 

Operating System: openSUSE Tumbleweed 20210217
KDE Plasma Version: 5.21.0
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.16-1-default
OS Type: 64-bit
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-4810MQ CPU @ 2.80GHz
Memory: 31.0 GiB of RAM
Graphics Processor: Mesa DRI Intel® HD Graphics 4600
Comment 11 jonzn4SUSE 2021-02-19 19:48:14 UTC
Created attachment 135915 [details]
Touchpad Enable-Disable option
Comment 12 Andrés B.S. 2021-02-19 19:55:04 UTC
Created attachment 135916 [details]
touchpad settings on wayland

I switched to Tumbleweed yesterday since I was done adding a dozen repos to have the newest software

I used to have that same menu as you until I launched a Wayland session on 5.20, since then I see the same reduced set of options as wayland, on xorg. I think this is a feature to have consistency, but I am not sure.
Comment 13 jonzn4SUSE 2021-02-24 12:02:19 UTC
This issue appears to be resolved.  For the past week when logging in I now see the notification that the Touchpad has been disabled.  ;-))
But, the notification is not there when I click on the bell.

Hey Andrés B.S.,
What about you?
Comment 14 jonzn4SUSE 2021-02-24 18:04:35 UTC
But, there is still the issue when the mouse is unplugged the Touchpad does not work.
Comment 15 Bug Janitor Service 2021-05-07 20:56:16 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-desktop/-/merge_requests/455
Comment 16 Nate Graham 2021-05-18 18:17:12 UTC
Git commit 3b4026641454c02ad3030c8cd2134a672995ffa9 by Nate Graham.
Committed on 18/05/2021 at 18:15.
Pushed by ngraham into branch 'master'.

Delete the Touchpad applet

Ths only thing this applet can do is disable or re-enable your
touchpad. If you have no touchpad, it is pointless. If you have only a
touchpad and no mouse, then the only thing it can do is give you a way
to brick your laptop until you find a mouse you can use to re-enable
the touchpad.

The only conceivable non-catastrophic usage of this applet is to
manually disable a laptop's touchpad when a mouse is plugged in. This is
an extremely niche use case that can already be accomplished by using
the "Toggle Touchpad" keyboard shortcut which is exported by the KCM,
and would be better served by a setting in the touchpad KCM itself to
automatically disable the touchpad when a mouse is plugged in and
re-enable it when unplugged, should such a feature be deemed useful. I
have my doubts, as Libinput has gotten very good at ignoring false input
these days, so I think there is no longer much of a use case for
disabling a touchpad at all.

Overall, this applet is not worth the bugs and degradation of the user
experience that it can cause. It is too dangerous to exist. Let's delete
it.
Related: bug 434720, bug 434718, bug 397210, bug 378879, bug 434717
FIXED-IN: 5.23

M  +1    -1    kcms/touchpad/CMakeLists.txt
D  +0    -155  kcms/touchpad/applet/qml/contents/ui/touchpad.qml
D  +0    -160  kcms/touchpad/applet/qml/metadata.desktop
D  +0    -30   kcms/touchpad/applet/touchpad.svg
R  +4    -12   kcms/touchpad/dataengine/CMakeLists.txt [from: kcms/touchpad/applet/CMakeLists.txt - 065% similarity]
R  +0    -0    kcms/touchpad/dataengine/plasma-dataengine-touchpad.desktop [from: kcms/touchpad/applet/plasma-dataengine-touchpad.desktop - 100% similarity]
R  +0    -0    kcms/touchpad/dataengine/touchpad.operations [from: kcms/touchpad/applet/touchpad.operations - 100% similarity]
R  +0    -0    kcms/touchpad/dataengine/touchpadengine.cpp [from: kcms/touchpad/applet/touchpadengine.cpp - 100% similarity]
R  +0    -0    kcms/touchpad/dataengine/touchpadengine.h [from: kcms/touchpad/applet/touchpadengine.h - 100% similarity]
R  +0    -0    kcms/touchpad/dataengine/touchpadservice.cpp [from: kcms/touchpad/applet/touchpadservice.cpp - 100% similarity]
R  +0    -0    kcms/touchpad/dataengine/touchpadservice.h [from: kcms/touchpad/applet/touchpadservice.h - 100% similarity]

https://invent.kde.org/plasma/plasma-desktop/commit/3b4026641454c02ad3030c8cd2134a672995ffa9