Configured with mouse wheel command, mouse wheel, run commands, scroll up:
qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut "Switch One Desktop Up"
and scroll down:
qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut "Switch One Desktop Down"
From terminal the command works and also from the widget but the first input get eaten and does nothing.
Example of a sequence of inputs while the mouse is hovering over the widget:
first scroll up: nothing happens (not correct)
second scroll up: desktop goes up by 1 (correct)
third scroll up: desktop goes up by 1 again (correct)
first scroll down: nothing happens (not correct)
second scroll down: desktop goes down by 1 (correct)
third scroll down: desktop goes down by 1 again (correct)
Scrolling the mouse wheel on other widgets works from the first input (ex: brightness on battery and volume on volume)
Configured with mouse wheel command, mouse wheel, run commands, scroll up:
qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut "Switch One Desktop Up"
and scroll down:
qdbus org.kde.kglobalaccel /component/kwin org.kde.kglobalaccel.Component.invokeShortcut "Switch One Desktop Down"
From terminal the command works and also from the widget but the first input get eaten and does nothing. Example of a sequence of inputs while the mouse is hovering over the widget:
Scrolling the mouse wheel on other widgets works from the first input (ex: brightness on battery and volume on volume)