mihonapp / mihon

Free and open source manga reader for Android
Apache License 2.0
9.84k stars 445 forks source link

The number of pages turned is not equal to the number of clicks #721

Open zhangzih4n opened 5 months ago

zhangzih4n commented 5 months ago

Steps to reproduce

When the reading speed is so fast that the clicking speed exceeds the page turning speed, subsequent clicks will appear abnormally. (Especially when this bug has not been fixed https://github.com/mihonapp/mihon/issues/700)

  1. Disable "Double tap to zoom"
  2. Change "Default reading mode" to "Long strip"
  3. Open a comic to test

Expected behavior

The number of pages turned equals the number of clicks. For example, if I tap the screen twice, it should turn two pages, and if I tap the screen five times, it should turn five pages in a row.

Actual behavior

Test:

  1. Tap the screen once: Turned one page
  2. Tap the screen twice: No action
  3. Tap the screen three times: Turned one page
  4. Tap the screen four times: No action
  5. Tap the screen five times: Turned one page …

Crash logs

No response

Mihon version

0.16.5

Android version

Android 14

Device

Redmi Note 12 Turbo

Other details

This seems to be caused by the "Double tap to zoom" feature, which blocks all even-numbered taps

When this feature is disabled, it should not hook click actions

Acknowledgements

mm12 commented 2 months ago

Is it possible you are looking at wide pages? The page count is the number of images, not the number of zoomed pages.

zhangzih4n commented 2 months ago

Is it possible you are looking at wide pages? The page count is the number of images, not the number of zoomed pages.

No, it only has to do with the odd and even number of clicks, not the number of images.

mm12 commented 2 months ago

No to which thing? You are not looking at wide pages?

zhangzih4n commented 2 months ago

No to which thing? You are not looking at wide pages?

The reading mode I use is "Long strip". And no matter what comic, no matter which page, this problem exists

And after all "wide pages" options are turned off, the problem still exists