Bug 439540 - Mouse Wheel on Dock not working properly
Summary: Mouse Wheel on Dock not working properly
Status: RESOLVED FIXED
Alias: None
Product: lattedock
Classification: Unmaintained
Component: application (other bugs)
Version First Reported In: git (master)
Platform: Arch Linux Linux
: NOR major
Target Milestone: ---
Assignee: Michail Vourlakos
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-07-06 05:49 UTC by ignazio.martinoli
Modified: 2021-07-10 06:50 UTC (History)
0 users

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 ignazio.martinoli 2021-07-06 05:49:00 UTC
SUMMARY
I was used to open new instances and scroll through windows in the dock via the mouse wheel. Since the last update the functionality is extremely broken. New instances doesn't open anymore with the wheel and scrolling between instances (i.e. LibreOffice documents) only work if you are fast doing it before a couple of seconds since the dock shows up.
I miss this functionality so much I had to downgrade the version. If you need any other info on the system to track this issue down I am willing to help (contact me on ignazio.martinoli@gmail.com).
I love Latte Dock and really appreciate your work.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 5.12.9-1-MANJARO
KDE Plasma Version: 5.21.5
KDE Frameworks Version: 5.82.0
Qt Version: 5.15.2
Comment 1 Michail Vourlakos 2021-07-06 07:41:07 UTC
Have you enabled in Tasks advance options the desired scrolling behavior?
Comment 2 ignazio.martinoli 2021-07-08 22:18:04 UTC
Yes, I did it. In Actions, for the Wheel I selected "Cycle Through Tasks". Unfortunatly it didn't worked.
Comment 3 Michail Vourlakos 2021-07-09 04:44:40 UTC
Send your layout file to check it in my system.
Comment 4 ignazio.martinoli 2021-07-10 01:01:36 UTC
This is the "~/.config/lattedockrc":
[KFileDialog Settings]
Recent Files[$e]=Edna.layout.latte,file:$HOME/Downloads/Edna.layout.latte
Recent URLs[$e]=file:$HOME/Downloads/,file:$HOME/,file:$HOME/Documents/
detailViewIconSize=16

[KPropertiesDialog]
HDMI-A-0 Height 1080=480
HDMI-A-0 Height 1920x1080=480
HDMI-A-0 Width 1920=782
HDMI-A-0 Width 1920x1080=445

[LatteSettingsDialog]
downloadWindowSize=800,550
windowSize=700,666

[LatteSettingsDialog][TabLayouts]
columnWidths=52,70,82,0
sortColumn=3
sortOrder=0

[Notification Messages]
really_clear_history=true

[PlasmaThemeExtended]
outlineWidth=1

[ScreenConnectors]
10=HDMI-A-0

[UniversalSettings]
badges3DStyle=false
canDisableBorders=false
contextMenuActionsAlwaysShown=
currentLayout=Edna
downloadWindowSize=-1,-1
inAdvancedModeForEditSettings=true
lastNonAssignedLayout=Edna
launchers=
layoutsColumnWidths=
layoutsWindowSize=-1,-1
memoryUsage=0
metaPressAndHoldEnabled=true
mouseSensitivity=2
screenTrackerInterval=2500
showInfoWindow=true
singleModeLayoutName=Edna
version=2
Comment 5 ignazio.martinoli 2021-07-10 01:01:50 UTC
I use the Edna layout ("~/.config/latte/Edna.layout.latte"), which is:
[ActionPlugins][1]
RightButton;NoModifier=org.kde.latte.contextmenu

[Containments][13]
PreloadWeight=0
activityId=
formfactor=2
immutability=1
lastScreen=-1
layoutId=
location=3
plugin=org.kde.plasma.private.systemtray
wallpaperplugin=org.kde.image

[Containments][13][Applets][129]
immutability=1
plugin=org.kde.plasma.mediacontroller

[Containments][13][Applets][129][Configuration]
PreloadWeight=56

[Containments][13][Applets][44]
immutability=1
plugin=org.kde.plasma.volume

[Containments][13][Applets][44][Configuration]
PreloadWeight=100

[Containments][13][Applets][44][Configuration][ConfigDialog]
DialogHeight=591
DialogWidth=936

[Containments][13][Applets][45]
immutability=1
plugin=org.kde.plasma.networkmanagement

[Containments][13][Applets][45][Configuration]
PreloadWeight=30

[Containments][13][Applets][46]
immutability=1
plugin=org.kde.plasma.devicenotifier

[Containments][13][Applets][46][Configuration]
PreloadWeight=0

[Containments][13][Applets][47]
immutability=1
plugin=org.kde.plasma.nightcolorcontrol

[Containments][13][Applets][47][Configuration]
PreloadWeight=0

[Containments][13][Applets][50]
immutability=1
plugin=org.kde.plasma.weather

[Containments][13][Applets][50][Configuration]
PreloadWeight=2
pressureUnit=5029
showHumidityInTooltip=true
showPressureInTooltip=false
showTemperatureInCompactMode=false
showTemperatureInTooltip=true
showWindInTooltip=true
source=wettercom|weather|Córdoba, Provincia de Córdoba, AR|AR0CB0001;Córdoba
speedUnit=9001
temperatureUnit=6001
updateInterval=30
visibilityUnit=2007
weatherServiceProviders=bbcukmet,wettercom

[Containments][13][Applets][50][Configuration][ConfigDialog]
DialogHeight=480
DialogWidth=640

[Containments][13][Applets][51]
immutability=1
plugin=org.kde.kdeconnect

[Containments][13][Applets][51][Configuration]
PreloadWeight=0

[Containments][13][Applets][52]
immutability=1
plugin=org.kde.plasma.notifications

[Containments][13][Applets][52][Configuration]
PreloadWeight=84

[Containments][13][ConfigDialog]
DialogHeight=811
DialogWidth=930

[Containments][13][General]
extraItems=org.kde.plasma.networkmanagement,org.kde.plasma.volume,org.kde.plasma.nightcolorcontrol,org.kde.plasma.devicenotifier,org.kde.kdeconnect,org.kde.plasma.weather,org.kde.plasma.notifications,org.kde.plasma.mediacontroller,org.kde.plasma.keyboardlayout
hiddenItems=SimpleScreenRecorder,org.kde.plasma.battery,Plasma_microphone,Latte Dock_microphone
knownItems=org.kde.kdeconnect,org.kde.plasma.battery,org.kde.plasma.bluetooth,org.kde.plasma.clipboard,org.kde.plasma.devicenotifier,org.kde.plasma.keyboardindicator,org.kde.plasma.mediacontroller,org.kde.plasma.networkmanagement,org.kde.plasma.notifications,org.kde.plasma.printmanager,org.kde.plasma.volume,org.kde.plasma.nightcolorcontrol,org.kde.plasma.keyboardlayout
shownItems=octopi-notifier,org.kde.kdeconnect,org.kde.plasma.weather

[Containments][15]
activityId=
byPassWM=false
enableKWinEdges=true
formfactor=2
immutability=1
isPreferredForShortcuts=false
lastScreen=-1
layoutId=
location=3
name=
onPrimary=true
plugin=org.kde.latte.containment
raiseOnActivityChange=false
raiseOnDesktopChange=false
settingsComplexity=1
timerHide=700
timerShow=0
viewType=0
visibility=0
wallpaperplugin=org.kde.image

[Containments][15][Applets][100]
immutability=1
plugin=org.kde.windowtitle

[Containments][15][Applets][100][Configuration]
PreloadWeight=0

[Containments][15][Applets][100][Configuration][ConfigDialog]
DialogHeight=480
DialogWidth=640

[Containments][15][Applets][100][Configuration][General]
containmentType=Latte
filterActivityInfo=false
lengthFirstMargin=4
lengthMarginsLock=false
placeHolder=Plasma Desktop
showIcon=false

[Containments][15][Applets][101]
immutability=1
plugin=org.kde.plasma.kickoff

[Containments][15][Applets][101][Configuration]
PreloadWeight=100

[Containments][15][Applets][101][Configuration][ConfigDialog]
DialogHeight=540
DialogWidth=720

[Containments][15][Applets][101][Configuration][General]
favoritesPortedToKAstats=true
icon=manjaro
systemApplications=systemsettings.desktop,org.kde.kinfocenter.desktop
systemFavorites=suspend\\,hibernate\\,reboot\\,shutdown

[Containments][15][Applets][102]
immutability=1
plugin=org.kde.plasma.chiliclock

[Containments][15][Applets][102][Configuration]
PreloadWeight=0

[Containments][15][Applets][102][Configuration][Appearance]
customDateFormat=dd MMM yyyy
dateFormat=customDate
enabledCalendarPlugins=/usr/lib/qt5/plugins/plasmacalendarplugins/holidaysevents.so,/usr/lib/qt5/plugins/plasmacalendarplugins/pimevents.so
fixedFont=true
fontFamily=SFNS Display
fontSize=14
use24hFormat=2

[Containments][15][Applets][102][Configuration][ConfigDialog]
DialogHeight=552
DialogWidth=640

[Containments][15][Applets][125]
immutability=1
plugin=org.kde.plasma.betterinlineclock

[Containments][15][Applets][125][Configuration]
PreloadWeight=49

[Containments][15][Applets][125][Configuration][Appearance]
customDateFormat=dd MMM yyyy
dateFormat=customDate
fixedFont=true
fontSize=14

[Containments][15][Applets][125][Configuration][ConfigDialog]
DialogHeight=540
DialogWidth=720

[Containments][15][Applets][128]
immutability=1
plugin=org.kde.plasma.appmenu

[Containments][15][Applets][128][Configuration]
PreloadWeight=0

[Containments][15][Applets][56]
immutability=1
plugin=org.kde.plasma.systemtray

[Containments][15][Applets][56][Configuration]
PreloadWeight=100
SystrayContainmentId=13

[Containments][15][Applets][57]
immutability=1
plugin=org.kde.windowbuttons

[Containments][15][Applets][57][Configuration]
PreloadWeight=0

[Containments][15][Applets][57][Configuration][ConfigDialog]
DialogHeight=653
DialogWidth=640

[Containments][15][Applets][57][Configuration][General]
buttonSizePercentage=42
buttons=3|4|5|10|2|9
containmentType=Latte
lengthFirstMargin=6
lengthLastMargin=6
selectedPlugin=
spacing=6
useDecorationMetrics=false
visibility=ActiveMaximizedWindow

[Containments][15][ConfigDialog]
DialogHeight=909
DialogWidth=539

[Containments][15][Configuration]
PreloadWeight=0

[Containments][15][General]
alignment=10
alignmentUpgraded=true
animationLauncherBouncing=false
animationWindowAddedInGroup=false
animationWindowInAttention=false
appletOrder=101;100;128;125;56
autoSizeEnabled=false
dragActiveWindowEnabled=true
durationTime=x1
hideFloatingGapForMaximized=true
hideScreenGapForMaximized=true
iconSize=28
inConfigureAppletsMode=true
lengthExtMargin=2
maxLength=98
panelPosition=10
panelSize=100
panelTransparency=90
plasmaBackgroundForPopups=true
screenEdgeMargin=8
shadowColorType=Theme
shadowOpacity=0
shadowSize=0
shadows=None
shadowsUpgraded=true
solidBackgroundForMaximized=true
splitterPosition=4
splitterPosition2=6
taskScrollAction=ScrollNone
tasksUpgraded=true
thickMargin=0
titleTooltips=false
zoomLevel=0

[Containments][15][Indicator]
customType=
enabled=true
enabledForApplets=true
padding=0.07999999821186066
type=org.kde.latte.plasma

[Containments][15][Indicator][org.kde.latte.default][General]
glowApplyTo=OnActive

[Containments][16]
activityId=
byPassWM=false
dockWindowBehavior=true
enableKWinEdges=true
formfactor=2
immutability=1
isPreferredForShortcuts=false
lastScreen=-1
layoutId=
location=4
name=
onPrimary=true
plugin=org.kde.latte.containment
raiseOnActivityChange=false
raiseOnDesktopChange=false
settingsComplexity=1
timerHide=600
timerShow=200
viewType=0
visibility=4
wallpaperplugin=org.kde.image

[Containments][16][Applets][59]
immutability=1
plugin=org.kde.latte.plasmoid

[Containments][16][Applets][59][Configuration]
PreloadWeight=0

[Containments][16][Applets][59][Configuration][General]
audioBadgeActionsEnabled=false
hoverAction=PreviewWindows
isInLatteDock=true
launchers59=applications:firefox.desktop,applications:org.kde.dolphin.desktop,applications:spotify.desktop,applications:org.kde.konsole.desktop,applications:visual-studio-code.desktop
manualScrollTasksType=VerticalHorizontal
scrollTasksEnabled=true

[Containments][16][ConfigDialog]
DialogHeight=901
DialogWidth=539

[Containments][16][Configuration]
PreloadWeight=0

[Containments][16][General]
advanced=false
alignmentUpgraded=true
appletOrder=59
durationTime=x1
editBackgroundOpacity=0.5
iconSize=44
inConfigureAppletsMode=true
lastWindowsVisibilityMode=8
lengthExtMargin=10
manualScrollTasksType=VerticalHorizontal
mouseWheelActions=false
panelShadows=false
panelSize=100
panelTransparency=80
screenEdgeMargin=8
scrollAction=ScrollActivities
scrollTasksEnabled=true
shadowColor=263238
shadowOpacity=50
shadowSize=45
shadowsUpgraded=true
showGlow=false
splitterPosition=1
splitterPosition2=2
taskScrollAction=ScrollNone
tasksUpgraded=true
thickMargin=15
unifiedGlobalShortcuts=false
zoomLevel=4

[Containments][16][Indicator]
customType=org.kde.latte.dashtopanel
enabled=true
enabledForApplets=true
padding=0.20000000298023224
type=org.kde.latte.plasma

[Containments][16][Indicator][org.kde.latte.dashtopanel][General]
style=Ciliora

[Containments][16][Indicator][org.kde.latte.default][General]
activeStyle=Dot
extraDotOnActive=true
glowEnabled=true
glowOpacity=0.2
minimizedTaskColoredDifferently=true

[Containments][16][Indicator][org.kde.latte.unity][General]
style=Dot

[LayoutSettings]
activities=
background=
backgroundStyle=0
color=red
customBackground=
customTextColor=fcfcfc
disableBordersForMaximizedWindows=false
icon=
lastUsedActivity=286c1202-837f-4e30-a93e-3bacecd2a3cd
launchers=
popUpMargin=-1
preferredForShortcutsTouched=true
schemeFile=
sharedLayout=
showInMenu=true
textColor=fcfcfc
version=2
Comment 6 Michail Vourlakos 2021-07-10 05:20:09 UTC
In your layout as set conflicted properties:

just set,
Tasks(advanced) -> Scrolling -> Manual -> Only Horizontal Scrolling

having both Horizontals and Vertical Scrolling breaks the wheel behavior you are interested in.
Comment 7 Michail Vourlakos 2021-07-10 05:54:05 UTC
Git commit 8bf5b4ad70a92d93dcd9b2f7b33ae5310d0adad3 by Michail Vourlakos.
Committed on 10/07/2021 at 05:50.
Pushed by mvourlakos into branch 'v0.10'.

calculate scrolling length in (int) values

--calculations for tasks length exceed must be done
always in same arthmetic world either int or float for
all values. It is chosen the int case because latte
is providing applets length in int values

M  +1    -1    plasmoid/package/contents/ui/task/TaskMouseArea.qml
M  +2    -1    plasmoid/package/contents/ui/taskslayout/ScrollableList.qml

https://invent.kde.org/plasma/latte-dock/commit/8bf5b4ad70a92d93dcd9b2f7b33ae5310d0adad3
Comment 8 Michail Vourlakos 2021-07-10 05:54:44 UTC
Git commit bb713e1092bbd3a253fa0551caa63dd58294754c by Michail Vourlakos.
Committed on 10/07/2021 at 05:54.
Pushed by mvourlakos into branch 'master'.

calculate scrolling length in (int) values

--calculations for tasks length exceed must be done
always in same arthmetic world either int or float for
all values. It is chosen the int case because latte
is providing applets length in int values

M  +1    -1    plasmoid/package/contents/ui/task/TaskMouseArea.qml
M  +2    -1    plasmoid/package/contents/ui/taskslayout/ScrollableList.qml

https://invent.kde.org/plasma/latte-dock/commit/bb713e1092bbd3a253fa0551caa63dd58294754c
Comment 9 Michail Vourlakos 2021-07-10 05:56:01 UTC
fixed also for your scenario
Comment 10 ignazio.martinoli 2021-07-10 06:50:22 UTC
THANK YOU VERY MUCH! It was annoying me so much! I didn't figured out it was that. Thank you so much. It's solved now