Skip to content

Duplicate Script with Alt Key Doesn't Work with Chromebooks #4662

@BroJac5246

Description

@BroJac5246

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

  1. 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.)
  2. In the Scratch Addons menu, turn on the "Duplicate Script with Alt Key" addon.
  3. 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 the alt + click gesture, 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    platform: chromeRelated to Chrome / ChromeOSscope: addonRelated to one or multiple addonstype: bugA bug in the addon loader, or in a specific addon

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions