Created attachment 109209 [details]
Touchpad -> Enable/Disable Touchpad -> 'Disable touchpad when mouse is plugged in'. When for both events 'Touchpad was enabled' and 'Touchpad was disabled' - 'Show a message in a popup' action is set
Not sure 100% if this is a bug in this case - but i think it would be better to hide previous notification and display only current touchpad status in a single line notification - i.e. - when mouse was plugged in - display 'Touchpad was disabled' - and when mouse was quickly unplugged after that - hide previous notification and display 'Touchpad was enabled' notification - without any other previous statuses of the touchpad in the notification.
It should either replace the existing notification or skip grouping
Git commit 999b619bc5c87c4c0a08f97e3e422562b5f72fff by Kai Uwe Broulik.
Committed on 28/05/2019 at 14:05.
Pushed by broulik into branch 'Plasma/5.16'.
[Touchpad KCM] Revoke touchpad enabled/disabled notification before sending a new one
Differential Revision: https://phabricator.kde.org/D21439
M +5 -1 kcms/touchpad/src/kded/kded.cpp
M +4 -0 kcms/touchpad/src/kded/kded.h