[Users] [Bug 3922] minimize to tray on startup not working

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Tue Jun 23 17:39:53 CEST 2020


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=3922

--- Comment #30 from Daniel Kirchner <daniel at ekpyron.org> ---
Interestingly, I just discovered that "gtk_status_icon_is_embedded" does
*start* to return TRUE after a while even on LXQt, just not immediately.
So the change from "g_idle_add" to "g_timeout_add" actually solves this issue
entirely even on LXQt.

I'm not quite sure if this is still a bug in the LXQt system tray or not - I'm
just looking at lxqt-panel code - I guess it has something to do with the
precise way it implements the XEmbed protocol. Arguably, there is probably no
guarantee that the tray icon will already be embedded when the gtk main loop
starts, even if there is a tray available already, so I think the
"g_timeout_add" instead of "g_idle_add" solution might really be a "proper"
solution to all this...

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list