Skip to content

Clicking any Button control while holding ALT gets ignored sometimes #118640

Description

@Alexofp

Tested versions

Reproducible in:
v4.7.custom.gh [3f63a40]

Not reproducible in:
v4.7.dev4.official [755fa44]
v4.6.stable.official [89cea14]

System information

Godot v4.7.dev4 - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 3GB (NVIDIA; 32.0.15.8180) - Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz (4 threads) - 15.95 GiB memory

Issue description

My game is requiring to hold alt while clicking Button controls sometimes. I noticed that this now sometimes doesn't work in current master branch, the button gets highlighted but it doesn't get 'pressed' (works fine in 4.7 dev4). This issue affects both the editor and any games that have Button controls.

Steps to reproduce

2026-04-16.15-12-22.mp4

Simplest way to trigger it is:

  1. Select any project in the project manager (to make the buttons on the right get enabled)
  2. Click on the empty space below the buttons (important for some reason)
  3. Hold ALT and click on any button. The button will get highlighted but it won't get 'pressed' no matter how many times you click it.

ONLY the current master is affected. 4.7 dev4 (and earlier) will always trigger the button correctly. So it must be something recent

Minimal reproduction project (MRP)

Doesn't require a MRP

Metadata

Metadata

Assignees

Type

No type

Projects

Status
Very Bad
Status
Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions