hardcodet / wpf-notifyicon

NotifyIcon (aka system tray icon or taskbar icon) for the WPF platform
Other
810 stars 125 forks source link

Context menu breaks after resuming from machine Lock/Unlock or Sleep #46

Closed milos12345 closed 3 years ago

milos12345 commented 3 years ago

Steps to reproduce the issue:

  1. Check several times to make sure RMB on Tray icons opens Context Menu
  2. Press Win+L to lock machine (or put computer to sleep)
  3. Unlock machine by entering password/pin
  4. Right click on Tray Icon Nothing happens

Same result whether the Context Menu is realized through xaml only or in code behind VS2019 and .NET Framework 4.8

milos12345 commented 3 years ago

It looks like the error was in style of the context menu provided by ModernWPF. If I notice it again I will reopen the issue