chrsmithdemos / switchlist

Automatically exported from code.google.com/p/switchlist
0 stars 0 forks source link

Help link when opening example layout doesn't lead to example docs #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Run switchlist.
Open an example layout
The layout loads, and a dialog appears explaning you're looking at an example.  
Click the question mark in the lower left of the dialog box.

Expected: Help page for that layout appears.
What actually happens: usually an error about being unable to load a page.

Original issue reported on code.google.com by rwbowdi...@gmail.com on 2 Aug 2012 at 6:08

GoogleCodeExporter commented 9 years ago
Figured out:

https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Applicati
onKit/Classes/NSAlert_Class/Reference/Reference.html

"When the help button is pressed, the alert delegate (delegate) is first sent a 
alertShowHelp: message. If there is no delegate, or the delegate does not 
implement alertShowHelp: or returns NO, then the openHelpAnchor:inBook: message 
is sent to the application’s help manager with a nil book and the anchor 
specified by setHelpAnchor:, if any. An exception is raised if the delegate 
returns NO and no help anchor is set."

Original comment by rwbowdi...@gmail.com on 2 Aug 2012 at 6:50

GoogleCodeExporter commented 9 years ago
Fixed in r368.

Original comment by rwbowdi...@gmail.com on 3 Aug 2012 at 3:53