FreePaint
FreePaint copied to clipboard
[Bug] FreePaint Bug Report (v1.0.2)
-
App crashes when double tapping while using paint brush and eraser.
-
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
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!
Now updated it to 1.2.0, bug still exists
https://github.com/pastthepixels/FreePaint/assets/83485038/9bcbd1c9-866a-4537-87cd-2c8708f9110b
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.
Closing in favour of #30 and #31