Review Request 126718: Take into account QApplication::wheelScrollLines() in mouse wheel events
Aleix Pol Gonzalez
aleixpol at kde.org
Mon Jan 11 17:08:01 GMT 2016
> On Jan. 11, 2016, 5:44 p.m., Aleix Pol Gonzalez wrote:
> > src/kitemviews/kitemlistcontainer.cpp, line 204
> > <https://git.reviewboard.kde.org/r/126718/diff/1/?file=430377#file430377line204>
> >
> > What? xD
> >
> > Should it be `4*wheelScroolLines`?
>
> Marco Martin wrote:
> since numSteps is now 3 times bigger i wanted to balance somewhere else
Well, it's as bigger as `qApp->wheelScrollLines()`, so it should be compensated with the same magnitude. You're always doing it by 3 despite `qApp->wheelScrollLines()` could be any integer.
- Aleix
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/126718/#review90916
-----------------------------------------------------------
On Jan. 11, 2016, 6 p.m., Marco Martin wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/126718/
> -----------------------------------------------------------
>
> (Updated Jan. 11, 2016, 6 p.m.)
>
>
> Review request for Dolphin.
>
>
> Repository: dolphin
>
>
> Description
> -------
>
> when setting a different "mouse wheel scrolls by" value in the mouse kcm, the user expects every view to scroll more or less accordingly (even if it's not strictlya text view)
> This makes the scroll in dolphin take that into account
>
>
> Diffs
> -----
>
> src/kitemviews/kitemlistcontainer.cpp c9d521c
>
> Diff: https://git.reviewboard.kde.org/r/126718/diff/
>
>
> Testing
> -------
>
> with the default value (3) it should scroll with more or less the same speed it used to have
>
>
> Thanks,
>
> Marco Martin
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20160111/ffd133de/attachment.htm>
More information about the kfm-devel
mailing list