[ icewm-Bugs-2911627 ] Cannot withdraw window from non-active desktop
"SourceForge.net" <[email protected]> Wed, 09 Dec 2009 20:34:53 +0000
| Newsgroups | gmane.comp.window-managers.icewm.devel |
|---|---|
| Message-ID | <[email protected]> |
Bugs item #2911627, was opened at 2009-12-09 21:34
Message generated for change (Tracker Item Submitted) made by klappnase
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=2911627&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: None
Group: icccm
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: klappnase (klappnase)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cannot withdraw window from non-active desktop
Initial Comment:
Attempts to withdraw a window from the screen when it is on a different than the currently active desktop fail in Tcl / Tk scripts.
I tracked it down to the simplest possible case, a two-line script test.tcl:
### file test.tcl ####
#!/usr/bin/wish
after 5000 wm withdraw .
### eof ####
This should create an empty window and after a timeout of 5 sec. hide it from the screen.
However it fails when the user switches to another desktop before the window is withdrawn.
The system is debian lenny; I tried it with both Tk-8.4.19 and Tk-8.5.3 and IceWm versions
1.2.35 (debian default) , 1.2.37 and 1.3.5 .
It did not happen on any other window manager I tried; some Tk experts I contacted claim it must be
an IceWm bug.
I tried to verify this by writing a small script doing the same with Python / gtk:
#### file test.py ####
#!/usr/bin/python
import pygtk
pygtk.require('2.0')
import gtk
import gobject
window = gtk.Window(gtk.WINDOW_TOPLEVEL)
window.show()
gobject.timeout_add(5000, window.hide)
gtk.main()
### eof #######
When I run this script and switch to a different desktop, then after a few sec. switch back to
the original desktop, the gtk window remains visible for a fraction of a second,
and then disappears, but it clearly was not withdrawn as long as it was on
the non-active desktop, so I presume it might actually be an IceWm bug
for which gtk has a workaround so the window is hidden when its desktop
becomes active again.
Best regards
Michael
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=2911627&group_id=31
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev