Re: [Tcl-bugs] tk_getOpenFile segmentation fault on Mac OS X 10.5

View: New views
3 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: [Tcl-bugs] tk_getOpenFile segmentation fault on Mac OS X 10.5

by Jeff Hobbs :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Erin,

On 11/06/2009 3:03 AM, Erin McKay wrote:
> I have encountered a semi-reproducible bug in tk_getOpenFile (OS X 10.5 native
> implementation). The one-line program below generates a segmentation fault
> (after several seconds) if a file is selected in the dialog. If the dialog is
> canceled, it does not crash.
        ...
> tk_getOpenFile -message "Select a File"
        ...

I'm redirecting this to tcl-mac as it is mac-related, though really
filing a bug at http://tcl.sourceforge.net (under Tk Toolkit) is more
appropriate.

I can confirm your error with the 8.4.7 that ships with OS X, however
this has been fixed in the Tcl/Tk core (8.4.7 is fairly old).  You can
newer versions of Tcl/Tk for OS X at http://www.activestate.com/Tcl.

Regards,

Jeff

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Tcl-mac mailing list
tcl-mac@...
https://lists.sourceforge.net/lists/listinfo/tcl-mac

Icon launched menus next to the clock and Spotlight button

by Peter Caffin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all,

Are there any packages for, or is there Tk functionality to create, a
popup menu launched from an icon next to the clock on the Mac menubar?

http://pc.autons.net/stuff/osx-menubar-icon-menu.png

Essentially, I'd like to be able to install a menu similar to ones
already there for Volume, Internationalisation and the Display.

Icons in the popup menu itself aren't necessary.

Cheers for any and all suggestions.


Pete.

------------------------------------------------------------------------------
_______________________________________________
Tcl-mac mailing list
tcl-mac@...
https://lists.sourceforge.net/lists/listinfo/tcl-mac

Re: Icon launched menus next to the clock and Spotlight button

by Kevin Walzer-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Peter Caffin wrote:

> Hi all,
>
> Are there any packages for, or is there Tk functionality to create, a
> popup menu launched from an icon next to the clock on the Mac menubar?
>
> http://pc.autons.net/stuff/osx-menubar-icon-menu.png
>
> Essentially, I'd like to be able to install a menu similar to ones
> already there for Volume, Internationalisation and the Display.
>
> Icons in the popup menu itself aren't necessary.
>
> Cheers for any and all suggestions.
>
>
> Pete.
>

Hi Pete,

I think this would have be coded as a Tcl/Tk extension. The relevant API
appears to be NSStatusItem:

http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSStatusItem_Class/Reference/Reference.html

I have some interest in this feature myself, so I may do this at some
point, but not in the immediate future.

--Kevin

--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com

------------------------------------------------------------------------------
_______________________________________________
Tcl-mac mailing list
tcl-mac@...
https://lists.sourceforge.net/lists/listinfo/tcl-mac