QSystemTrayIcon example does not show messages
-
Hi,
I was trying to show a balloon message using QSystemTrayIcon::showMessage with no luck.
My environment is Windows 11 and Qt 6.4.(Also tried with 5.15)After I couldn't get my code to work I tried Qt systray example The behavior is the same.
I also tried adding this registry key Computer\HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced\EnableBalloonTips = 1
QSystemTrayIcon::supportsMessages() returns true regardless of this registry key being set or not
Qt example won't show me the message. The only thing worth mentioning is that when tray icon is not visible(as a result of default settings under "Taskbar corner overflow" settings) and show message is executed the tray icon is shown for like 100-200ms (still no message visible) and then disappears.
What should I do to get my message to be shown?