yellowQ-software / yellowQ-Flutter-Image-Painter

Flutter package for painting on images
MIT License
106 stars 117 forks source link

Usability Issue: Zooming in the free draw mode. #29

Open cooliooau opened 2 years ago

cooliooau commented 2 years ago

There is a usability issue in the drawing mode. For example, in the free draw mode, if user zoom in or out the image, there will be dots and lines drew on the image. The widget should recognise it's a zooming action and not drawing anything on the image.

How to prevent this?

One workaround is to disable the zooming function when it's in drawing mode. How to write code to achieve this?

Please advise.

Thanks

lively-bigyan commented 2 years ago

Hi @cooliooau. Thank you for opening up the issue. That is a concern for sure. There were measures implemented but dots were still there even if we tracked pointers. The issue is that we cannot delay the drawing to see if the user is pinching or not. It just presents unnecessary delay which makes it seem like it is less responsive. Even if we try to pinch at the same time with both fingers, one of the fingers is registered a tad bit sooner than the other which means the first touch already starts painting. The simplest solution would be for the users to manually switch to zoom/none mode before pinch-zooming which doesn't register the event. Meanwhile, I will experiment with pointers to see if I can mitigate the issue.

cooliooau commented 2 years ago

Hi @lively-bigyan, I know i can disable the Zoon function, But how to remove or hide the Zoom from the menu? If zoom is disabled, there is no point to show the Zoom in the menu. Is there a way to do it? Please advise.

Thanks you.

sgehrman commented 1 month ago

same issue. This is unusable.