rust-windowing / rust-windowing/winit
Unable to create Fullscreen::Exclusive on macOS that ignores "the notch"
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
Description
Using set_simple_fullscreen allows for a fullscreen window that ignores the notch and renderd into the menu bar area, but I haven't been able to create an exclusive fullscreen with a specific video mode that can do the same.
I thought that with_fullsize_content_view(true) might work but it did not. I'm not sure if I'm doing something wrong, if this is a bug, or if the capability isn't available.
Additionally, using set_borderless_game(true) with set_simple_fullscreen(true) doesn't seem to do anything. The menu or dock still pop up when you move the mouse to the top or bottom of the screen.
macOS version
M4 MacBook Pro
ProductName: macOS
ProductVersion: 15.3.1
BuildVersion: 24D70
Winit version
master
5cada36ae8eade018bbad035b538bc01347ff7a8
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 by reproducing the behavior with set_simple_fullscreen, exclusive fullscreen with a specific video mode, with_fullsize_content_view(true), and set_borderless_game(true) on the stated macOS version. No source file or test is named; done means determining whether exclusive fullscreen can ignore the notch and whether the menu or dock can be prevented from appearing at the screen edges.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100