Open TarekAS opened 3 months ago
Can you reproduce this in winit
itself? I suspect this is a bug upstream: once reproduced there please open an issue on their repo and link it here (or vice versa).
I investigated a bit and here's what I found:
winit
by simply trying one of their examples here and setting it to fullscreen using Ctrl+F
, which triggers BorderlessFullscreen mode.Fullscreen::Borderless
is the idiomatic way for fullscreen games to work on macOS, but it also says only Fullscreen::Exclusive
disables the menu bar and the dock, which is a bit of a contradiction.It turns out I had set Automatically hide and show the menu bar
to Never
in my settings. However, in a bevy game, this should ignored and the menu bar should be hidden either way.
Bevy version
0.14.1
Relevant system information
cargo 1.80.1 (376290515 2024-07-16) macOS Sonoma 14.5
Automatically hide and show menu bar
is set toNever
in the system preferences.What you did
Basic bevy app with BorderlessFullscreen enabled, running on macOS.
What went wrong
Expectations: BorderlessFullscreen should cover the entire screen.
What actually happened: it didn't cover the menu bar
Additional information
Hovering near the menu bar also exposes the title bar
If this is not considered a bug, perhaps there should be an option to cover the entire menu bar as well.