Skip to content

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

@ksdavidc

Description

@ksdavidc

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

Screen_Recording_2024-07-08_at_6.41.40_AM.mov

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions