-
Notifications
You must be signed in to change notification settings - Fork 418
Description
Description
When on a Chromebook, the "Duplicate Script with Alt Key" addon doesn't work correctly. To understand why you need to understand that Chromebooks don't have the standard feature to open the right-click menu by clicking on the right side of the trackpad, instead, clicking the trackpad with two fingers, or, where our problem comes in, holding alt while clicking with 1 or 2 fingers opens the right-click menu. This is a problem because when you go to hold alt and drag a script, you open the right-click menu instead of duplicating the intended script.
Reproduction steps
- Add the Scratch Addons extension to your Chromebook's browser (I used Chrome. Edge isn't compatible with Chromebooks. I don't know what happens when using Firefox, or the Linux versions of any of these apps, however, I expect similar results.)
- In the Scratch Addons menu, turn on the "Duplicate Script with Alt Key" addon.
- In Scratch, hold down
alt, then, while doing so, drag a script in the Scratch editor. Instead of duplicating the script, as the addon is supposed to do, it instead gets overridden by thealt + clickgesture, which causes the right-click menu to pop up.
Expected behavior
The addon is supposed to cause the script that is being dragged while holding alt to duplicate.
Actual behavior
Instead, the right-click menu appears.
Video Demonstration
Addons.mp4
*Note that I also have the Grab single block with Ctrl key addon enabled to give a point of comparison for the problem.
Environment
- Browser: Chrome 101.0.4951.72 (Official Build) (32-bit)
- Scratch Addons version: v1.26.1
- Operating system: Chrome OS