rust-windowing / rust-windowing/winit

`set_inner_size` and `set_outer_position` don't work with `run_return` MacOS

Open
#2,017 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

B - bug C - needs investigation DS - appkit
Dominant language
Rust
Stars
6.2k
Forks
1.3k
Avg merge
2d 19h
Merged PRs (30d)
9

Description

Using set_inner_size and set_outer_position (and probably more?) doesn't do anything on X11 until you either press the close, minimize or maximize button or try to resize the window. This is easily reproducible by calling those functions in the window_run_return example.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report with the window_run_return example, checking both the MacOS title and the X11 behavior described in the body. Start from the calls to set_inner_size and set_outer_position and trace why the requested changes wait for window interaction; done means those changes apply immediately without pressing a window control or resizing.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.