View previous topic :: View next topic |
Author |
Message |
mds Operator
Joined: Sep 25, 2009 Posts: 43 Location: Switzerland
|
Posted: Fri Oct 02, 2009 1:08 pm Post subject: Help Menu Search? |
|
Help menu search is missing in NeoOffice. It isn't available in OOo either, so do I correctly assume that the feature cannot be implemented for NeoOffice?
Martin |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Fri Oct 02, 2009 1:18 pm Post subject: |
|
This is known bug in Apple's Mac OS X Snow Leopard code and it is not a NeoOffice bug as applications do not create this menu. Instead, Mac OS X creates this menu. Since this is a Apple bug, we will need to wait until Apple fixes this bug in a future system update.
Patrick |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Fri Oct 02, 2009 1:21 pm Post subject: |
|
FYI. I forgot to add that there are more details about this Mac OS X bug in the last item in the Snow Leopard Upgrade Issues NeoWiki article.
Patrick |
|
Back to top |
|
|
mds Operator
Joined: Sep 25, 2009 Posts: 43 Location: Switzerland
|
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Fri Oct 02, 2009 1:34 pm Post subject: |
|
No worries. I doubt that you will be the last person to ask about this. For whatever reason, it seems that Apple's engineers changed the Snow Leopard code and, AFACIT, they have not published what special steps are now required for Mac OS X to propery recognize your application's help menu.
Patrick |
|
Back to top |
|
|
mds Operator
Joined: Sep 25, 2009 Posts: 43 Location: Switzerland
|
Posted: Fri Oct 02, 2009 1:44 pm Post subject: |
|
Do you know why only a few applications (at least on my system) are affected by this bug?
I've just checked about 30 applications, only three – Adobe Photoshop, NO and OOo – failed to display the help search menu.
Martin |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Fri Oct 02, 2009 2:06 pm Post subject: |
|
mds wrote: | Do you know why only a few applications (at least on my system) are affected by this bug? |
No, I do not know. I spent a full day trying to reverse engineer what Mac OS X 10.6 needs for it to add the search menu item to our help menu, but I have not found any pattern.
Patrick |
|
Back to top |
|
|
sardisson Town Crier
Joined: Feb 01, 2004 Posts: 4588
|
Posted: Fri Oct 02, 2009 4:31 pm Post subject: |
|
My first guess was not having a MainMenu.nib (even a dummy one), but OOo apparently includes one, so it's not that
Smokey _________________ "[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Fri Oct 02, 2009 5:17 pm Post subject: |
|
sardisson wrote: | My first guess was not having a MainMenu.nib (even a dummy one), but OOo apparently includes one, so it's not that |
The Help :: Search menu also appears when your preferred language. This makes me think that Mac OS X expects some combination of number and/or names of menus and menu items.
However, the German language pack changes the Help menu to Hilfe which is the same name that TextEdit uses. This is why I think that the Apple engineers' Snow Leopard is a little too clever for its own good.
Patrick |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Fri Oct 02, 2009 11:29 pm Post subject: |
|
I have good news: I found the major Cocoa call to invoke to tell Snow Leopard that our last menu is the help menu.
I have added it to our code and it appears to work. I will include my changes in the next test patch that I post sometime this weekend.
Patrick |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
|
Back to top |
|
|
mds Operator
Joined: Sep 25, 2009 Posts: 43 Location: Switzerland
|
Posted: Sat Oct 03, 2009 1:59 pm Post subject: |
|
NeoOffice got help menu search, great, thank you!
Martin |
|
Back to top |
|
|
sardisson Town Crier
Joined: Feb 01, 2004 Posts: 4588
|
Posted: Sat Oct 31, 2009 11:06 pm Post subject: |
|
Patrick, could you point me to this code in CVSWeb? Or to the reference you found, if you know where that is?
I'm trying to track down a similar problem in Camino (without the aid of a 10.6 Mac) and this is the only useful reference to the problem I've found
Thanks,
Smokey _________________ "[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki |
|
Back to top |
|
|
pluby The Architect
Joined: Jun 16, 2003 Posts: 11949
|
Posted: Sun Nov 01, 2009 10:05 am Post subject: |
|
sardisson wrote: | Patrick, could you point me to this code in CVSWeb? Or to the reference you found, if you know where that is?
I'm trying to track down a similar problem in Camino (without the aid of a 10.6 Mac) and this is the only useful reference to the problem I've found |
[NSApplication setHelpMenu:(NSMenu *)helpMenu] is the magic Objective-C selector that you call. Note: this new selector only exists in Mac OS X 10.6. |
|
Back to top |
|
|
sardisson Town Crier
Joined: Feb 01, 2004 Posts: 4588
|
Posted: Sun Nov 01, 2009 11:34 am Post subject: |
|
Thanks a million, Patrick!
Smokey _________________ "[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki |
|
Back to top |
|
|
|