scratchfoundation / scratch-gui

Graphical User Interface for creating and running Scratch 3.0 projects.
https://scratchfoundation.github.io/scratch-gui/develop/
BSD 3-Clause "New" or "Revised" License
4.47k stars 3.58k forks source link

Stamp block on mouse pointer down glitchy #2791

Closed techwonder21 closed 6 years ago

techwonder21 commented 6 years ago

Expected Behavior

Smoother interaction in 2.0 https://scratch.mit.edu/projects/24452141/#editor

Actual Behavior

Glitchy interaction in 3.0 https://beta.scratch.mit.edu/#24452141

Steps to Reproduce

Open 2.0 project in 3.0 Click the green flag Notice that the 3.0 version is more glitchy

Operating System and Browser

macOS High Sierra Chrome 68

techwonder21 commented 6 years ago

@ChampikaF

paulkaplan commented 6 years ago

Could you be more specific about what is glitchy? I tried it in the side-by-side compatibility viewer and couldn't see a difference?

https://llk.github.io/scratch-gui/develop/compatibility-testing.html#24452141

spray-can

(also macos high sierra, chrome 68)

techwonder21 commented 6 years ago

Sure thing. Note: The CS First team is casting and editing 3.0 videos on the beta website. Even though the glitch issue is hard to reproduce we think it appears on beta.scratch.mit.edu (rather than https://llk.github.io/scratch-gui/develop/).

When you click and drag sometimes the spray can picks up and jumps to a new spot rather than spraying a continuous line. In 2.0 and the /develop branch this issue does not appear to happen. https://beta.scratch.mit.edu/#238644602 screen shot 2018-08-09 at 10 17 22 am

thisandagain commented 6 years ago

@BryceLTaylor Can you try to repro this for us? If it is indeed not on develop it would be good to get an understanding of why.

/cc @rschamp @kchadha

BryceLTaylor commented 6 years ago

This mostly seems to behave the same in 3.0 as it does in 2.0 and the distance between the stamps is mostly based on the speed you move your mouse.

However, if you are in the editor mode, it might be easier to pick up the sprite by clicking and dragging than in 2.0. You don't see this if you are in the comparison mode, because in player mode you can't drag the sprite. I think this should be filed in another issue after some more research into it.