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

TokenizingTextBox will cause crash in some special cases #461

Open
2 of 24 tasks
ShimizuTheLotus opened this issue Aug 7, 2024 · 1 comment
Open
2 of 24 tasks

TokenizingTextBox will cause crash in some special cases #461

ShimizuTheLotus opened this issue Aug 7, 2024 · 1 comment
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@ShimizuTheLotus
Copy link

ShimizuTheLotus commented Aug 7, 2024

Describe the bug

While all tokens having different contents and the number of tokens is more than 3(including 3), select the last token and press shift. Then click the first token to select them all, at this time, type in and the app will stop responding then crash. It can be reproduced every time.

Steps to reproduce

1. Create more than 3(including) tokens in TokenizingTextBox.
2. Select the last token.
3. Keep pressing shift.
4. Select the first token, now the tokens should be all selected.
5. Release shift.
6. Try to type any word or something else, the app will stop responding, then crash.

Expected behavior

The selected tokens will be deleted and the word typing will occur in the inputing area.

Screenshots

Screenshot 2024-08-07 145303

It's an token example.

Code Platform

  • UWP
  • WinAppSDK / WinUI 3
  • Web Assembly (WASM)
  • Android
  • iOS
  • MacOS
  • Linux / GTK

Windows Build Number

  • Windows 10 1809 (Build 17763)
  • Windows 10 1903 (Build 18362)
  • Windows 10 1909 (Build 18363)
  • Windows 10 2004 (Build 19041)
  • Windows 10 20H2 (Build 19042)
  • Windows 10 21H1 (Build 19043)
  • Windows 10 21H2 (Build 19044)
  • Windows 10 22H2 (Build 19045)
  • Windows 11 21H2 (Build 22000)
  • Other (specify)

Other Windows Build number

Windows 11 23H2 (Build 22635.3139)

App minimum and target SDK version

  • Windows 10, version 1809 (Build 17763)
  • Windows 10, version 1903 (Build 18362)
  • Windows 10, version 1909 (Build 18363)
  • Windows 10, version 2004 (Build 19041)
  • Windows 10, version 2104 (Build 20348)
  • Windows 11, version 22H2 (Build 22000)
  • Other (specify)

Other SDK version

No response

Visual Studio Version

No response

Visual Studio Build Number

No response

Device form factor

Desktop

Additional context

No response

Help us help you

No, I'm unable to contribute a solution.

@Arlodotexe
Copy link
Member

Thanks for the report @ShimizuTheLotus, I was able to reproduce the issue in the gallery app.

@Arlodotexe Arlodotexe added bug Something isn't working help wanted Extra attention is needed labels Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants