Tk Source Code

View Ticket
Login
Ticket UUID: 6cd4762798a2682d95ee38238990551f3219ead
Title: Crash using tk busy hold
Type: Bug Version: 8.6.13
Submitter: anonymous Created on: 2023-02-16 11:38:01
Subsystem: 28. Utility Functions Assigned To: fvogel
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2023-02-27 20:44:23
Resolution: Fixed Closed By: fvogel
    Closed on: 2023-02-27 20:44:23
Description:
After the first "tk busy hold", wish complains about "can't create window: its parent has -container = yes".
After the second "tk busy hold" wish crashes in HoldBusy:

frame .fce -container 1
pack .fce -expand 1 -fill both
pack forget .fce
wm manage .fce
catch {tk busy hold .fce} err
puts stderr $err
catch {tk busy hold .fce} err
puts stderr $err

Just wondering why the code does not complain about the "-container = yes" (and does not crash) when "pack forget .fce" and "wm manage .fce" is commented out.
User Comments: fvogel added on 2023-02-27 20:44:23:
Merged into core-8-6-branch and trunk.

fvogel added on 2023-02-26 20:03:54:

Thanks for the report!

Fix proposal: [c14176de74]