[Okular-devel] Review Request: Implement the handling of page rotations for source references

Michel Ludwig michel.ludwig at gmail.com
Tue Sep 25 22:12:53 UTC 2012



> On Sept. 25, 2012, 9:44 p.m., Albert Astals Cid wrote:
> > Ok, i'm a bit confused again, sorry for that, but reading the patch (I'm really trying to get it in for 4.10) and it says
> > 
> > For document::setViewport
> > Note that coordinates given in @p viewport must be relative to Rotation0.
> > 
> > But then in Part::slotGotoLast() we actually give different x, y depending on the rotation, but shouldn't we always pass 0,1 if we need to pass them based on the Rotation0?

This refers to the question of what Part::slotGotoLast() is supposed to do :)

If I remember correctly, I took it as "move the horizontal scrollbar as far left as possible, and the vertical one as far down as possible", and that point then depends on the current rotation.


- Michel


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


On Sept. 18, 2012, 9:08 p.m., Michel Ludwig wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> http://git.reviewboard.kde.org/r/103060/
> -----------------------------------------------------------
> 
> (Updated Sept. 18, 2012, 9:08 p.m.)
> 
> 
> Review request for Okular.
> 
> 
> Description
> -------
> 
> Implement the handling of page rotations for source references.
> 
> 
> Diffs
> -----
> 
>   core/document.h 85cd821 
>   core/document.cpp 9d6b25c 
>   core/page.h a8f2761 
>   core/page.cpp d746382 
>   core/utils.h 8d5d5fc 
>   core/utils.cpp 5dd8448 
>   generators/dvi/generator_dvi.cpp 5cd327f 
>   generators/poppler/generator_pdf.cpp c63753e 
>   part.cpp fe11189 
>   ui/pagepainter.cpp 537e5c5 
>   ui/pageview.h 8cf8844 
>   ui/pageview.cpp d3e1888 
>   ui/side_reviews.cpp a35f9ed 
>   ui/thumbnaillist.cpp 60288cb 
> 
> Diff: http://git.reviewboard.kde.org/r/103060/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Michel Ludwig
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/okular-devel/attachments/20120925/5effebce/attachment-0001.html>


More information about the Okular-devel mailing list