rust-windowing / rust-windowing/winit
Which dimensions should resize increments be relative to?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.3k
- Avg merge
- 2d 19h
- Merged PRs (30d)
- 9
Description
Should they be relative to the window's dimensions, or the surface?
On macOS it's currently the surface, as that's what was decided in https://github.com/rust-windowing/winit/pull/2411#discussion_r942545770, but perhaps that's wrong? @kchibisov why is this incorrect, when would you ever want your resize increments to be relative to the window's frame, i.e. including decorations?
Spun off from https://github.com/rust-windowing/winit/pull/3889.
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 reading the discussion in pull requests 2411 and 3889, then trace how macOS resize increments are currently defined relative to the window frame or surface. Done requires a settled decision on the reference dimensions and corresponding project changes, but this issue does not name an implementation file or test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, rust
- Domain
- desktop, operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100