Skip to content
Commit 2189ace1 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

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

BUG: 483899
(cherry picked from commit cb058cff)
parent 57850465
Pipeline #636691 passed with stage
in 2 minutes and 20 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment