Menu

#597 Zooming in PDFviewer page jumps

closed
nobody
None
5
2012-10-17
2012-08-22
spieb
No

SVN3194
Whenever you zoom in the internal PDF viewer using the slider or ctrl+mouse wheel (especially jumping over the 100% mark) the viewer jumps to the previous or next page.

Discussion

  • Tim Hoffmann

    Tim Hoffmann - 2012-08-22

    Appears to happen, when the number of visible pages changes (which is around 100% for many screens).

     
  • Tim Hoffmann

    Tim Hoffmann - 2012-08-23

    The vertical position is changed twice:

    1. PDFWidget::adjustSize: maintaining the center position on zooming
    2. PDFWidget::doZoom: apply a correction offset to keep the the position under the cursor constant instead of the center position.

    Apparently 2. goes wrong, when the number of visible pages changes. Though, I don't see where in between all the different coordinate systems.

     
  • Tim Hoffmann

    Tim Hoffmann - 2012-09-06

    fixed in rev. 3277

     

Log in to post a comment.

MongoDB Logo MongoDB