Skip to content

Shortcuts involving the Alt key are not detected in the script editor #41942

Closed
@HungryProton

Description

@HungryProton

Godot version:
4.0 - 2410016

OS/device including version:
Ubuntu 20.04

Issue description:
Script editor shortcuts involving the alt key doesn't trigger anything. The associated action does work if you manually click on it. Shortcuts in the 3D view seems to work however (for example, control + alt + 2 to split the viewport works as expected).

One exception is the alt + arrow key (up and down moves the current line, left and right moves through the history). These four shortcuts work so it's only the shortcuts involving alt and a letter.

This issue only happens with Godot 4 (latest commit of master). It does not happen with the 3.x versions, nor on Windows.

Steps to reproduce:

  • Open the editor
  • Create a new script and open it
  • Try any shortcut involving the alt key and a letter like:
    • control + alt + s (Save)
    • shift + alt + s (Save all)

Minimal reproduction project:
Any empty project exhibits this behavior.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions