godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.39k stars 21.06k forks source link

You get locked out of the code editor after CtrL+Shift+U and then clicking somewhere #97035

Open MewPurPur opened 1 month ago

MewPurPur commented 1 month ago

Tested versions

Reproducible in 4.3

System information

Godot v4.3.stable - Pop!_OS 22.04 LTS - X11 - GLES3 (Compatibility) - Mesa Intel(R) Graphics (ADL GT2) - 12th Gen Intel(R) Core(TM) i5-1235U (12 Threads)

Issue description

The code in the script editor stops being editable when you click somewhere while you're inputting a unicode with Ctrl+Shift+U.

Steps to reproduce

You can get edit access back by doing Ctrl+Shift+U again. The expected behavior would be that you exit unicode mode, or that you'd now be adding a unicode character in the new caret position (the latter seems to be how it's usually implemented).

Minimal reproduction project (MRP)

N/A

kitbdev commented 1 month ago