godotengine / godotengine/godot

[macOS] (some) keyboard input not working in floating editor window after a while

Open
#98,732 1 comment 1 reaction 0 assignees View on GitHub
bug platform:macos topic:editor topic:input
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

Reproducible in v4.4.dev3.official [f4af8201b]

### System information

Godot v4.4.dev3 - macOS 15.0.1 - Multi-window, 3 monitors - OpenGL 3 (Compatibility) - AMD Radeon Pro 5500M OpenGL Engine - Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 threads)

### Issue description

I recently noticed this by using the floating editor window (which I usually don't use), but not 100% sure this is related:

After a while, the keyboard input stops honoring modifier keys. For example, on a French Mac keyboard (which I use), you get a `[` by using `OPTION+SHIFT+(`. Using that key combination (or similar ones) outputs nothing after a while (but a regular `(` continues to work).
Closing the floating editor and going back to the regular editor fixes the problem. So does re-detaching the editor (for a while).

It should be noted that I'm using several monitors, and the floating editor was on a different monitor from the main Godot window every time the issue happened.

### Steps to reproduce

Detach the code editor as a floating window.
Type characters that need modifier keys (may depend on the Locale being used)
Witness it produces nothing ... at some point (exact triggering condition unknown)

### Minimal reproduction project (MRP)

N/A

Contributor guide

Open the contributing guide

Research direction

Start by reproducing this on macOS with Godot v4.4.dev3, using a floating code editor on a separate monitor and modifier-key characters such as OPTION+SHIFT+(. Compare the detached and regular editor states; done means modifier-based keyboard input continues working after the editor has been open for a while.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, macos
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.