[ icewm-Bugs-1878118 ] eggtrayicon causes icons to be placed in their own window

"SourceForge.net" <[email protected]>
Newsgroups gmane.comp.window-managers.icewm.devel
Message-ID <[email protected]>
Bugs item #1878118, was opened at 2008-01-23 16:50
Message generated for change (Comment added) made by s_i_m
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=1878118&group_id=31

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: icewm-1.2
Group: None
Status: Open
Resolution: None
Priority: 6
Private: No
Submitted By: Simon Morgan (simonmorgan)
Assigned to: Marko Macek (captnmark)
Summary: eggtrayicon causes icons to be placed in their own window

Initial Comment:
A code change in icetray.cc between 1.2.34 and 1.2.35 results in the Gajim tray icon being placed in its own window. When Gajim is closed the window remains (minus icon) but is "broken" and refuses to be killed.

This problem seems to be unique to eggtrayicon and IceWM. Please find attached a test case which I've used to reproduce the problem with 1.2.35 as well as a recent CVS copy. The problem does not seem to exist in 1.2.34 or JWM (Joe's Window Manager).

The change which results in the problem appears to be:

193,195c199,205
<     if (fTray2->visible())
<         show();
<     else 
---
>     if (fTray2->visible()) {
>         if (!fManaged)
>             requestDock();
>         else
>             show();
>     } else {
>         fManaged = false;

If I remove the call to requestDock() and simply call show() as before the problem seems to go away. I'm not suggesting this as a fix (I'm sure you have a reason for calling requestDock()), but rather to point you to where the problem may lie.

----------------------------------------------------------------------

Comment By: Stanislav Maslovski (s_i_m)
Date: 2009-02-13 21:22

Message:
This bug is present in 1.2.37. I see it with gajim. The bug is usualy seen
after I close a single app (does not matter which) that used the systray
and then start gajim. Instead of the systray the gajim icon appears in its
own window. This window cannot be closed.

See also icewm-Bugs-2499403.

----------------------------------------------------------------------

Comment By: quest (myquest)
Date: 2008-11-15 03:23

Message:
s/thies/this, sorry

----------------------------------------------------------------------

Comment By: quest (myquest)
Date: 2008-11-15 03:23

Message:
How I can add 2 screenshots in thies report to illustrate this icewmtray's
bug?

----------------------------------------------------------------------

Comment By: quest (myquest)
Date: 2008-11-15 03:14

Message:
icewm-1.2.36pre1
When I have change theme or restarting Icewm - tray icon being placed in
its own window. And when I change theme or restarting Icewm again - this
"tray" window now without any tray icons - only small black window  refuses
to be killed.

----------------------------------------------------------------------

Comment By: Marko Macek (captnmark)
Date: 2008-04-06 22:36

Message:
Logged In: YES 
user_id=1814
Originator: NO

note: the testcase doesn't cause the problem for me in latest CVS
(1.2.35+)

Be sure that you are using icewmtray from icewm-1.2.35 and not an older
version.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=1878118&group_id=31

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.