#1368 Possible transient bug

open
None
5
2013-01-31
2002-12-24
No

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.

Discussion

  • Jeffrey Hobbs

    Jeffrey Hobbs - 2003-02-20
    • assigned_to: nobody --> stwo
     
  • Jeff Epler

    Jeff Epler - 2012-05-07

    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.

     
  • Jeff Epler

    Jeff Epler - 2012-05-07

    Second test was Tk 8.6b2 / WinXP

     
  • Jeff Epler

    Jeff Epler - 2012-05-07

    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

     
  • Stuart Cassoff

    Stuart Cassoff - 2013-01-31
    • assigned_to: stwo --> nijtmans
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks