[ icewm-Bugs-2911627 ] Cannot withdraw window from non-active desktop
"SourceForge.net" <[email protected]> Sun, 03 Jan 2010 18:20:39 +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 (Comment added) made by captnmark
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: Fixed
>Priority: 8
Private: No
Submitted By: klappnase (klappnase)
>Assigned to: Marko Macek (captnmark)
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
----------------------------------------------------------------------
>Comment By: Marko Macek (captnmark)
Date: 2010-01-03 19:20
Message:
fixed in icewm-1-3-BRANCH in CVS
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=2911627&group_id=31
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev