every_door icon indicating copy to clipboard operation
every_door copied to clipboard

[Bug] Undo button sometimes removes next to last line

Open pkoby opened this issue 1 year ago • 1 comments

For some reason, sometimes after adding a line in Draw Mode, a hit of the Undo button removes the line drawn before the last line. I cannot reproduce it consistently, so I am unable to pin it to zoom level, switching backgrounds, or how quickly I hit undo.

Like my other issue, this could be allieved by a redo option, but I think this is actually a bug.

EDIT: I think it might be due to caching lag/RAM issues. I have a Moto X4 with 3GB of RAM that is often insufficient. I reproduced the issue by zooming out, thus loading more map tiles, then drawing long lines and quickly undoing. It took half a second for the lines to settle after drawing, during which process an undo action would affect earlier lines.

EDIT 2: Okay, what really does it is loading new day for an area, then drawing lines. It seems to lag until I close and reopen the app.

pkoby avatar Jul 13 '24 12:07 pkoby

The lag is weird: it does indeed take a few milliseconds to save a line, but to undo in that time... One must have really good reflexes!

Zverik avatar Sep 21 '24 19:09 Zverik