Bug 419961 - Scrolling no longer works on desktop
Summary: Scrolling no longer works on desktop
Status: RESOLVED DUPLICATE of bug 419878
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.18.4
Platform: Manjaro Linux
: NOR normal
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-11 14:23 UTC by shawn
Modified: 2021-03-24 21:38 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description shawn 2020-04-11 14:23:49 UTC
Scrolling no longer works on desktop

STEPS TO REPRODUCE
1. Update to plasma 5.18.4? (at least that when the problem started happening)
2. Click on desktop
3. Use scroll wheel

EXPECTED RESULTS
Should switch between virtual desktops or do whatever "right click > configure desktop > mouse actions > vertical scroll" is set to do.

ACTUAL RESULTS
Nothing happens. 


OTHER NOTES
Change virtual desktop with any other mouse button works. 
Scrolling in other applications still works. 
Scrolling with mouse over virtual desktop icon on taskbar works.
"qdbus org.kde.KWin /KWin nextDesktop" command works as expected. (Should I be posting this report under kwin?)
~/.config/plasma-org.kde.plasma.desktop-appletsrc  has been reset to no effect.
Bug 413104 seems similar but no solution has been provided in that thread.


SOFTWARE/OS VERSIONS
OS: Manjaro
KDE Plasma Version: 5.18.4
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.2
Comment 1 Patrick Silva 2020-04-11 22:56:37 UTC

*** This bug has been marked as a duplicate of bug 419867 ***
Comment 2 shawn 2020-04-12 02:59:00 UTC
I created a temporary workaround with xbindkeys and xdotool.

In ~/.xbindkeysrc I added the lines:

"bash /home/username/scroll_down.sh"
    b:5
"bash /home/username/scroll_up.sh"
    b:4


The contents of the shell files are:

#!/bin/bash
eval $(xdotool getmouselocation --shell)
echo $WINDOW
name=$(xdotool getwindowname $WINDOW)
base="Desktop — Plasma"

if [ "$name" = "$base" ]; then
    echo succ
    qdbus org.kde.KWin /KWin nextDesktop
fi

With "nextDesktop" in the scroll_down/sh file and "previousDesktop" in the scroll_up.sh file.
The "qdbus" command could also be replaces with "xdotool set_desktop"

This assumes that you have two desktops stacked vertically.
Also there is no wrap around scrolling.
Comment 3 shawn 2020-04-12 03:13:56 UTC
forgot to remove unnecessary "echo $WINDOW" and "echo succ"
Comment 4 Nate Graham 2021-03-24 21:38:06 UTC

*** This bug has been marked as a duplicate of bug 419878 ***