Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
135 stars 2 forks source link

PDF viewer can be zoomed in by accident #1872

Open art0007i opened 5 months ago

art0007i commented 5 months ago

Describe the bug?

I keep accidentally zooming in by clicking the PDF viewer. It would be nice to have a toggle to disable the zooming behavior. Most often this will happen by physically touching the PDF viewer with my finger when I'm trying to point at a specific part of it.

To Reproduce

Click somewhere on the PDF viewer. It will now be zoomed in to a very small area.

Expected behavior

A way to disable the zooming in functionality.

Screenshots

This video demonstrates how easy it is to accidentally zoom in a pdf, by simply walking through it.

https://github.com/Yellow-Dog-Man/Resonite-Issues/assets/19620451/e5e1005e-88af-4e57-afd0-ffa64e6e5715

Additional Context

No response

Reporters

No response

shiftyscales commented 5 months ago

I think better options would probably be to require a double tap to zoom like is featured on mobile platforms. This would make it require a much more deliberate input and should avoid accidental zooms as you highlighted.

Separately to that, having buttons to control the zoom steps directly on the interface would also be useful to manually zoom in/out to a target percentage, or have it auto-scale to the width of the interface, or full view of the page- similar to PDF viewer functionality found elsewhere.