ScratchTools icon indicating copy to clipboard operation
ScratchTools copied to clipboard

Conflict with Scratch Tools (in general) and Scratch Addons: "insert blocks by name"

Open ksdavidc opened this issue 5 months ago • 4 comments

Describe the bug. What is going wrong?

[ this is being crossposted to Scratch Tools.) (I know compatibility is not supported, but am reporting since this indicates existence of a possible bug in SA as well)

It appears that something in scratchtools is in conflict with the scratchaddons “insert block by name” plugin, causing the mouse to be “locked”, i.e. moving the mouse moves the content of the block editor pane, but one can't click or otherwise get out.

  1. With both installed,
  2. if I activate the block suggestion popup (via either middle click or space click),
  3. sometimes (usually the 2nd time) it gets locked into a "keep moving all the code blocks with the mouse, but don't let me get out" loop.
  4. If i turn off scratchtools, it works again.
  5. Turning it on again, it works a little, but reverts.

What is causing the bug?

https://discord.com/channels/945340853189247016/1259626053601853460

https://github.com/user-attachments/assets/4be3c3ce-7b95-4a58-88a4-eb1460c986b2

at the start of video, mouse is locked when attempting block insertion, and editor content is moving with mouse. restarting goes back to normal, allowing block suggestion popup, but subsequently locking again. json:

my ST.json my sa.json

from another user with same problem: scratchtools-settings (2).json scratch-addons-settings (2).json

version: SA 1.39.1 and ST .3.9 Chrome 128.0.6613.120 (Official Build) (x86_64) Mac Sonoma

Anything else?

this has been crossposted to SA and discord.

ksdavidc avatar Sep 10 '24 00:09 ksdavidc