Closed
Description
I've created the TaskbarIcon as following (although styles have been added, but the issue remains even when I use an exact copy of this TaskbarIcon.
The issue is that whenever I open the Context Menu (Right click), it'll instantly close after being open for about half a second.
I have no idea what causes this issue and messing around with the Focusable property didn't change anything
<tb:TaskbarIcon x:Key="TaskbarIcon"
IconSource="pack://application:,,,/AudioBand;component/audioband.ico"
ToolTipText="AudioBand"
DoubleClickCommand="{Binding OpenSettingsMenuCommand}">
<tb:TaskbarIcon.ContextMenu>
<ContextMenu>
<MenuItem Header="Settings" Command="{Binding OpenSettingsMenuCommand}">
<MenuItem.Icon>
<TextBlock FontFamily="Segoe MDL2 Assets" Text="" />
</MenuItem.Icon>
</MenuItem>
<Separator />
</ContextMenu>
</tb:TaskbarIcon.ContextMenu>
</tb:TaskbarIcon>