In the Track Mouse effect settings there are two ways to trigger it: keyboard shortcut or holding modifier keys. The problem is with the later. When I press and hold down modifier keys (Meta+Ctrl), the effect is not activated. I though it was completely broken. I just discovered that it is working, but after you move your mouse. Current behavior: Do not move you mouse. Hold Meta+Ctrl. Observe that the effect is not activated. Keep holding Meta+Ctrl and move your mouse a bit. Observe the effect activated. Do not move mouse and release Meta+Ctrl Observe that effect is still activated. Move your mouse a bit. Observe the effect deactivated. Expected behavior: The effect should be activated while the Meta+Ctrl are pressed (without needing to move mouse), and deactivated as long as Meta+Ctrl are released (without needing to move mouse). SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.23.1 KDE Frameworks Version: 5.87.0 Qt Version: 5.15.2 Graphics Platform: X11
Looks like this is because of the subscribe function it listens is only when mouse is "changed". It is called TrackMouseEffect::slotMouseChanged(): https://invent.kde.org/plasma/kwin/-/blob/839293f98728b52525a779c260e99acf4717bb83/src/effects/trackmouse/trackmouse.cpp#L186 Probably, there should be something like TrackMouseEffect::modifierButtonsChanged().
Feel free to submit a patch!