Review Request 129409: Fix scrolling in dock panels

Elvis Angelaccio elvis.angelaccio at kde.org
Thu Nov 17 10:37:27 GMT 2016



> On Nov. 17, 2016, 1:05 a.m., Aleix Pol Gonzalez wrote:
> > This looks like a workaround

Why? This is how Dolphin computes the scrollbar's singleStep. All the views are supposed to provide a valid itemSize.


- Elvis


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129409/#review100895
-----------------------------------------------------------


On Nov. 16, 2016, 6:55 p.m., Elvis Angelaccio wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129409/
> -----------------------------------------------------------
> 
> (Updated Nov. 16, 2016, 6:55 p.m.)
> 
> 
> Review request for Dolphin, Emmanuel Pescosta and Martin Tobias Holmedahl Sandsmark.
> 
> 
> Bugs: 365968
>     https://bugs.kde.org/show_bug.cgi?id=365968
> 
> 
> Repository: dolphin
> 
> 
> Description
> -------
> 
> The reason why scrolling is smooth in the DolphinView but not in the dock panels is: https://bugs.kde.org/show_bug.cgi?id=365968#c19
> 
> So we just need to set a default itemSize in the KStandardItemListView constructor.
> The itemHeight is computed like in DolphinItemListView::updateGridSize().
> 
> 
> Diffs
> -----
> 
>   src/kitemviews/kstandarditemlistview.cpp 6471002c72f7a854b54d653f5248939a7861a225 
> 
> Diff: https://git.reviewboard.kde.org/r/129409/diff/
> 
> 
> Testing
> -------
> 
> Scroll is now smoot both in Places and Folders dock panels. Tested with xf86-input-libinput and xf86-input-evded drivers, and libinput on Wayland.
> 
> 
> Thanks,
> 
> Elvis Angelaccio
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20161117/d3cfcd7b/attachment.htm>


More information about the kfm-devel mailing list