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
539 stars 65 forks source link

Supports touch panel input #43

Closed kanryu closed 7 years ago

kanryu commented 7 years ago

QuickViewer supports touch panel input from the next release.

Currently it corresponds to the following input:

If you have the operation method you desire and corresponding action, please comment :)

GitHubRulesOK commented 7 years ago

Two fingers seems to have no effect (cant get fullscreen) On my system Lower Left to Right swipe goes previous, is that correct •Right to Left swipe at the top of the screen Moves zoomed in document to the Left (Hand icon) •Left to Right swipe at the top of the screen Moves zoomed in document to Right (Hand icon) It would be nice to use pinch / spread to zoom in /out

kanryu commented 7 years ago

Sorry, Swipe left and right reversed. This operation is reversed in direction by the flag of 'Bound on the right side'.

Two finger swipes may differ depending on OS and tablet models. I tested a Lenovo tablet with Windows 10 installed.

Although pinch operation is implemented, we only implemented relatively simple operations this time.

GitHubRulesOK commented 7 years ago

Ok could be my tablet hardware Small Acer 1420p (with touchscreen) Win7x64 touchpad drivers may need update other useful option would be 2 finger rotate for picture formats that don't have EXIF rotation data

kanryu commented 7 years ago

There is a high possibility that the PC of Windows 7 or earlier is not compatible with multi-touch. If they do not support multi-touch, you can not use all two finger swipe and pinch operations.

It may be better to design it so that it can be substituted by Ctrl or Shift key.

Normally, single touched panel will be entered by finger gesture (mouse gesture).

GitHubRulesOK commented 7 years ago

I can confirm touchpad (NOT touchscreen) will zoom in out

touch pad is temperamental on rotate etc. so larger movements on touchscreen are preferred obviously on touchscreen I can select buttons to zoom rotate etc so generally not a problem

however there are no buttons on full screen, it would be fantastic if there was an option for floating custom group of buttons

kanryu commented 7 years ago

If we respond to image size change and rotation by pinch operation, it would be desirable to cancel the operation by double tap.

Mouse gesture input would be preferable if it supports PCs that can not be multi-touch, but it probably conflicts with touch panel input. It will be provided in a form that can be used either way.

kanryu commented 7 years ago

I implemented.