KotatsuApp / Kotatsu

Manga reader for Android
https://kotatsu.app
GNU General Public License v3.0
4.17k stars 182 forks source link

Incorrect page switching when zoomed in #1052

Open raitonoberu opened 2 months ago

raitonoberu commented 2 months ago

Brief summary

Hello!! First of all, I really enjoy using Kotatsu, thank you for creating this beautiful app.

There is only one thing that really pisses me off. When zoomed in, I want to horizontally scroll the page with one finger, but sometimes it randomly switches to the next (or previous) page while in the middle of the current page. It would be great if pages only switched when you touch the edge of the image.

Hope that the explanation is clear enough, if it's not, let me know and I will try to record a video.

Steps to reproduce

  1. Open a page
  2. Zoom in
  3. Try to horizontally scroll the image
  4. Sometimes it switches the page

Kotatsu version

7.4.3

Android version

14

Device

Nothing Phone 2a

Acknowledgements

raitonoberu commented 2 months ago

I think I understand now what the problem is.

It only happens when the image touches the other edges of the screen (top or bottom in standard mode) and I move my finger slightly in the opposite direction.

Try zooming in, move to the middle from the bottom and slowly move your finger diagonally away from the bottom left corner.

So the solution is to limit the "hot" edges to the right and left in horizontal modes and top and bottom in vertical modes. I would be happy to help, but I don't know anything about android development.