https://bugs.kde.org/show_bug.cgi?id=483899
Nicolas Fella <nicolas.fe...@gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Latest Commit|https://invent.kde.org/netw |https://invent.kde.org/netw |ork/ktorrent/-/commit/cb058 |ork/ktorrent/-/commit/2189a |cff726ed33e31583d462480b6d5 |ce11b528f325352f70f81557f88 |3cfffb0a |2c34714d --- Comment #4 from Nicolas Fella <nicolas.fe...@gmx.de> --- Git commit 2189ace11b528f325352f70f81557f882c34714d by Nicolas Fella. Committed on 18/03/2024 at 22:03. Pushed by nicolasfella into branch 'release/24.02'. Set associated window for tray icon after showing main window Currently we set the associated window by passing GUI as parent window to the KStatusNotifierItem constructor. This will obtain the windowHandle for it and save that. Later when creating the WebView for the search plugin Qt deletes and recreates the windowHandle for the main window, invalidating the windowHandle KStatusNotifierItem has saved. This causes showing/hiding via the tray icon to not work. To avoid this manually set the associated window later when the handle won't change any more (cherry picked from commit cb058cff726ed33e31583d462480b6d53cfffb0a) M +2 -0 ktorrent/gui.cpp M +4 -0 ktorrent/trayicon.cpp M +2 -0 ktorrent/trayicon.h https://invent.kde.org/network/ktorrent/-/commit/2189ace11b528f325352f70f81557f882c34714d -- You are receiving this mail because: You are watching all bug changes.