[Okular-devel] Review Request 122752: Fixed change in mouse cursor appearance (when selected Selection tool)
Pulkit Gupta
pulkitgenius at gmail.com
Fri Aug 14 20:52:14 UTC 2015
> On March 30, 2015, 6:11 p.m., Albert Astals Cid wrote:
> > ui/pageview.cpp, line 3846
> > <https://git.reviewboard.kde.org/r/122752/diff/3/?file=355849#file355849line3846>
> >
> > Where does this 5 come from?
>
> Albert Astals Cid wrote:
> ping?
>
> Pulkit Gupta wrote:
> Sir, the mouse cursor will change as soon as its 5 units near the end of document (bottom or right end). Setting it to lower value caused mouse cursor not changing when user moved its mouse at a fast rate and setting it at higher value would change the mouse cursor appearance even before when its near to the end of document. Therefore I put the distance value from bottom/right edge to 5 units (I think of it as optimum value).
>
> Albert Astals Cid wrote:
> Why 5 and not 6? or 4? or 33?
It can be set for 6 or 4, but setting it at 33 will change the appearance of cursor even before it reaches the end of the document. Therefore we have to chose a value which is small but at the same time, it should be enough to cover the area which can detect the mouse movements. So, I chose 5, but we can also chose 4 or 6 and it will still work.
- Pulkit
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/122752/#review78239
-----------------------------------------------------------
On March 20, 2015, 7:41 a.m., Pulkit Gupta wrote:
>
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/122752/
> -----------------------------------------------------------
>
> (Updated March 20, 2015, 7:41 a.m.)
>
>
> Review request for Okular and Albert Astals Cid.
>
>
> Bugs: 334798
> http://bugs.kde.org/show_bug.cgi?id=334798
>
>
> Repository: okular
>
>
> Description
> -------
>
> Solved the bug where mouse cursor appearance was not changing (when selected Selection Tool) when hovering over certain areas in okular.
>
>
> Diffs
> -----
>
> ui/pageview.cpp 49d6f8a
>
> Diff: https://git.reviewboard.kde.org/r/122752/diff/
>
>
> Testing
> -------
>
>
> Thanks,
>
> Pulkit Gupta
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20150814/c436ce09/attachment.html>
More information about the Okular-devel
mailing list