Calling kcminit mouse immediately when a new pointer device arrives does not work.
Adding a small delay until everything has settled makes it work. Just using a QuedConnection did not help
Details
Details
- Reviewers
- None
- Group Reviewers
Plasma
I can plug out and back in my mouse and it properly restores mouse settings for it.
(5.6 or master?)
Diff Detail
Diff Detail
- Repository
- R119 Plasma Desktop
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Comment Actions
I think this issue is only relevant when using UDev (udev_helper) for hot-plug detection instead of Xinput (xinput_helper), so I would prefer if the delay is used only in the udev case (and also for keyboard).
Comment Actions
Why is udev used here at all? On X11 we should use XInput, on Wayland hopefully nothing, because KWin takes care of it.
Comment Actions
ah hum, that problem. In KWin and KScreenLocker the XLib based variant of XInput is used to solve that problem. Might be also an idea here.