FreePaint icon indicating copy to clipboard operation
FreePaint copied to clipboard

[Bug] FreePaint Bug Report (v1.0.2)

Open TechMorgan opened this issue 1 year ago • 3 comments
trafficstars

  1. App crashes when double tapping while using paint brush and eraser.

  2. When using the eraser, instead of creating a closed path to erase the entire segment, I want an option to use a normal eraser to erase specified amount of the line based on where I slide on it.

Device

  • OS/version: Oxygen OS (Android 13)
  • Device: OnePlus Nord CE 3

TechMorgan avatar May 24 '24 07:05 TechMorgan

This may be an issue for 1.0.2, but I can't seem to reproduce it on the latest version of FreePaint, 1.2.0, on stock Android. Could you send a video (or preferably, logcat) of when FreePaint crashes? Also, you've listed a feature request along with your bug report - since it's unrelated to the bug, please make a separate feature request. Thanks!

pastthepixels avatar May 26 '24 20:05 pastthepixels

Now updated it to 1.2.0, bug still exists

https://github.com/pastthepixels/FreePaint/assets/83485038/9bcbd1c9-866a-4537-87cd-2c8708f9110b

TechMorgan avatar Jun 09 '24 08:06 TechMorgan

Hmm... without logcat I think the most likely thing causing this is with my code regarding touch input. Basically it registers a point in a path when your finger goes down on the screen (including every time it's moved) and, when your finger is lifted, iterates through the list of points assuming there's at least one point. Maybe this is an edge case caused by your phone or OS telling FreePaint that your finger lifted from the screen before it told FreePaint that your finger even touched the screen, causing it to crash because it thinks there's at least one point.

pastthepixels avatar Aug 20 '24 19:08 pastthepixels

Closing in favour of #30 and #31

pastthepixels avatar Oct 27 '24 22:10 pastthepixels