Skip to content

RightClickCommand not triggered on MAUI (Windows) #210

@jeffricks

Description

@jeffricks

Describe the bug

I have a MAUI app that is a Blazor Hybrid app. I've added a system tray icon and context menu but the RightClickCommand is never called. The LeftClickCommand functions as expected.

Steps to reproduce the bug

  1. Ensure a RightClickCommand has been added to the TaskbarIcon
  2. Run the app
  3. Right-click on the sys tray icon
  4. Observe that the command is never called

Expected behavior

No response

Screenshots

Left-click displays context menu via LeftClickCommand but right-click does nothing.

Image

NuGet package version

H.NotifyIcon.Maui (2.3.0)

Platform

All

IDE

Visual Studio 2022

Windows Version

Windows 11

WindowsAppSDK Version

No response

WindowsAppSDK Type

None

Manifest

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions