rust-windowing / rust-windowing/winit

`request_inner_size` not working when window maximized (not fullscreen)

Open
#4,313 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Description

When window maximized, both set_outer_position and request_inner_size would automatically un-maximize as intended.

However, request_inner_size always set to another constant size regardless of params. But set_outer_position would still work.

Windows version
Microsoft Windows [Version 10.0.26100.4061]
Winit version

0.30.11

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

The report names no files, tests, or entry points. Reproduce the behavior on Windows with a maximized, non-fullscreen window, then trace the request_inner_size path and verify that the requested dimensions are honored after the window is un-maximized.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.