Review Request 113902: Fix scrollbar spacing when no scrollbar is visible in dolphin.

Yichao Yu yyc1992 at gmail.com
Mon Nov 18 14:02:50 GMT 2013



> On Nov. 17, 2013, 11:27 a.m., Frank Reininghaus wrote:
> > Thanks for the patch! I cannot test it at the moment, but only taking the scrollbar spacing into account if a scroll bar is shown looks very reasonable.
> > 
> > Concerning the branches: KDE/4.11 is sufficient for bug fixes. We merge KDE/4.11 into KDE/4.12 and KDE/4.12 into master regularly.
> > 
> > Do you have a KDE git account?

Thank you for the review.

No I don't have an KDE git account yet. I can ask someone else to push it for me but it will also be very nice if you could push this.

(Sorry for the delay. Seems that I forgot to publish my comment.) = = ...


- Yichao


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113902/#review43844
-----------------------------------------------------------


On Nov. 18, 2013, 2:02 p.m., Yichao Yu wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/113902/
> -----------------------------------------------------------
> 
> (Updated Nov. 18, 2013, 2:02 p.m.)
> 
> 
> Review request for Dolphin, Frank Reininghaus and Peter Penz.
> 
> 
> Bugs: 306631
>     http://bugs.kde.org/show_bug.cgi?id=306631
> 
> 
> Repository: kde-baseapps
> 
> 
> Description
> -------
> 
> Dolphin reserve space for scrollbar spacing even when no scrollbar is visible resulting in a ugly gap in the view when:
> 1. the theme uses QStyle::SH_ScrollView_FrameOnlyAroundContents and
> 2. the theme has a positive PM_ScrollView_ScrollBarSpacing.
> 
> QtCurve can have both while Oxygen have 1 but not 2.
> To reproduce the problem with Oxygen style. Replace the `width += ....` (which returns -2 or 0 for Oxygen) with `width += 2`.
> 
> See more info here[1].
> 
> [1] https://github.com/QtCurve/qtcurve-qt4/issues/9#issuecomment-28630517
> 
> 
> Diffs
> -----
> 
>   dolphin/src/kitemviews/kitemlistcontainer.cpp f2e94b7 
> 
> Diff: http://git.reviewboard.kde.org/r/113902/diff/
> 
> 
> Testing
> -------
> 
> Logic looks right.
> Compiled and it fixes the problem.
> 
> 
> Thanks,
> 
> Yichao Yu
> 
>

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


More information about the kfm-devel mailing list