godotengine / godotengine/godot
Unable to switch main screen after leaving the editor idle
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
Godot v4.3.stable.mono
### System information
Godot v4.3.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 970 (NVIDIA; 32.0.15.6070) - Intel(R) Core(TM) i5-4460 CPU @ 3.20GHz (4 Threads)
### Issue description
After leaving the Godot window unfocused for about 10 minutes, whilst I did other things on the PC, I was no longer able to switch main screens (2D, 3D, Script, AssetLib buttons at the top). Restarting the editor obviously fixes this issue. The video below shows the bug in action, focus on the top of the screen where the main screen buttons are.
https://github.com/user-attachments/assets/0f5d5005-0469-422e-b2e2-dae61bb620bd
Before experiencing the bug for the first time I saved the current scene, pushed all my changes to git, and then had the Godot window unfocused in the background.
I only have one addon in the project and some custom editor scripts and both of them do not change the editor GUI in any way. I've only tested this bug on my current project, and not on an empty one.
### Steps to reproduce
The steps below produce the bug only 50%-60% of the time.
- Leave the Godot editor window unfocused for at least 10 minutes
- Try pressing the main screen buttons within the editor
### Minimal reproduction project (MRP)
N/A
Contributor guide
Research direction
Start by reproducing the issue in Godot v4.3.stable.mono on Windows 10, first with the reported project and then with an empty project. The issue is done when the 2D, 3D, Script, and AssetLib main-screen buttons remain switchable after the editor is unfocused for at least 10 minutes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, godot
- Domain
- desktop, devtools
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100