kanryu / quickviewer

A image/comic viewer application for Windows, Mac and Linux, it can show images very fast
https://kanryu.github.io/quickviewer/
GNU General Public License v3.0
537 stars 64 forks source link

Key bindings are overridden on zoomed image #124

Closed d-uzlov closed 4 years ago

d-uzlov commented 4 years ago

Disable "Scroll with mouse wheel on zooming" to reproduce. If you zoom in image, so that its size exceeds the size of the program window, some of the key bindings are overridden. Left, Right, Up, Down, mouse WheelUp, mouse WheelDown (and maybe some other) keys are overridden with functions to position the image on the screen. I didn't find any way to change this behavior. So if I use WheelUp/WheelDown to go to prev/next image, then I have to either zoom out enough, turn on fitting, or set an additional hotkey.

Is there a way to keep key bindings (specifically mouse wheel ones) in a zoomed in state?

kanryu commented 4 years ago

The 'Left, Right, Up, Down, mouse WheelUp, mouse WheelDown' that you pointed out is exactly what you need to scroll the enlarged image you are viewing. So QuickViewer intentionally disables these input customizations.

This is necessary to provide an intuitive GUI.

d-uzlov commented 4 years ago

Welp, ok. I just feel like arrow keys and 'mouse click + drag' for scrolling enlarged image is intuitive enough, and in some cases even just 'mouse click + drag' is enough. For me the fact, that some of the key bindings are getting disabled is counter-intuitive on its own. But, I guess, it's just a matter of preferences.