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

Alt+Up in TextBox adds an X character #18159

Open
Leopard20 opened this issue Feb 9, 2025 · 2 comments
Open

Alt+Up in TextBox adds an X character #18159

Leopard20 opened this issue Feb 9, 2025 · 2 comments

Comments

@Leopard20
Copy link

Leopard20 commented Feb 9, 2025

Describe the bug

Pressing Alt, then Up, then releasing Alt prints an "X" character in TextBox.

To Reproduce

  1. Create an Avalonia UI project.
  2. Create a Window. The contents can simply be:
<Grid>
	<TextBox Text="Hello"></TextBox>
</Grid>
  1. Run the project and focus (click on) the textbox.
  2. Press and hold Alt
  3. Press Up
  4. Release Alt
  5. An "X" appears in the textbox

Expected behavior

No character should appear.

Avalonia version

11.2.3

OS

Windows

Additional context

No response

@timunie
Copy link
Contributor

timunie commented Feb 10, 2025

Additional notice: It only reproduces when there is some text before. An empty TextBox doesn't reproduce. However the numerical [ALT] + [0 ... 9] also don't work in that case.

@Leopard20
Copy link
Author

Actually I managed to reproduce it with empty TextBoxes too. I don't remember how but I'll try again and if I find it I'll post it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants