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

Viewbox does not scale TextBox content in edit mode under Gtk/WSL #12052

Closed
GRDias opened this issue Apr 24, 2023 · 3 comments
Closed

Viewbox does not scale TextBox content in edit mode under Gtk/WSL #12052

GRDias opened this issue Apr 24, 2023 · 3 comments
Labels
area/skia ✏️ Categorizes an issue or PR as relevant to Skia 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/gtk Categorizes an issue or PR as relevant to GTK project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) project/text 🔤 Categorizes an issue or PR as relevant to text (TextBox, PasswordBox, TextBlock, Fonts, …) triage/potentially-fixed Categorizes an issue as potentially fixed by some unlinked PR, fix needs to be verified

Comments

@GRDias
Copy link

GRDias commented Apr 24, 2023

Current behavior

Viewbox is not scaling the TextBox content in edit mode.
Is working for Windows but not for Linux.

Expected behavior

Viewbox scales TextBox content also in edit mode

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

Not working for Linux:
http://playground.platform.uno/#0260becf

Workaround

No response

Works on UWP/WinUI

Yes

Environment

Other

NuGet package version(s)

No response

Affected platforms

Skia (GTK on Linux/macOS/Windows)

IDE

Visual Studio 2022

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

@GRDias GRDias 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 Apr 24, 2023
@GRDias GRDias changed the title Viewbox does not scale TextBox in edit mode under Gtk/WSL Viewbox does not scale TextBox content in edit mode under Gtk/WSL Apr 24, 2023
@jeromelaban
Copy link
Member

Thanks for the report. This is currently a known issue as the implementation of textbox still uses a native overlay that cannot be resized. We're tracking this in #9417.

@jeromelaban jeromelaban added area/skia ✏️ Categorizes an issue or PR as relevant to Skia project/text 🔤 Categorizes an issue or PR as relevant to text (TextBox, PasswordBox, TextBlock, Fonts, …) and removed triage/untriaged Indicates an issue requires triaging or verification labels Apr 24, 2023
@MartinZikmund MartinZikmund changed the title Viewbox does not scale TextBox content in edit mode under Gtk/WSL Viewbox does not scale TextBox content in edit mode under Gtk/WSL Sep 11, 2023
@MartinZikmund MartinZikmund added project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI platform/gtk Categorizes an issue or PR as relevant to GTK and removed difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Sep 11, 2023
@MartinZikmund
Copy link
Member

This should be quite easy to add - applying the scale transform based on the Viewbox

@Youssef1313
Copy link
Member

It should be fixed now with the new TextBox, I think

@Youssef1313 Youssef1313 added the triage/potentially-fixed Categorizes an issue as potentially fixed by some unlinked PR, fix needs to be verified label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/skia ✏️ Categorizes an issue or PR as relevant to Skia 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/gtk Categorizes an issue or PR as relevant to GTK project/input ⌨️ Categorizes an issue or PR as relevant to input (Button, CheckBox, Toggle, Scroll, Map, Numeric,...) project/text 🔤 Categorizes an issue or PR as relevant to text (TextBox, PasswordBox, TextBlock, Fonts, …) triage/potentially-fixed Categorizes an issue as potentially fixed by some unlinked PR, fix needs to be verified
Projects
None yet
Development

No branches or pull requests

4 participants