Skip to content
This repository was archived by the owner on Feb 25, 2026. It is now read-only.
This repository was archived by the owner on Feb 25, 2026. It is now read-only.

[Add Test] Unhandled exception when gazing at Flyout #3525

Closed

Description

@niels9001

Describe the bug

Whenever I use a gazetracker and 'gaze' at a Flyout, the application crashes.

Simple project that shows the bug:
https://github.com/niels9001/UWPGazeFlyoutBug

Error:
image

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a new project, and add a normal button with a flyout.
  2. Add the WCT Gaze NuGet package
  3. Gaze at the button so the flyout is shown.
  4. Gaze a the flyout.
  5. Error

Expected behavior

It shouldn't crash.

Environment

NuGet Package(s): Microsoft.Toolkit.Uwp.Input.GazeInteraction 6.1.1

Package Version(s): Microsoft.NETCore.UniversalWindowsPlatform v6.2.10

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [X] May 2019 Update (18362)
- [ ] May 2020 Update (19041)
- [ ] Insider Build (build number: )

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [X] May 2019 Update (18362)
- [ ] May 2020 Update (19041)
- [ ] Insider Build (xxxxx)

Device form factor:
- [X] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [ ] 2017 (version: )
- [X] 2019 (version: ) 
- [ ] 2019 Preview (version: )

```.

Activity

  1. added
    bug 🐛An unexpected issue that highlights incorrect behavior
    on Oct 6, 2020
  2. michael-hawker commented on Oct 6, 2020

    @michael-hawker
    Member

    @niels9001 can you try to repro with the latest MyGet package for 7.0? We switched to a C# implementation, so this may resolve some issues that we fixed along the way. However, I do know we may still have issues with the cursor not appearing in pop-ups (across both versions).

  3. added this to the 7.0 milestone on Oct 6, 2020
  4. niels9001 commented on Oct 7, 2020

    @niels9001
    Author

    @michael-hawker where can I find it and how do I add it to my project :)? Can't seem to find anything in the docs.

  5. michael-hawker commented on Oct 8, 2020

    @michael-hawker
    Member

    @niels9001 we actually just shipped a NuGet preview, so you can test this out with the 7.0.0-preview3 NuGet package, just make sure to check 'include pre-release' when searching from the NuGet package manager in VS. 🙂

    We should be moving our feed soon from MyGet, so we'll be sure to put updated guidance for testing nightly bits in our new wiki guides too.

  6. niels9001 commented on Oct 19, 2020

    @niels9001
    Author

    @michael-hawker I can confirm that using 7.0.0-preview3 solves the issue 👍 .

  7. michael-hawker commented on Oct 19, 2020

    @michael-hawker
    Member

    Thanks @niels9001 that's great!

    @RosarioPulella I'm going to leave this open for now in case we can figure out how to mimic Gaze inputs for our integration tests later. This could be a good scenario to try setting up with the repo, having a test to exercise it, and then seeing it work on the latest code-base.

    It can be a lower priority for now though, since I know we're trying to still figure out the right infrastructure for those tests and understand how they all work.

  8. changed the title [-][Bug] Unhandled exception when gazing at Flyout[/-] [+][Add Test] Unhandled exception when gazing at Flyout[/+] on Oct 19, 2020
  9. modified the milestones: 7.0, 7.1 on Dec 9, 2020
  10. modified the milestones: 7.1, 7.0 on Mar 2, 2021
  11. michael-hawker commented on Mar 2, 2021

    @michael-hawker
    Member

    Closing as it seems to have been resolved by the move to C# done in #3427.

  12. ghost locked as resolved and limited conversation to collaborators on May 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions