-
-
Notifications
You must be signed in to change notification settings - Fork 53
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
A double left lick on the tray icon will also causes the single left click event / command is called
My config / setup LeftClickCommand and DoubleClickCommand
<tb:TaskbarIcon x:Name="TrayIcon"
Visibility="Visible"
ContextMenuMode="PopupMenu"
NoLeftClickDelay="True"
LeftClickCommand="{StaticResource TrayIconSingleClicked}"
DoubleClickCommand="{StaticResource TrayIconDoubleClicked}"
DataContext="{x:Bind ViewModel}">
Steps to reproduce the bug
- Create a tray icon with Context Menu
- Define a
LeftClickCommand - Define
DoubleClickCommand
When you Double Click, the Single Click command will be executed as well.
Expected behavior
Only the Double Click, is called and the Single Click command is ignored
Screenshots
No response
NuGet package version
H.NotifyIcon.WinUI
v2.1.3
Platform
No response
IDE
Visual Studio 2022
Windows Version
Win 11
WindowsAppSDK Version
No response
WindowsAppSDK Type
None
Manifest
No response
Additional context
No response
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working