Comments
-
Greg Hurrell
Thanks for the report. Does it crash on every single click or only some of the time?
Closer to the Tiger release date I'll make a build with debug symbols and we'll see what information can be gathered. I don't really want to start on Tiger compatibility until closer to release, because I suspect there's still quite a few changes Apple will be making...
Marking as ASSIGNED.
-
Jakob Peterh
OK. It crash on every click, just after showing an empty menu (or, maybe it does not get the time to fill it..)
This is an Update over 10.3.8 installation - I will try to see if it does the same if I get a chance to clean install...
-
Greg Hurrell
I'm pretty sure that it will crash on a clean install too.
-
bugzilla user 150
I have just installed Tiger 8A428 (Which is apparently the release build), and this bug is still occurring.
Just throwing it out there :D
-
Greg Hurrell
Yes, I know. I will try to have it fixed before public release, although I don't know what's causing it yet.
Can you post a crash log?
-
Greg Hurrell
Ok. This is now fixed.
I originally thought that something in the NSMenuExtra code had changed in Tiger but the crash was occurring in the Carbon menu code (which Cocoa uses). So I think these same crashes would occur in any application (not just menu extras) that use menus like WinSwitch did. Basically if I inserted an image into the attributed string for the menu then it would crash. So I consider this to be a Tiger bug.
Given that bugs like this are not likely to be fixed overnight by Apple, I looked at alternative ways of inserting an image. I spent a few hours exploring Carbon tricks but couldn't get what I wanted. In the end I settled for Cocoa's setImage method. It seems to work better than I remember it working in Panther, although now I can't test on Panther because I don't have a Panther install.
So what I've done is add a runtime check for Panther. On Panther I use the old methods which worked well on that version of the OS; on Tiger I use the alternative methods. I am pleased with the results.
Please test this new build on both Panther and Tiger and let me know how it goes. This is a release candidate for version 3.1.
Adding fixed-in-prerelease keyword.
-
Jakob Peterh
Hi.
3.1 seem to work super on Tiger GM. Cool!
-
Greg Hurrell
Marking as CLOSED.
Add a comment
Comments are now closed for this issue.