Repository navigation
Wayland: Properly report desktop scaling as 1 - #22245
Merged
Merged
Conversation
We are reporting logical size for displays and are using identity for PointTo/FromScreen, so user code might get confused.
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
The change consistently aligns desktop scaling with existing Wayland screen and coordinate behavior.
Pull request overview
Aligns Wayland desktop scaling with its logical coordinate system.
Changes:
- Reports
DesktopScalingas1, consistent with logical display sizes and identity coordinate conversion.
File summaries
| File | Description |
|---|---|
src/Avalonia.Wayland/WindowImplBase.cs |
Uses identity desktop scaling for Wayland windows. |
Review details
- Files reviewed: 1/1 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
|
You can test this PR using the following package version. |
MrJul
approved these changes
Sep 17, 2026
kekekeks
added a commit
that referenced
this pull request
Sep 21, 2026
We are reporting logical size for displays and are using identity for PointTo/FromScreen, so user code might get confused.
grokys
pushed a commit
to Evan260/Avalonia
that referenced
this pull request
Oct 7, 2026
We are reporting logical size for displays and are using identity for PointTo/FromScreen, so user code might get confused.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
We are reporting logical size for displays and are using identity for PointTo/FromScreen, so user code might get confused.