Skip to content

CommandBar keyboard accelerators in SecondaryCommands #19407

Closed

Description

@MartinZikmund

Current behavior

KeyboardAccelerators is SecondaryCommands ignores the Key

<AppBarButton Icon="Setting" Label="Settings">
    <AppBarButton.KeyboardAccelerators>
        <KeyboardAccelerator Modifiers="Control" Key="I" />
    </AppBarButton.KeyboardAccelerators>
</AppBarButton>

Is: Ctrl+None, shall be Ctrl+I
image

Expected behavior

No response

How to reproduce it (as minimally and precisely as possible)

No response

Workaround

No response

Works on UWP/WinUI

None

Environment

No response

NuGet package version(s)

No response

Affected platforms

No response

IDE

No response

IDE version

No response

Relevant plugins

No response

Anything else we need to know?

No response

Activity

  1. added
    difficulty/tbd
    kind/bug
    triage/untriaged
    on Jan 31, 2025
  2. added
    project/input ⌨️
    area/commandbar
    project/keyboard ⌨️
    and removed
    triage/untriaged
    difficulty/tbd
    on Jan 31, 2025
  3. added theissue type on Jun 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/commandbarkind/bugproject/input ⌨️project/keyboard ⌨️

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions