Skip to content

Cannot create VirtualKey from the the text GoBack #10306

@bjorn-malmo

Description

@bjorn-malmo

Describe the bug

Application crashes on initialization when trying to create an Accelerator key for the go back/go forward keys!

A really annoying bug that has been around for ages. Is it really impossible to fix this?

#7720

Steps to reproduce the bug

Add a keyboard accelerator to any page:

    <Page.KeyboardAccelerators>
        <KeyboardAccelerator Key="GoBack" Invoked="NavigateBack"/>
    </Page.KeyboardAccelerators>

Expected behavior

Expected a simple keyboard accelerator to map to the GoBack / GoForward key on my Microsoft Natural Ergonomic Keyboard 4000 v1.0

Screenshots

No response

NuGet package version

WinUI 3 - Windows App SDK 1.6.3: 1.6.241114003

Windows version

Windows 11 (24H2): Build 26100

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageIssue needs to be triaged by the area owners

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions