Bug 224198 - listbox for choosing a wallpaper scrolls pagewise when using scrollwheel
Summary: listbox for choosing a wallpaper scrolls pagewise when using scrollwheel
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Plasma
Component: wallpaper-image (show other bugs)
Version: 4.8.0
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-25 19:10 UTC by Martin Koller
Modified: 2012-09-23 11:02 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.9.2


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2010-01-25 19:10:57 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

This is probably a kdelibs general problem.
The listbox showing the different wallpapers in the "desktop activity settings" scrolls a full page when I use the mouse scrollwheel.
This is much too far as the scrollwheel should scroll the view just by a part of the view (e.g. 1/4 or less), otherwise I simply lose track of what I currently see.
Compare the behaviour with other usages of the scrollwheel in KDE and you'll see that the wheel is more for "slow scrolling" but not for pagewise jumps.
Comment 1 Kolia 2011-12-03 17:30:54 UTC
Works for me in KDE 4.7.3, do you still experience this problem?
Comment 2 Martin Koller 2011-12-03 20:32:26 UTC
No, it does not work better in 4.7.3. It is still the same behavior: The mouse wheel scrolls page-wise - the same amount as if you click on the scrollbar area to scroll a whole page.
Interestingly the pageUp/pageDown keys do also not work correctly.
Instead of scrolling a page, they just move the selection 1 element up/down, in the same way as if you use the Up/Down cursor keys.
Comment 3 Jekyll Wu 2012-01-04 23:30:14 UTC
The problem still exists in KDE SC 4.8 RC2
Comment 4 Reza 2012-09-23 11:02:06 UTC
Git commit 713332e360b7063a11cfb20bdba5ddd0c16394ef by Reza Shah.
Committed on 23/09/2012 at 12:56.
Pushed by rshah into branch 'KDE/4.9'.

Improved mouse wheel scrolling behaviour (smooth scrolling).
As mentioned in https://bugs.kde.org/show_bug.cgi?id=224198

This fixed reuse itemsview class from knewstuff.
FIXED-IN: 4.9.2
REVIEW: 106536

A  +32   -0    plasma/generic/wallpapers/image/itemsview.cpp     [License: LGPL (v2.1+)]
A  +32   -0    plasma/generic/wallpapers/image/itemsview.h     [License: LGPL (v2.1+)]

http://commits.kde.org/kde-workspace/713332e360b7063a11cfb20bdba5ddd0c16394ef