godotengine / godotengine/godot

[BUG] Title bar hidden in windowed mode when viewport is higher than display resolution

Open
#95,668 7 comments 1 reaction 0 assignees View on GitHub
bug discussion topic:gui
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

![image](https://github.com/user-attachments/assets/b05cff08-a271-4a85-8efb-c1e0eeafd194)

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

![image](https://github.com/user-attachments/assets/67f5e8c1-1ab6-49d1-9a99-fffc6f636f61)

### 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:
![image](https://github.com/user-attachments/assets/aa70df08-b196-4df4-af4d-9409b55b02ea)

### Minimal reproduction project (MRP)

[test-screen-size.zip](https://github.com/user-attachments/files/16642514/test-screen-size.zip)

Contributor guide

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.