Skip to content
Tcl Source Code View Ticket
Login

View Ticket

File>Source... MacOS dialog box hangs

Closed / Fixed219367ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 26 years ago
Descriptionplain2000-10-26 05:11:42
OriginalBugID: 5954 Bug
Version: 8.3.1
SubmitDate: '2000-06-27'
LastModified: '2000-10-25'
Severity: CRIT
Status: UnAssn
Submitter: techsupp
OS: Macintosh
OSVersion: see 8
Machine: see 8
FixedDate: '2000-10-25'
ClosedDate: '2000-10-25'


Name:
Burt

Extensions:
?

CustomShell:
none

Comments:
Let me know if I should reinstall into another folder.

ReproducibleScript:
Start wish.  Go to menu: File>Source ...
Dialog box outline comes up and hangs.  Exit via opt-comm-esc to force quit.
Problem does not occur with wish 8.2.1.
My system: Mac G3, OpSys: 8.5.1.
Note: I installed into Tcl/Tk folder that already had 8.2.1 installed.  Perhaps that was a problem?
Regards,
Burt Chambers

ObservedBehavior:
see above

DesiredBehavior:
Expected an open file dialog box.
dkf Ticket [219367ffff]: 1 change [History diff]2000-11-19 18:21:54
dasplain2001-04-14 18:52:13
Logged In: YES 
user_id=90580

fixed in 8.3.3, will submit the fix to 8.4 in my upcoming mac 
patch. BTW, tk bug #220911 is a duplicate of this bug.

for ref, the problem is caused by the missing & in the 
CustomGetFile call in: (excerpt of a full diff)

diff -u -r1.6 tkMacDialog.c
     if (isOpen == OPEN_FILE) {
         if (ofd != NULL && ofd->usePopup) {
     CustomGetFile(openFilter, (short) -1, NULL, &reply, 
OPEN_BOX,
-        mypoint, openHook, NULL, NULL, NULL, (void*) &
ofd);
+        mypoint, openHook, NULL, NULL, NULL, (void*) 
ofd);
 } else {
     StandardGetFile(NULL, -1, NULL, &reply);
 }
Log in (anonymous is fine) to add a comment.