Please implement a zoom to selection option

Bug #1282442 reported by Benjamin Eltzner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qpdfview
Fix Released
Wishlist
Adam Reichold

Bug Description

Hi, I would like to forward this feature request from the Debian bug tracking system. For the full bug report see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=739554

"another feature that would be nice to have in qpdfview is a "zoom to
selection" option (similar to the command found in xpdf).
This option could for instance be associated with the middle mouse
button: clicking with the middle mouse button somewhere on the document
page, holding the button pressed and dragging the mouse to another point
would highlight a rectangular area (for instance with a dashed rectangular
boundary or maybe by displaying the rectangular area in inverted colors);
releasing the middle mouse button would zoom to the selected area
(that is to say, it would treat the selected area as the "page" to
be shown in Page-size mode)."

I for one am very content with the existing methods of adjusting zoom, but if you have some spare time, now you know what would make at least one user happier. :-)

Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello,

this seems like a sensible idea even though just mapping it to the middle mouse button will be hard to discover and I can already see that follow-up bug report about making it configurable on the horizon... :-) I'll look into it when I find the time. Patches welcome in any case... :-)

Best regards, Adam.

Changed in qpdfview:
status: New → Triaged
Revision history for this message
Adam Reichold (adamreichold) wrote :

Hello again,

just committed an implementation using dragging of the middle mouse button to trunk revision 1497. Could you build it and try it out? Thanks.

Best regards, Adam.

P.S.: It does not yet work correctly in multiple page layouts due to an older problem which I'll hopefully have fixed soon...

Changed in qpdfview:
status: Triaged → In Progress
assignee: nobody → Adam Reichold (adamreichold)
milestone: none → 0.4.10
Revision history for this message
Adam Reichold (adamreichold) wrote :

Ok, also committed a fix for multiple-page layouts...

Changed in qpdfview:
status: In Progress → Fix Committed
Changed in qpdfview:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.