rust-windowing / rust-windowing/winit
Window.set_minimized not work on macOS
Open
Nobody has claimed this yet.
DS - appkit
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
code
let event_loop = EventLoop::new().unwrap();
let window = WindowBuilder::new()
.with_title("A fantastic window!")
.with_inner_size(winit::dpi::LogicalSize::new(128.0, 128.0))
.with_decorations(true)
.with_fullsize_content_view(true)
.with_titlebar_transparent(true)
.build(&event_loop)
.unwrap();
window.set_decorations(false);
window.set_minimized(true);
event_loop.run(move |event, elwt| {
println!("{event:?}");
})
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
Reproduce the issue with the Rust example in the report on macOS, focusing on the Window::set_minimized entry point after creating a decorated or undecorated window. Trace the macOS windowing path to determine why the requested state is not applied, then verify that the example minimizes successfully and add regression coverage if the existing tests provide a suitable location.
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
- 35/100