Discuss Scratch

nembence
Scratcher
500+ posts

Sprites flickering when dragging a block

My browser / operating system: Windows NT 10.0, Chrome 131.0.0.0, No Flash version detected
Browser viewport size: 1280px×863px (maximized window with bookmarks bar)
it needs to be tall enough so that 4 sprites fit below each other with a small stage - if your window is smaller, zoom out to simulate larger window

Reproduction steps: (Epilepsy warning)
  • Go to the project editor
  • Switch to small stage using the button next to the fullscreen
  • Make 4 sprites, the bottom right selected
    –> The sprites are arranged in a square shape.
  • Drag a block from the palette
  • Try to drop it on the bottom left sprite
  • [Edit:] If the sprites stay vertically with a scroll bar, then try zooming out to make the viewport taller

Actual result:
The sprites start rapidly flickering to a vertical arrangement and back to the square. The sprite moves off the mouse, making it difficult to drop the block on the sprite.

[Edit:] This is how it looks like for me: https://scratch.mit.edu/projects/1114791524/

Expected result:
Dragging a block over a sprite doesn't affect the arrangement of the sprites, and the sprites definitely don't try to escape from the mouse.


Related bugs

Last edited by nembence (Feb. 2, 2025 15:12:11)

NotK3ndricAltAgain
Scratcher
500+ posts

Sprites flickering when dragging a block

Cannot replicate.
My browser / operating system: IPad iOS 16.1.1, ChromeiOS 131.0.6778.154, No Flash version detected
redspacecat
Scratcher
500+ posts

Sprites flickering when dragging a block

I can't replicate. Could you record a video or something of this happening? I don't think I completely understand
My browser / operating system: Windows NT 10.0, Firefox 133.0, No Flash version detected
nembence
Scratcher
500+ posts

Sprites flickering when dragging a block

redspacecat wrote:

I can't replicate. Could you record a video or something of this happening? I don't think I completely understand
My browser / operating system: Windows NT 10.0, Firefox 133.0, No Flash version detected
Here it is: (link to video removed because google says webm files aren't safe (i thought they are safe))
It usually flickers much faster, but the screen recoder caused lag.

here is an animation instead: https://scratch.mit.edu/projects/1114791524/
I tried to make it as accurate as possible.

Last edited by nembence (Dec. 30, 2024 16:17:55)

redspacecat
Scratcher
500+ posts

Sprites flickering when dragging a block

nembence wrote:

redspacecat wrote:

I can't replicate. Could you record a video or something of this happening? I don't think I completely understand
My browser / operating system: Windows NT 10.0, Firefox 133.0, No Flash version detected
Here it is: (link to video removed because google says webm files aren't safe (i thought they are safe))
It usually flickers much faster, but the screen recoder caused lag.

here is an animation instead: https://scratch.mit.edu/projects/1114791524/
I tried to make it as accurate as possible.
That's really weird.
nembence
Scratcher
500+ posts

Sprites flickering when dragging a block

I found out that the viewport must be tall enough so that the 4 sprites fit below each other without scroll bar for the bug to happen. Zooming out also works if it doesn't fit on the screen.

I've also tried it on Firefox and for me it doesn't flicker but the top right sprite moves instead of the bottom left one when dragging a block over it, and it also drops the block in the wrong sprite. For some reason the bug stops when I turn on device simulation in the devtools, even if I set the size to the same as the window

Last edited by nembence (Jan. 2, 2025 08:50:48)

Powered by DjangoBB