| Ticket UUID: | 1481496 | |||
| Title: | help menu entries block the application | |||
| Type: | Bug | Version: | obsolete: 8.4.13 | |
| Submitter: | randolf | Created on: | 2006-05-04 00:31:11 | |
| Subsystem: | 11. Aqua Menus | Assigned To: | das | |
| Priority: | 4 | Severity: | ||
| Status: | Closed | Last Modified: | 2026-10-22 17:22:34 | |
| Resolution: | Out of Date | Closed By: | serhiy.storchaka | |
| Closed on: | 2026-09-30 11:50:03 | |||
| Description: |
In my application, when certain entries from the help menu are selected, the application stops, displays the rainbow wheel and can only be killed. I can make the menu entries work using "after idle" for the menu command or by renaming the menu from "help" to "myhelp" (in the latter case, I then have of course two Help menus). The menu entries that do not work simply call a procedure that should fire up a web browser. Other entries from the same menu, that e.g. only pop up an About dialog, always work. This bug does not show up with Tcl/Tk 8.4.7. Application: http://sf.net/projects/ayam best regards, Randolf, -- http://www.ayam3d.org/ Ayam, where import means NURBS! | |||
| User Comments: |
serhiy.storchaka added on 2026-09-30 11:50:03:
This was reported for the Carbon-based Aqua port of Tk 8.4, which has been replaced by the Cocoa port, and it could not be reproduced without the application's C extension. Closing as out of date. A similar symptom on the current Cocoa port, a hang when a menu command opens a modal dialog, is [33b3af1cea] (macOS 27). As there, deferring the command with after idle avoids it. das added on 2006-05-16 10:51:19: Logged In: YES user_id=90580 would it be possible to isolate a small example in tcl & C that shows the problem, e.g. by putting the help menu code in question into a small C extension ? with the current information, I don't think I can help with this problem, I really need to be able to debug the code that hangs... randolf added on 2006-05-04 18:44:50: Logged In: YES user_id=125929 Unfortunately I cannot add such a script, as I cannot reproduce the problem in pure Tcl. I tried hard, though. However, I found another way to toggle the blocking problem. In the procedure, that is called by the menu entry, one of the first commands is an own, written in C, that concatenates some strings and writes them to the console again, using Tcl_Eval(<some script, that contains a puts>);. I can toggle the blocking problem by commenting the call to this command also. Looks like a timing issue to me, because a) it is cureable with "after idle" and b) while in this self written command, that seems to cause the block, the application does not process any events. das added on 2006-05-04 15:05:06: Logged In: YES user_id=90580 Randolf, could you provide a small test script that shows the problem, that would make debugging it much quicker for me | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki