Tk Source Code

View Ticket
Login
2014-03-13
09:04 Ticket [658279ffff] Possible transient bug status still Open with 1 other change artifact: 5a7765966c user: jan.nijtmans
2013-01-31
18:54 Ticket [658279ffff]: 1 change artifact: b649ac8826 user: stwo
2012-05-08
02:36 Ticket [658279ffff]: 4 changes artifact: b468a0cd35 user: jepler
02:35 Ticket [658279ffff]: 4 changes artifact: fd04c5678f user: jepler
02:29 Ticket [658279ffff]: 4 changes artifact: 43d60876a8 user: jepler
2003-02-20
10:31 Ticket [658279ffff]: 1 change artifact: 045480272b user: hobbs
2002-12-24
18:36 New ticket [658279ffff]. artifact: aac8c257c4 user: damonc

Ticket UUID: 658279
Title: Possible transient bug
Type: Bug Version: None
Submitter: damonc Created on: 2002-12-24 18:36:06
Subsystem: None Assigned To: jan.nijtmans
Priority: 5 Medium Severity:
Status: Open Last Modified: 2014-03-13 09:04:32
Resolution: None Closed By:
    Closed on:
Description:
This code on Windows using ActiveTcl 8.4.1:

toplevel .foo

toplevel .moo
update idletasks
wm transient .moo .foo
grab set .moo

toplevel .boo
update idletasks
wm transient .boo .moo
grab set .boo

toplevel .bar
update idletasks
wm transient .bar .boo
grab set .bar

Creates the proper windows.  Then, double-click the
taskbar, iconifying the application.  Now, click the
taskbar icon again, deiconifying the application. 
Every window except the top one, .bar, come back.  The
state of .bar is still withdrawn for some reason.  And,
if you attempt to deiconify it, it draws the title bar
and an outline of the window but never finishes.  It
hangs there.
User Comments: jepler added on 2012-05-08 02:36:15:
The script that I developed before finding this tracker item was:

package require Tk
wm dei .    ; wm geo . +100+100
toplevel .t ; wm geo .t +100+500
toplevel .s ; wm geo .s +500+100
toplevel .u ; wm geo .u +500+500
wm trans .t .
wm trans .s .t
wm trans .u .s

jepler added on 2012-05-08 02:35:45:
Second test was Tk 8.6b2 / WinXP

jepler added on 2012-05-08 02:29:43:
This problem (specifically, that .bar is never redrawn anymore) appears to affect Tk 8.5.9 on Windows 7 and Tk 8.6b2 on an unreported version of Windows.  I believe I've traced it as far as WM_PAINT events not arriving in TkWinChildProc for the window.