Tk Source Code

View Ticket
Login
Ticket UUID: 604004
Title: unixWm-51.7 fails
Type: Bug Version: obsolete: 8.4.0
Submitter: dgp Created on: 2002-09-03 14:36:36
Subsystem: 67. Unix Window Operations Assigned To: jenglish
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2003-11-15 05:52:27
Resolution: None Closed By: jenglish
    Closed on: 2003-11-14 22:52:27
Description:
On Solaris 8 with CDE:

==== unixWm-51.7 TkWmRestackToplevel procedure, other
window isn't mapped FAILED
==== Contents of test case:

    foreach w {.t .t2 .t3} {
        catch {destroy $w}
        toplevel $w -width 200 -height 200 -bg green
        wm geometry $w +0+0
    }
    raise .t .t2
    update
    set result [list [winfo containing 100 100]]
    lower .t3
    lappend result [winfo containing 100 100]

---- Result was:
.t3 .t3
---- Result should have been (exact matching):
.t3 .t
==== unixWm-51.7 FAILED

Perhaps a consequence of TIP 107?
User Comments: dgp added on 2003-09-23 01:05:48:
Logged In: YES 
user_id=80530

FWIW, the test no longer
fails in the Tk HEAD.

jenglish added on 2003-09-14 03:35:12:
Logged In: YES 
user_id=68433

Set status to "Pending" -- can't replicate, is this still a
problem?  Is that test even one that's intended to verify
desired behaviour, or is it one of the "experimental" ones
(i.e., "figure out what Tk happens to do today and make sure
it does the same thing tomorrow.")

jenglish added on 2002-09-03 23:13:36:
Logged In: YES 
user_id=68433


This was one of the two preexisting failures I saw
under CDE _before_ applying the TIP 107 patch. 

It looks race-condition related though, and it's very 
likely that TIP 107 could cause this test to start failing
where it had succeeded before.