rust-windowing / rust-windowing/winit
Toggling fullscreen on macOS reduces window height
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
It seems like when toggling simple fullscreen and going back to windowed the window size is incorrect. This only happens when the decorations are visible so I'd assume the mistake is related to the window dimension calculations not properly including the decoration's height.
Originally reported to Alacritty in https://github.com/alacritty/alacritty/issues/6921.
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 macOS fullscreen transition with decorations visible, using the behavior described in the issue and the linked Alacritty report. Trace the window-dimension calculations used when returning from simple fullscreen to windowed mode. Done means the restored window height is correct with decorations visible and the existing behavior remains intact otherwise.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100