Errata on `WindowType::Popup`
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 45/100
Research direction
Start by reading the WindowType::Popup and create_window API documentation, including the Error::NotSupported(_) behavior, then compare the Wayland sizing code mentioned in the issue. Clarify popup availability, scale-factor guarantees, and logical versus physical pixel sizing, and update the relevant documentation once the intended guarantees are established.
Written by the indexing model from the issue text.
Description
Nice to see that popup/overlay windows are finally supported, but I do have a few questions.
How do I tell whether WindowType::Popup is available? I guess we just assume that if create_window fails with Error::NotSupported(_) it is because of the window_type (and not because of something else, like transparency).
Is there any guarantee that the scale factor matches that of the parent window?
Does sizing necessarily work the same way as with full windows (usage of logical/physical pixels)? From the code it looks Wayland at least uses logical pixels.
- Dominant language
- Rust
- Stars
- 6.2k
- Forks
- 1.4k
- Avg merge
- 2d 16h
- Merged PRs (30d)
- 10
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing 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.
More from rust-windowing/winit
-
Delta overflow errorOpenB - bug DS - win32
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
rust-windowing/winit#4722 ·
Maintainers usually reply within 2 days
-
B - bug DS - appkit
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
rust-windowing/winit#4666 · 1 comment ·
Maintainers usually reply within 2 days
-
DS - x11
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rust-windowing/winit#4479 · 5 comments · 1 reaction ·
Maintainers usually reply within 2 days
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
rust-windowing/winit#4721 · 1 comment ·
Maintainers usually reply within 2 days
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
rust-windowing/winit#4719 · 1 comment · 1 reaction ·
Maintainers usually reply within 2 days
All issues in rust-windowing/winit
Similar issues
-
bug CLI exec tool-calls
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
maintainer-needed p2 triaged ui windows
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
ai_p2
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
ClickHouse/ClickHouse#123351 ·
Maintainers usually reply within 1 day
-
documentation
Difficulty 1/5 Under an hour Newbie friendliness 92/100
github/copilot-sdk#2804 · 1 comment ·
Maintainers usually reply within 1 day