https://bugs.kde.org/show_bug.cgi?id=494071
Jonathan Marten <j...@keelhaul.me.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Latest Commit| |https://invent.kde.org/pim/ | |akregator/-/commit/37472c0e | |2ffbf539b697888ed1131571a6a | |231e3 Status|ASSIGNED |RESOLVED --- Comment #6 from Jonathan Marten <j...@keelhaul.me.uk> --- Git commit 37472c0e2ffbf539b697888ed1131571a6a231e3 by Jonathan Marten. Committed on 10/03/2025 at 08:10. Pushed by marten into branch 'master'. Re-register the MainWindow with the system tray icon if its window handle changes This is initially set as the KStatusNotifierItem's associated window, but further on during startup the window gets destroyed and recreated. This happens during the initialisation of the article viewer, somewhere deep within QWebEngine. Since the KStatusNotifierItem retains the associated window using its window handle, that association is lost. The symptom is that the tray icon menu does not have a "Restore" item and clicking on the icon does not open the main window. The event filter monitors the MainWindow's window handle and, if it changes (either during startup or while running) for any reason, re-registers it as the tray icon's associated window. M +27 -3 src/main.cpp https://invent.kde.org/pim/akregator/-/commit/37472c0e2ffbf539b697888ed1131571a6a231e3 -- You are receiving this mail because: You are the assignee for the bug.