Glitchy / Lag on drawing tool

Popping a Forum from Discord.
Couple users have reported glitchy performance, and …

I’ve tested the drawing tool and also can confirm there is some funny business going on…

Seems to spike now - started triggering when I was playing with switching colours.

so does the lag happen only when switching colors, or with other drawing actions like during drawing strokes?

does the lag happen when the drawing is already complex or on new drawings too?

its lagging after i finished a stroke and it seems to start to smooth drawing out in a space with cards.
But in empty space its not lagging.

i need some clarification

its lagging after i finished a stroke

what is lagging afterwards? drawing subsequent strokes or some other interaction?

seems to start to smooth drawing out in a space with cards.

sorry i’m not sure what you mean by this. so in a space with cards it doesn’t lag after strokes?

  1. i click d and for example draw a line.
  2. once i finished drawing a line ( released left mouse button ) the line starts some rendering aka “smoothing” process.
  3. during this smoothing process lag appears

if there are NO cards in space or other drawings - it doesnt lag untill i draw or add some cards

What’s the spec of your computer again? I’ll try and repro this on a raspberry pi later this week

Okay did a test.

Seems better than yesterday but able to somewhat repo the lag.

Everything works fine; if you dont switch the colour (New space)

  1. Works fine on default colour + resizing + erasing.

Issues start propping up; when you switch colours say 2-3 times, making strokes per colour then also changing brush sizes.
2. Starts to lag; unresponsive (sometimes - cant really pin point how to repo this)
3. The end of stroke lag - before you let go of mouse; there is a slight delay making an small stroke.
4- The test space - Doing very fast paint strokes rapidly - like hatching: https://kinopio.club/july-8-2025-kbRIVK_iuzGosR9X7LHJ6

Hope this helps

super helpful thx!

When you refresh the page and try drawing again on top of the existing drawing, is it still slow?

tried to repro but couldn’t on firefox/mac, will try others later

in the console, once it starts being slow, if you run window.globalStore.drawingStrokeColors in the console what do you see?

also same for window.spaceStore.drawingStrokes

  • what happens if you only change brush sizes and keep color constant ?
  • what about if you only change colors and keep size constant?

i5-1035G7, 8Ram, intel discrete gpu

It was working fine before the update

1 Like

Yup that should be fast enough. Let me know if you’re experience matches Tony’s, and if so provide answers to the other Qs

It sure sounds like some kind of memory leak but I need answers on the previous Qs to find the source bc I can’t repro directly

pinging @tonytran , @Daniil to provide answers for the above debugging Qs whenever

only experience lag when I release the left mouse button, both when drawing and erasing — regardless of color, size, or any other setting no matter i draw on top of other drawing…
I can draw for 10 seconds straight while holding the button, and everything works fine.
But as soon as I release the button, the lag starts immediately (most likely a full browser freeze in this case because i cant switch tab during lag).

i cant run during lag bc browser is freezed xd

can you run these commands in the console?

in the console, once it starts being slow, if you run window.globalStore.drawingStrokeColors in the console what do you see?

also same for window.spaceStore.drawingStrokes