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
                   |                            |ork/ktorrent/-/commit/cb058
                   |                            |cff726ed33e31583d462480b6d5
                   |                            |3cfffb0a
             Status|ASSIGNED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Nicolas Fella <nicolas.fe...@gmx.de> ---
Git commit cb058cff726ed33e31583d462480b6d53cfffb0a by Nicolas Fella.
Committed on 18/03/2024 at 19:53.
Pushed by aacid into branch 'master'.

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

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/cb058cff726ed33e31583d462480b6d53cfffb0a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to