Welcome to NeoOffice developer notes and announcements
NeoOffice
Developer notes and announcements
 
 

This website is an archive and is no longer active
NeoOffice announcements have moved to the NeoOffice News website


Support
· Forums
· NeoOffice Support
· NeoWiki


Announcements
· Twitter @NeoOffice


Downloads
· Download NeoOffice


  
NeoOffice :: View topic - Help Menu Search?
Help Menu Search?
 
   NeoOffice Forum Index -> NeoOffice Releases
View previous topic :: View next topic  
Author Message
mds
Operator


Joined: Sep 25, 2009
Posts: 43
Location: Switzerland

PostPosted: 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
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: 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
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: 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

PostPosted: Fri Oct 02, 2009 1:30 pm    Post subject:

The issue was discussed before, I should have search more thoroughly:

https://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=7809&start=0&postdays=0&postorder=asc&highlight=

Martin
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Fri Oct 02, 2009 1:34 pm    Post subject:

mds wrote:
The issue was discussed before, I should have search more thoroughly:

https://trinity.neooffice.org/modules.php?name=Forums&file=viewtopic&t=7809&start=0&postdays=0&postorder=asc&highlight=

Martin



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. Sad

Patrick
Back to top
mds
Operator


Joined: Sep 25, 2009
Posts: 43
Location: Switzerland

PostPosted: 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
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: 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
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: 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 Wink

Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: 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 Wink


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
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: 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. Smile

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
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: Sat Oct 03, 2009 10:25 am    Post subject:

FYI. I think that I have fixed this Snow Leopard bug. Can you install the following test patch and tell us if my fix works for you?:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.0.1_Early_Access-Patch-1-Test-5-Intel.dmg
http://joe.neooffice.org/test/NeoOffice-2.2.6_Early_Access-Patch-1-Test-5-Intel.dmg

PowerPC:
http://joe.neooffice.org/test/NeoOffice-3.0.1_Early_Access-Patch-1-Test-5-PowerPC.dmg
http://joe.neooffice.org/test/NeoOffice-2.2.6_Early_Access-Patch-1-Test-5-PowerPC.dmg

Patrick
Back to top
mds
Operator


Joined: Sep 25, 2009
Posts: 43
Location: Switzerland

PostPosted: Sat Oct 03, 2009 1:59 pm    Post subject:

pluby wrote:
FYI. I think that I have fixed this Snow Leopard bug. Can you install the following test patch and tell us if my fix works for you?:

Intel:
http://joe.neooffice.org/test/NeoOffice-3.0.1_Early_Access-Patch-1-Test-5-Intel.dmg

NeoOffice got help menu search, great, thank you! Smile

Martin
Back to top
sardisson
Town Crier
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: 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 Sad

Thanks,
Smokey

_________________
"[...] whether the duck drinks hot chocolate or coffee is irrelevant." -- ovvldc and sardisson in the NeoWiki
Back to top
pluby
The Architect
The Architect


Joined: Jun 16, 2003
Posts: 11949

PostPosted: 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 Sad


[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
Town Crier


Joined: Feb 01, 2004
Posts: 4588

PostPosted: 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
Display posts from previous:   
   NeoOffice Forum Index -> NeoOffice Releases All times are GMT - 7 Hours
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Powered by phpBB © 2001, 2005 phpBB Group

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © Planamesa Inc.
NeoOffice is a registered trademark of Planamesa Inc. and may not be used without permission.
PHP-Nuke Copyright © 2005 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.