You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement Windows-specific notification cleanup for tests: add WinRT/UIAutomation helpers (clearToastNotificationHistory, closeVisibleToastNotifications, releaseCom, isCloseButtonInToastArea, invokeButton) and update dismissNativeNotifications to use them. Add required Windows headers/includes and link additional Windows libs (ole32, oleaut32, runtimeobject, uiautomationcore) in tests/CMakeLists.txt. Also simplify the README icon support line and replace an explicit sleep in waitForNativeNotificationTimeout with a call to dismissNativeNotifications.
| Tray icon (`icon`) | Qt `QSystemTrayIcon` / `QIcon` on all platforms | SVG, ICO, PNG, Qt theme icon names | Loaded through Qt's `QIcon` path; SVG, ICO, and PNG are tested. Theme icon names are resolved by Qt when the platform/theme supports them. |
139
-
| Notification icon (`notification_icon`) | Qt `QSystemTrayIcon::showMessage` / `QIcon` on all platforms | SVG, ICO, PNG, Qt theme icon names | Loaded through Qt's `QIcon` path; SVG, ICO, and PNG are tested. Theme icon names are resolved by Qt when the platform/theme supports them. |
136
+
SVG, ICO, PNG, and Qt theme icon names are supported.
140
137
141
138
For the most predictable cross-platform behavior, use SVG or PNG files for both tray and notification icons. ICO is
142
139
supported by the Qt-backed paths tested by this project.
0 commit comments