View Issue Details

IDProjectCategoryView StatusLast Update
0017866LazarusLCLpublic2015-05-07 06:46
ReporterPhil Assigned To 
Status acknowledgedResolutionopen 
PlatformMacOSOS X 
Product Version0.9.29 (SVN) 
Summary0017866: /examples/helphtml does not work
DescriptionClicking Help button gives "Help Context not found" error.

TagsNo tags attached.
Fixed in Revision
Attached Files



2010-11-08 01:07

reporter   ~0042873

Since I couldn't get this example to work and can't find any code in Carbon widgetset that indicates that the Apple HelpViewer is being used with LCL help, I wrote a short example illustrating how HelpViewer can be invoked from a Laz Carbon app.

- Added two keys to app bundle's Info.plist - this registers help book and adds Help menu to app.

- Created English.lproj/Help folder under app bundle's Resources and placed HTML files there. Note that doesn't seem to work without Help being in a localized folder.

- Indexed HTML files with hiutil -Caf Help.helpindex . (from within app's Help folder; can also drag and drop Help folder to interactive Help Indexer app). Note <meta> tag in index.html is required.

Note that this help is not context sensitive. Cmd+? is normally reserved to display the Help Search menu, I believe, not to display help topic for current control.

Also, some of the information in Apple's docs does not look to be quite up to date with Snow Leopard:

2010-11-08 01:07 (6,996 bytes)

Reinier Olislagers

2014-09-22 12:42

developer   ~0077520

1. Is this problem still present on OSX?
2. I would suggest removing LazTarget 1.4 unless a patch is supplied that fixes the demo application.

Karl-Michael Schindler

2014-09-27 13:04

reporter   ~0077731

I tested the Demo with Lazarus 1.2.4 (carbon-LCL) on Mac OS X 10.9.5 (German). The usual Help window pops up with two lines of messages (translated from German)
"The selected topic is currently not available."
"The topic, you wanted to see, could not be found"
I am not really into this and have no idea, whether this is what is expected or not.

Reinier Olislagers

2014-09-27 13:24

developer   ~0077733

Thank you!
Well, as this is a help demo, I don't think that's expected.
Looks like the bug is still present.

Issue History

Date Modified Username Field Change
2010-11-07 18:35 Phil New Issue
2010-11-07 18:35 Phil Widgetset => Carbon
2010-11-08 01:07 Phil Note Added: 0042873
2010-11-08 01:07 Phil File Added:
2010-11-16 12:39 Vincent Snijders LazTarget => 1.0
2010-11-16 12:39 Vincent Snijders Status new => acknowledged
2010-11-16 12:39 Vincent Snijders Target Version => 1.0.0
2011-10-08 18:58 Vincent Snijders LazTarget 1.0 => 1.2
2011-10-08 18:58 Vincent Snijders Target Version 1.0.0 => 1.2.0
2014-01-14 15:10 Martin Friebe LazTarget 1.2 => 1.4
2014-01-14 15:12 Martin Friebe Target Version 1.2.0 => 1.4
2014-09-22 12:42 Reinier Olislagers Note Added: 0077520
2014-09-27 13:04 Karl-Michael Schindler Note Added: 0077731
2014-09-27 13:24 Reinier Olislagers Note Added: 0077733
2015-05-07 06:45 Juha Manninen Target Version 1.4 =>
2015-05-07 06:46 Juha Manninen LazTarget 1.4 => -