Details
-
Bug
-
Resolution: Fixed
-
Not Evaluated
-
6.5.3, 6.6.0
-
None
-
-
5b451efe8 (dev), 038a20998 (6.6), ddc9dbd26 (tqtc/lts-6.5)
Description
Good afternoon.
If you call set menu (via the QSystemTrayIcon::setContextMenu method) in a slot that is connected to the QSystemTrayIcon::activated signal, then with subsequent clicks on the tray menu icon, this slot will be called several times, and with each click the number of calls doubles.
This behavior may cause the application to freeze when clicking multiple times.
I am attaching a video demonstrating this behavior and the source code of a minimal project for reproduction.