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

Fluent2: TextBox Issues #10358

Open
robert-abeo opened this issue Jan 29, 2025 · 0 comments
Open

Fluent2: TextBox Issues #10358

robert-abeo opened this issue Jan 29, 2025 · 0 comments
Labels
Investigate Requires further investigation by the WPF team. Win 11 Theming

Comments

@robert-abeo
Copy link

Description

I've found two issues with the Fluent2 TextBox that make it almost unusable. Note I'm running a custom build of the theme in .NET Framework 4.8 for legacy reasons so that may influence some of these results (that's why I'm ignoring that the ClearText button doesn't work at all).

  1. The TextBoxClearButton does NOT stay right-aligned as it should (or left-aligned if RTL language). Also, please review WinUI as I'm not sure the clear button should EVER be below multi-line text. I suspect it always stays Top-aligned following the first line. Bottom line, the positioning of this button is completely wrong.
  2. In order to select all text in a TextBox by clicking/dragging the user has to selected EXACTLY where the text starts/ends rather than anywhere in the TextBox. I suspect the TestPresenter is stretching to the proper size here.

Reproduction Steps

See below, it works in any Fluent2 TextBox:

  1. Bad Clear Text Button position/alignment
    Image

  2. Poor selection
    Image

Expected behavior

See WinUI3 gallery

Actual behavior

See above

Regression?

No response

Known Workarounds

No response

Impact

No response

Configuration

No response

Other information

No response

@himgoyalmicro himgoyalmicro added Investigate Requires further investigation by the WPF team. Win 11 Theming labels Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Investigate Requires further investigation by the WPF team. Win 11 Theming
Projects
Status: No status
Development

No branches or pull requests

2 participants