Skip to content

TRadigk/NumberBoxCrashRepro

Repository files navigation

NumberBoxCrashRepro

This repository shows a crash in WinUi, when a number box is opened in a new window where the opt SpinButtonPlacementMode is set to Compact.

Steps to reproduce

  1. Clone the repository.
  2. Open the solution in Visual Studio.
  3. Build the solution.
  4. Run the application.
  5. Click the "Click Me" button on first window.
  6. Click the number zone in the NumberBox in the new window (so that the flyout with the spin buttons is shown at least once)
  7. Close the secondary window
  8. Click the "Clicked" button on first window.

Expected behavior

The application should not crash.

Actual behavior

The application crashes with an UnhandledException.

Workaround

Do not use SpinButtonPlacementMode.Compact but Inline or Hidden.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages