<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - macOS: Insufficient context sensitive help"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=123507">123507</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>macOS: Insufficient context sensitive help
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.2.0.3 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Mac OS X (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>menno.cornelssen@mailbox.org
</td>
</tr></table>
<p>
<div>
<pre>Description:
After correction of languages.js (see <a href="show_bug.cgi?id=123507#c10">Comment # 10</a> on <a class="bz_bug_link
bz_status_VERIFIED bz_closed"
title="VERIFIED FIXED - LO62b1: on macOS local help opens an empty page in default browser"
href="show_bug.cgi?id=121532">bug 121532</a> from Stephan
Bergmann):
WRITER —> Format —> Paragraph... —> Text Flow tab —> Help invokes the
Browser —>
file:///Applications/LibreOffice.app/Contents/Resources/help/index.html?Target=swriter/modules/swriter/ui/paradialog/help&Language=en-US&System=MAC&Version=6.2
I get the page "Welcome to the LibreOffice Writer Help" and have to follow
several links to reach the help for the Text Flow tab:
Browser —> Welcome to the LibreOffice Writer Help
(file:///Applications/LibreOffice.app/Contents/Resources/help/en-US/text/swriter/main0000.html?System=MAC&DbPAR=WRITER)
—> Menus
(file:///Applications/LibreOffice.app/Contents/Resources/help/en-US/text/swriter/main0100.html?&DbPAR=WRITER&System=MAC)
—> Format
(file:///Applications/LibreOffice.app/Contents/Resources/help/en-US/text/swriter/main0105.html?&DbPAR=WRITER&System=MAC)
—> Paragraph
(file:///Applications/LibreOffice.app/Contents/Resources/help/en-US/text/shared/01/05030000.html?&DbPAR=WRITER&System=MAC)
—> Text Flow
(file:///Applications/LibreOffice.app/Contents/Resources/help/en-US/text/swriter/01/05030200.html?&DbPAR=WRITER&System=MAC)
My analysis:
(1) The "Help" isn't context sensitive for ALL Paragraph... tabs
(2) For some other menus I get correct help (e.g. Table —> Insert Table...)
(3) file:///Applications/LibreOffice.app/Contents/Resources/help/hid2file.js
seems to be outdated
In file:///Applications/LibreOffice.app/Contents/Resources/help/index.html —>
var bookmark = target.slice(target.indexOf('/') + 1, target.length);
var file = hid2fileMap[bookmark];
// check first if a root bookmark @@nowidget@@ can be used
if (file === undefined) {
var b2 = bookmark.substring(0, bookmark.lastIndexOf("/")) +
'/@@nowidget@@';
file = hid2fileMap[b2];
}
The problem: Bookmarks “modules/swriter/ui/paradialog/help“
and “modules/swriter/ui/paradialog/@@nowidget@@“
are undefined in hid2fileMap[] (defined in
file:///Applications/LibreOffice.app/Contents/Resources/help/hid2file.js)
and therefore var file is undefined and the default var newURL = lang + '/' +
defaultFile + '?System=' + system + '&DbPAR=' + module
(with var defaultFile = 'text/swriter/main0000.html' and var module = "WRITER")
will be invoked.
In hid2fileMap[] there are 18 tags referencing text/swriter/01/05030200.html,
but all are “cui/ui/textflowpage/...“ and not
“modules/swriter/ui/paradialog/...“.
By the way: WRITER —> Table —> Insert Table... —> Help invokes the
Browser —>
file:///Applications/LibreOffice.app/Contents/Resources/help/index.html?Target=swriter/modules/swriter/ui/inserttable/help&Language=en-US&System=MAC&Version=6.2
ending in the correct file
—>
file:///Applications/LibreOffice.app/Contents/Resources/help/en-US/text/swriter/01/04150000.html?System=MAC&DbPAR=WRITER&HID=modules/swriter/ui/inserttable/help#bm_@@nowidget@@
I have checked some other helps: Some show help for the appropriate context, a
lot others end in the page "Welcome to the LibreOffice Writer Help".
Steps to Reproduce:
1.Start LO WRITER
2.Menu Format --> Paragraph... --> Text Flow tab --> Help
(The Actual Result is wrong for ALL tabs!)
Actual Results:
Page "Welcome to the LibreOffice Writer Help"
Expected Results:
Page "Text Flow"
Reproducible: Always
User Profile Reset: No
Additional Info:
LibreOffice Version: 6.2.0.3
Build ID: 98c6a8a1c6c7b144ce3cc729e34964b47ce25d62
CPU threads: 2; OS: Mac OS X 10.11.6; UI render: default; VCL: osx;
Locale: de-DE (de.UTF-8); UI-Language: en-US
Calc: threaded</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>