godotengine / godotengine/godot
[BUG] Title bar hidden in windowed mode when viewport is higher than display resolution
- Dominant language
- C++
- Stars
- 117k
- Forks
- 26.8k
- PR merge metrics
- PR metrics pending
Description
### Tested versions
v4.3.stable.mono.official [77dcf97d8]
### System information
Godot v4.3.stable.mono - Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Ti (NVIDIA; 31.0.15.3623) - AMD Ryzen 7 3700X 8-Core Processor (16 Threads)
### Issue description

As you can see no title bar is shown when running the game:

### Steps to reproduce
Set the window to something higher than your monitor screen resolution and see that the title bar is not displayed when the game is launch.
My display resolution is 1920x1080
My godot project:

### Minimal reproduction project (MRP)
[test-screen-size.zip](https://github.com/user-attachments/files/16642514/test-screen-size.zip)
Contributor guide
Research direction
Start by running the attached test-screen-size.zip minimal reproduction project on Windows 10 with a 1920x1080 display, then reproduce the issue with a viewport larger than the display resolution. Trace the window behavior from that reproduction and verify that the title bar is shown when the game launches in windowed mode.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, godot
- Domain
- desktop, game-dev, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100