Skip to content

Touch events stop working in a WPF packaged app after using ApplicationData.Current #5167

Open
@asierpn

Description

@asierpn

Describe the bug

Touch events stop working in a WPF packaged app after using ApplicationData.Current

Steps to reproduce the bug

  1. Debug the attached project WpfApp6.zip on a device with a touch screen

  2. Tap the Test Touch button, the event is not fired

  3. Comment this line of the App.xaml.cs

    var localSettings = ApplicationData.Current.LocalSettings;

  4. Test again and now the Touch button works fine

Expected behavior

Touch events must work despite the use of the ApplicationData class.

Screenshots

No response

NuGet package version

Windows App SDK 1.6.3: 1.6.250108002

Packaging type

Packaged (MSIX)

Windows version

Windows 10 version 22H2 (19045, 2022 Update)

IDE

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions