UI/Qt: The space reserved for the MacOS traffic light icon is unnecessary in full-screen mode
Summary
On macOS with Qt, when you put Ladybird in full-screen mode, the first tab on the left leaves a gap to make room for the three-color indicator. However, when an app is in full-screen mode, the indicator is hidden and appears when the user moves the mouse to the top of the screen. So there’s no need to leave that space in full-screen mode.
Operating system
macOS
Steps to reproduce
- Open Ladybird in full screen
Expected behavior
In full-screen mode, there shouldn't be any space between the edge of the window and the first tab (see the Chromium video below)
Actual behavior
Currently, there is still a dedicated space for the macOS status bar between the edge of the window and the first tab. However, the status bar disappears in full-screen mode, leaving that space empty.
URL for a reduced test case
N/A
HTML/SVG/etc. source for a reduced test case
N/A
Log output and (if possible) backtrace
N/A
Screenshots or screen recordings
Ladybird:
https://github.com/user-attachments/assets/2a0c0e4c-1aab-4d5e-9172-d9c501da41fc
Helium (and every chromium browser):
https://github.com/user-attachments/assets/bf282d71-1686-4b85-8068-0a7da6d123bb
Build flags or config settings
No response
Source: LadybirdBrowser/ladybird