Review Request 123136: Fix one pixel gap between screenedge and right placed vertical panel

David Edmundson david at davidedmundson.co.uk
Fri Mar 27 12:04:29 UTC 2015



> On March 26, 2015, 4:59 p.m., David Edmundson wrote:
> > shell/panelview.cpp, line 443
> > <https://git.reviewboard.kde.org/r/123136/diff/1/?file=356709#file356709line443>
> >
> >     and here?
> 
> Bhushan Shah wrote:
>     bottomLeft is fine, in general anythingLeft is fine.

bottomLeft's bottom will be wrong still though?

Returns the position of the rectangle's bottom-left corner. Note that for historical reasons this function returns QPoint(left(), top() + height() - 1).


- David


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


On March 27, 2015, 12:03 p.m., Bhushan Shah wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/123136/
> -----------------------------------------------------------
> 
> (Updated March 27, 2015, 12:03 p.m.)
> 
> 
> Review request for Plasma, Martin Gräßlin and Marco Martin.
> 
> 
> Bugs: 339323 and 340549
>     https://bugs.kde.org/show_bug.cgi?id=339323
>     https://bugs.kde.org/show_bug.cgi?id=340549
> 
> 
> Repository: plasma-workspace
> 
> 
> Description
> -------
> 
> Appearantly right() / bottomRight() / topRight() returns values with 1
> pixel x off for historical reasons and hence 1px gap. This causes the
> autohide panel not hiding automatically.
> 
> 
> Diffs
> -----
> 
>   shell/panelview.cpp 3435736 
> 
> Diff: https://git.reviewboard.kde.org/r/123136/diff/
> 
> 
> Testing
> -------
> 
> added right aligned panel and tested various combinations
> 
> 
> Thanks,
> 
> Bhushan Shah
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20150327/117214cf/attachment-0001.html>


More information about the Plasma-devel mailing list