Bug 348254

Summary: 4.x applications do not follow 5.x vertical scroll velocity settings
Product: [Applications] systemsettings Reporter: Marcus Harrison <marcus>
Component: kcm_mouseAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: aledimax, bhush94, kde, plasma-bugs, unassigned-bugs, wbauer1
Priority: NOR    
Version: 5.3.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In: 5.7.4
Sentry Crash Report:

Description Marcus Harrison 2015-05-26 16:42:47 UTC
Using the mouse wheel to scroll through desktop widgets that have a scroll bar, such as the Application Launcher, Add Widgets dialogue or Network Manager applet, results in a very slow scroll speed that is inconsistent with its use in standard scroll widgets in desktop applications, such as Dolphin.

Additionally, using the setting found in System Settings-->Input Devices-->Mouse-->Advanced labelled "Mouse wheel scrolls by:" to increase the lines that the mouse wheel scrolls applies this setting in standard scroll widgets in desktop applications like Dolphin, but has no effect on the scroll speed of Plasma widgets.

Reproducible: Always
Comment 1 Marcus Harrison 2015-05-26 16:44:34 UTC
Actually, sorry: the setting I listed does not appear to affect the scroll speed of either Plasma widgets nor standard scroll widgets in applications. Should I report that as a separate bug?
Comment 2 Kai Uwe Broulik 2015-05-26 16:46:07 UTC
The Plasma ScrollView thing has been fixed for Qt 5.5 by https://codereview.qt-project.org/#/c/109615/

But that it does not work for traditional application scroll views is strange. Perhaps a glitch in the Framework integration plugin?
Comment 3 Marcus Harrison 2015-05-26 17:42:49 UTC
Perhaps. My Dolphin install is based on KDE 4.14.7. The setting does work for Frameworks 5.10-based System Settings.
Comment 4 Kai Uwe Broulik 2015-05-26 18:52:18 UTC
Perhaps we're missing some kde4 settings migration there.
Comment 5 Marcus Harrison 2015-05-26 19:18:36 UTC
Should this be assigned to the frameworks-frameworkintegration product?
Comment 6 Kai Uwe Broulik 2015-05-26 19:36:36 UTC
I think it's the systemsettings module that needs to write to both config locations.
Comment 7 David Edmundson 2015-05-26 21:11:31 UTC
Yeah, we track settings/daemon stuff in systemsettings

Could you look in ~/.config/kdeglobals and ~/.kde4/share/config/kdeglobals and look for anything related to mouse settings?
Comment 8 Marcus Harrison 2015-05-26 23:00:07 UTC
What should I be looking for? I can't find anything related to "mouse", "input" or "scroll" in either file.
Comment 9 Alessandro Di Martino 2015-05-27 11:34:40 UTC
I have the same problem: increasing "Mouse wheel scrolls by" does not seem to have any effect.

I'm using Kubuntu 14.04 LTS.
KDELibs Version: 4.13.3
Qt Version: 4.8.6
Kernel Version: 3.16.0-38-generic
OS-Type: 64-bit

Also, I can't find these two files:
~/.config/kdeglobals and ~/.kde4/share/config/kdeglobals
Comment 10 Wolfgang Bauer 2016-08-18 07:42:06 UTC
https://git.reviewboard.kde.org/r/128703/ should fix the problem that the "Mouse wheel scrolls by:" setting was not written correctly to the KDE4 config.
Comment 11 Wolfgang Bauer 2016-08-18 08:29:53 UTC
Git commit 4f4da83327e66f125c8dd1749df8efe1b5084945 by Wolfgang Bauer.
Committed on 18/08/2016 at 08:26.
Pushed by wbauer into branch 'Plasma/5.7'.

[kcm_mouse] Sync KDE4 config after writing the KF5 settings, not before

Kdelibs4SharedConfig::syncConfigGroup() reads the settings from the
corresponding KF5 config files.
If we don't write them before, it will use the previous settings.

Also fix Kdelibs4SharedConfig::syncConfigGroup() to read the settings
from the specified config file instead of always kdeglobals.
Related: bug 367074
FIXED-IN: 5.7.4
REVIEW: 128703

M  +4    -3    kcms/input/mouse.cpp
M  +1    -1    kcms/migrationlib/kdelibs4config.h

http://commits.kde.org/plasma-desktop/4f4da83327e66f125c8dd1749df8efe1b5084945