Tk Source Code

View Ticket
Login
Ticket UUID: 40bc819140f3427aa2aa4fd332335cfeb24e26f6
Title: textWind-10.7 fails in some linux environments
Type: Bug Version: core-8-6-branch
Submitter: fvogel Created on: 2022-01-01 16:27:36
Subsystem: 86. Test Tools Assigned To: fvogel
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2022-01-09 13:47:37
Resolution: Fixed Closed By: fvogel
    Closed on: 2022-01-09 13:47:37
Description:

When Tk is built for an X11 windowing system (i.e. with --disable-aqua), textWind-10.7 fails as follows:

==== textWind-10.7 EmbWinLayoutProc procedure, error in creating window FAILED
==== Contents of test case:

    .t insert 1.0 "Some sample text"
    .t window create 1.5 -create {
        toplevel .t2 -width 100 -height 150
        wm geom .t2 +0+0
        concat .t2
    }
    set msg {}
    update
    lappend msg [.t bbox 1.5]

---- Result was:
{{can't embed .t2 relative to .t}} {40 11 0 0}
---- Result should have been (exact matching):
{{can't embed .t2 relative to .t}} {{window name "t2" already exists in parent}} {40 11 0 0}
==== textWind-10.7 FAILED

This test was marked with constraint "failsOnUbuntu" because it would fail at Github.

User Comments: fvogel added on 2022-01-09 13:47:37:

Branch bug-40bc819140 was merged into bug-17f44d4a0b, which was in turn merged into core-8-6-branch and trunk.


fvogel added on 2022-01-03 21:25:24:

More work happened in the bugfix branch bug-40bc819140 to stabilize textWind-10.7. See the bugfix branch for details.


fvogel added on 2022-01-03 12:27:20:

Results at GitHub are not good: the test now fails often (if not repeatably) on Linux.

Reopening and back-outing [d38ae72d].


fvogel added on 2022-01-02 15:31:47:
Merged to core-8-6-branch and trunk.

fvogel added on 2022-01-01 16:40:01:

Rather: [d38ae72d] (which is this time correctly off the core-8-6-branch).


fvogel added on 2022-01-01 16:32:26:

Fix: [3a0be17248]