Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux Skia] can not scale by accessibility "large text" properly and left white border #18884

Open
HeZeBang opened this issue Nov 22, 2024 · 1 comment · May be fixed by #18928
Open

[Linux Skia] can not scale by accessibility "large text" properly and left white border #18884

HeZeBang opened this issue Nov 22, 2024 · 1 comment · May be fixed by #18928
Assignees
Labels
difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/bug Something isn't working platform/linux 🐧 Categorizes an issue or PR as relevant to Linux platforms project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools

Comments

@HeZeBang
Copy link

Current behavior

When "Large Text" accessibility is turned on, the elements won't be scaled properly. The elements rendered wrongly and left white border like below:

image

image

While the cursor recognition is still "correct", as the button can be clicked just in the center of the window, which means there's just rendering problem.

image

Test on manjaro with Gnome 46.5 + wayland

Expected behavior

The elements should be rendered correctly.

How to reproduce it (as minimally and precisely as possible)

dotnet new unoapp and debug with Uno Platform Desktop Debug

Workaround

Switch off accessibility

Works on UWP/WinUI

Yes

Environment

Uno.UI / Uno.UI.WebAssembly / Uno.UI.Skia

NuGet package version(s)

No response

Affected platforms

Skia (Linux X11)

IDE

Visual Studio Code

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@HeZeBang HeZeBang added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Nov 22, 2024
@HeZeBang HeZeBang changed the title [Linux] can not scale by accessibility "large text" properly and left white border [Linux Skia] can not scale by accessibility "large text" properly and left white border Nov 22, 2024
@MartinZikmund MartinZikmund added platform/linux 🐧 Categorizes an issue or PR as relevant to Linux platforms difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI and removed triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Nov 22, 2024
@jeromelaban jeromelaban added the project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools label Nov 22, 2024
@ramezgerges ramezgerges linked a pull request Nov 26, 2024 that will close this issue
6 tasks
@ramezgerges
Copy link
Contributor

@HeZeBang X11 scaling on XWayland is known to be problematic, and I'm not sure what the "Large Text" feature specifically does and how it gets translated from Wayland into the X11 world, but I've opened the PR that might fix your issues. Let us know if it doesn't.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/bug Something isn't working platform/linux 🐧 Categorizes an issue or PR as relevant to Linux platforms project/core-tools 🛠️ Categorizes an issue or PR as relevant to core and tools
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants