Verified Commit 74701a74 authored by ivan tkachenko's avatar ivan tkachenko
Browse files

Fix mouse settings not being loaded when a mouse is connected

Keyboard daemon was calling into the wrong module name. There are only
so much kcminit modules, and all of them are required to be named and
referenced with a "kcm_" prefix.


- Mouse settings' saving and loading worked fine.
- Changing settings on the fly worked fine, and if they were not loaded
  before due to this bug, KCM loaded them and applied, after which
  mouse worked fine until disconnected.
- Starting computer with mouse already connected worked fine.
- Plug&Play (i.e. connecting mouse after session has started) was the
  only thing that was broken, because this reconfiguration failed to
  launch the proper mouse module.

Co-Authored-By: David Edmundson's avatarDavid Edmundson <>
BUG: 435113
FIXED-IN: 5.24.7, 5.25.4, 5.26
(cherry picked from commit 0d7eccfb)
parent cbccf33c
Pipeline #209203 passed with stage
in 6 minutes and 52 seconds
......@@ -88,7 +88,7 @@ void KeyboardDaemon::configureKeyboard()
void KeyboardDaemon::configureMouse()
QStringList modules;
modules << QStringLiteral("mouse");
modules << QStringLiteral("kcm_mouse");
QProcess::startDetached(QStringLiteral("kcminit"), modules);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment