Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the '10.5: Revert Help Viewer to 10.4-like behavior' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.5: Revert Help Viewer to 10.4-like behavior
Authored by: kyngchaos on Feb 14, '08 08:55:04AM

Cool. Though it's a bummer that hacking the binary is required. Luckily the "isVisible" string is exactly the same length as "setLevel:".

I tried figuring this out as soon as Leopard came out, but only got as far as the window settings in Interface Builder.

One correction/addition: it's a universal binary, so there are two occurrences of setLevel to replace, one for each architecture. I think the first one is Intel, so if you're on a PPC Mac you need to at least replace the second one, if not both.

Some other things I noticed:

  • Apple-Q does not work to quit Help Viewer, even though it has the shortcut listed in the menu. And closing the last/only window doesn't quit it either.
  • I have another language installed besides English, and it's nib is "compiled", which Interface Builder says it can't edit. I don't actually use this other languagge (it's there for the future possibility of learning the language), so I don't know what I would edit. Maybe the compiled nib is a reference to the English nib?
  • Clicking on the Dock help Viewer icon opens a new help window, even if one is already open. A bit annoying.


[ Reply to This | # ]
10.5: Revert Help Viewer to 10.4-like behavior
Authored by: kyngchaos on Feb 14, '08 09:03:18AM

Update: Help Viewer WILL quit when closing the help window ONLY if it is the original help window and no other help windows were opened (like when the Dock icon is clicked).



[ Reply to This | # ]
10.5: Revert Help Viewer to 10.4-like behavior
Authored by: louisk2 on Feb 14, '08 05:16:09PM
Yes, there are two setLevel: calls in the binary, however editing the second one causes errors and an application crash! The universal binary doesn't duplicate itself entirely for each architecture, just parts.

Yes it is lucky that isVisible is the same length, and does not cause a crash when called - no results need to be returned from the call phew :P

I also have a utility I wrote to let the Help Viewer show itself when called from the help menu - yet I am not sure how to get Command-Q working again. Download it here: http://panzarino.100webspace.net/development/leopardHelpHelper.zip

[ Reply to This | # ]
10.5: Revert Help Viewer to 10.4-like behavior
Authored by: kyngchaos on Feb 15, '08 10:35:40AM

I edited both copies of setlevel and don't get crashes or errors. I'm on an Intel Mac, no PPC Mac with Leopard to test on.

I'm not sure what you mean by letting Help Viewer open when called from the Help menu. When I select a Help menu item, it opens Help Viewer and brings it to the front. Maybe you mean when Help Viewer is already open? I do find that when Help Viewer is already open and in the background, selecting another Help menu item doesn't bring Help Viewer to front, though the newly selected item is at least opened in Help Viewer.



[ Reply to This | # ]