Tk Source Code

View Ticket
Login
Ticket UUID: 8972b57276382a6bc31719cb8e114d3f87ede672
Title: MS-VC6 with core-8-6-branch: stacking order tests fail
Type: Bug Version: core-8-6-branch
Submitter: oehhar Created on: 2026-03-12 09:47:32
Subsystem: 68. Win Window Operations Assigned To: nobody
Priority: 5 Medium Severity: Minor
Status: Open Last Modified: 2026-03-12 09:47:32
Resolution: None Closed By: nobody
    Closed on:
Description:

Today, I ran the test suite with MS-VC6 32 bit and core-8-6-branch.

Here are some test failures:

==== winWm-7.3 UpdateWrapper must maintain Z order FAILED
==== Contents of test case:

    destroy .t
    toplevel .t
    lower .t
    update
    set res [wm stackorder .t isbelow .]
    wm resizable .t 0 0
    update
    list $res [wm stackorder .t isbelow .]

---- Result was:
1 0
---- Result should have been (exact matching):
1 1
==== winWm-7.3 FAILED

window.test
winfo.test
wm.test


==== wm-attributes-1.5.1 fullscreen stackorder FAILED
==== Contents of test case:

    toplevel .t
    lower .t
    eventDelay
    lappend results [wm stackorder .]

    # If stacking order is explicitly set, then setting the fullscreen
    # attribute should not change it.
    wm attributes .t -fullscreen 1
    eventDelay
    lappend results [wm stackorder .]

---- Result was:
{.t .} {. .t}
---- Result should have been (exact matching):
{.t .} {.t .}
==== wm-attributes-1.5.1 FAILED



==== wm-attributes-1.5.2 fullscreen stackorder FAILED
==== Contents of test case:

    toplevel .t
    # lower forces the window to be mapped, it would not be otherwise
    lower .t
    lappend results [wm stackorder .]

    # If stacking order is explicitly set for an unmapped window, then setting
    # the fullscreen attribute should not change it.
    wm attributes .t -fullscreen 1
    eventDelay
    lappend results [wm stackorder .]

---- Result was:
{.t .} {. .t}
---- Result should have been (exact matching):
{.t .} {.t .}
==== wm-attributes-1.5.2 FAILED



==== wm-attributes-1.5.4 fullscreen stackorder FAILED
==== Contents of test case:

    toplevel .t
    lower .t
    eventDelay
    lappend results [wm stackorder .]

    wm attributes .t -fullscreen 1
    eventDelay
    lappend results [wm stackorder .]

    # Unsetting the fullscreen attribute should not change the stackorder.
    wm attributes .t -fullscreen 0
    eventDelay
    lappend results [wm stackorder .]

---- Result was:
{.t .} {. .t} {. .t}
---- Result should have been (exact matching):
{.t .} {.t .} {.t .}
==== wm-attributes-1.5.4 FAILED

Thanks for all, Harald