From: Tomislav Pap Date: Mon, 24 Mar 2025 23:23:07 +0000 (+0000) Subject: [PATCH] Fix Scroll Wheel issue in AllApps submenu of Application Dashboard X-Git-Tag: archive/raspbian/4%6.3.6-2+rpi1^2~29 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=748b5cc6da7cf5314d4db4fae98c4c436fc9e5fb;p=plasma-workspace.git [PATCH] Fix Scroll Wheel issue in AllApps submenu of Application Dashboard Scroll with mouse wheel was problematic in AllApps subsection. It worked partially, abruptly stopping when hovering over app icons, or just during mouse wheel scrolling. The problem is that QQuick WheelInterceptor::findwheelArea() never entered into its if statement because there are 3 children elements of QML parent, and their z axis values are 1, 0, 0 respectfully. BUG: 486481 FIXED-IN: 6.4.0 Gbp-Pq: Name upstream_4f9b1a69_Fix-Scroll-Wheel-issue-in-AllApps-submenu-of-Application-Dashboard.patch --- diff --git a/applets/kicker/plugin/wheelinterceptor.cpp b/applets/kicker/plugin/wheelinterceptor.cpp index a79130bc..1e797857 100644 --- a/applets/kicker/plugin/wheelinterceptor.cpp +++ b/applets/kicker/plugin/wheelinterceptor.cpp @@ -51,7 +51,7 @@ QQuickItem *WheelInterceptor::findWheelArea(QQuickItem *parent) const // HACK: ScrollView adds the WheelArea below its flickableItem with // z==-1. This is reasonable non-risky considering we know about // everything else in there, and worst case we break the mouse wheel. - if (child->z() == -1) { + if (child->z() >= -1) { return child; } }