Overview
| Artifact ID: | f85251dd6e7a2cd85eb0e6c96f191a85fad55014 |
|---|---|
| Ticket: | d365d2a3e3f77b150ea823639250fa9ad07aeb76
tk_getOpenFile crashes when passed a bad -typevariable |
| User & Date: | anonymous on 2014-11-11 21:20:11 |
Changes
- assignee changed to: "nobody"
- closer changed to: "nobody"
- cmimetype changed to: "text/plain"
- comment changed to:
On Windows only, this script will crash the second time that tk_getOpenFile is executed. This has happened on windows 32bit, 64bit, XP, 8.6.0-8.6.2. Select a file to open each time the dialog is displayed. Both double-clicking and selecting open cause the failure. #!/usr/bin/tclsh package require Tk set types [list [list Sequence {.seq}]] puts "types:$types" set dir [pwd] set fh [open xyzzy.seq w];close $fh set fh [open plugh.seq w];close $fh for { set i 0 } { $i < 10 } { incr i } { set fn [tk_getOpenFile \ -initialfile standardrounds \ -initialdir $dir \ -defaultextension .seq \ -parent . \ -typevariable $types \ -filetypes $types \ -title {Select Sequence} ] } exit - foundin changed to: "8.6.2"
- is_private changed to: "0"
- login: "anonymous"
- priority changed to: "5 Medium"
- private_contact changed to: "e755306c9ef019bc4ca35d69adcf001dece786ff"
- resolution changed to: "None"
- severity changed to: "Important"
- status changed to: "Open"
- submitter changed to: "anonymous"
- subsystem changed to: "18. Commands M-Z"
- title changed to:
tk_getOpenFile crashes when passed a bad -typevariable
- type changed to: "Bug"