godotengine / godotengine/godot
Unable to set force native window property on visible window in scene
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
Reproducable in 4.3 stable
### System information
Godot v4.3.stable (77dcf97) - Windows 10.0.22631 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 4070 Laptop GPU (NVIDIA; 31.0.15.3820) - Intel(R) Core(TM) i9-14900HX (32 Threads)
### Issue description
Setting the force native propperty on a window, while it being visible in the scene and then starting the game gives an error. I have to work around this by connecting the ready signal to popup
### Steps to reproduce
Open the mrp and set the window to visible
### Minimal reproduction project (MRP)
Quick notes on the mrp, I added the exact same window twice, once as a built in one and once as an os one. The os one has the ready signal connected to it as a workaround for the issue.
[window-mrp.zip](https://github.com/user-attachments/files/18922557/window-mrp.zip)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the linked window-mrp.zip and reproduce the error in Godot 4.3 on Windows by making the window visible before starting the game. Compare the built-in window with the OS window and its ready-signal workaround; done means the force native property works on a visible window without requiring that workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- godot
- Domain
- desktop-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100