View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0017866||Lazarus||LCL||public||2010-11-07 18:35||2015-05-07 06:46|
|Product Version||0.9.29 (SVN)|
|Summary||0017866: /examples/helphtml does not work|
|Description||Clicking Help button gives "Help Context not found" error.|
|Tags||No tags attached.|
|Fixed in Revision|
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:
TestCarbonHelp.zip (6,996 bytes)
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.
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.
Well, as this is a help demo, I don't think that's expected.
Looks like the bug is still present.
|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: TestCarbonHelp.zip|
|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|
||Note Added: 0077520|
|2014-09-27 13:04||Karl-Michael Schindler||Note Added: 0077731|
||Note Added: 0077733|
|2015-05-07 06:45||Juha Manninen||Target Version||1.4 =>|
|2015-05-07 06:46||Juha Manninen||LazTarget||1.4 => -|