Hello,<br><br>>>>> elif construct(Even...)  had no effect. <br><br>You could try some uggly thing like the following one :<br><br><div><div>======================================<br></div><div>def onTrayIconActivated(self, reason):<br>         clickDetected = 0<br> <br>          if reason == QSystemTrayIcon.DoubleClick:<br>              clickDetected += 1<br>          elif reason == QSystemTrayIcon.Trigger:<br>              clickDetected += 1<br><br>          if clickDetected == 2:<br>              print('tray icon double clicked')<br>          elif clickDetected == 1:<br>              print("Tray icon single clicked")<br>======================================<br><br>Christophe<br> </div></div>