[Libreoffice-bugs] [Bug 121532] LO62b1: on macOS local help opens an empty page in default browser
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Fri Feb 15 08:56:59 UTC 2019
https://bugs.documentfoundation.org/show_bug.cgi?id=121532
Stephan Bergmann <sbergman at redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sbergman at redhat.com
--- Comment #10 from Stephan Bergmann <sbergman at redhat.com> ---
Trying with en-US 6.2.0.3 downloaded from
<https://www.libreoffice.org/download/download/>. Once you have copied the
LibreOffice.app from the downloaded *.dmg to your local disk (e.g., to
/Applications/; there is a different failure when you start LO directly from
the downloaded *.dmg, which I'll discuss in a follow-up issue):
Startcenter "Help - LibreOffice Help" opens
<file:///Applications/LibreOffice.app/Contents/Resources/help/index.html?Target=swriter/.uno%3AHelpIndex&Language=en-US&System=MAC&Version=6.2>
in the default browser (Safari here), but as an empty page. In Safari (with
"Show Develop menu in menu bar" enabled), "Develop - Show JavaScript Console"
shows:
> SyntaxError: Unexpected keyword 'var'. Parse error.
> (anonymous function) — languages.js:1
> existingLang — help2.js:129
The issue appears to be the included
LibreOffice.app/Contents/Resources/help/languages.js with the below broken
content. If I manually change the content of
/Applications/LibreOffice.app/Contents/Resources/help/languages.js to the
single line
var languagesSet = new Set(['en-US']);
then Startcenter "Help - LibreOffice Help" opens
<file:///Applications/LibreOffice.app/Contents/Resources/help/en-US/text/shared/main0108.html?System=MAC&DbPAR=WRITER&HID=.uno:HelpIndex#bm_id3149178>
and shows help content regarding LO's "Help" menu.
The content of the broken included
LibreOffice.app/Contents/Resources/help/languages.js (i.e., with bad "-n "
preceding most lines):
-n var languagesSet = new Set([
-n 'en-US'
-n 'am'
-n 'ar'
-n 'ast'
-n 'bg'
-n 'bn'
-n 'bn-IN'
-n 'bo'
-n 'bs'
-n 'ca'
-n 'ca-valencia'
-n 'cs'
-n 'da'
-n 'de'
-n 'dz'
-n 'el'
-n 'en-GB'
-n 'en-ZA'
-n 'eo'
-n 'es'
-n 'et'
-n 'eu'
-n 'fi'
-n 'fr'
-n 'gl'
-n 'gu'
-n 'he'
-n 'hi'
-n 'hr'
-n 'hu'
-n 'id'
-n 'is'
-n 'it'
-n 'ja'
-n 'ka'
-n 'km'
-n 'ko'
-n 'lo'
-n 'lt'
-n 'lv'
-n 'mk'
-n 'nb'
-n 'ne'
-n 'nl'
-n 'nn'
-n 'om'
-n 'pl'
-n 'pt'
-n 'pt-BR'
-n 'ro'
-n 'ru'
-n 'si'
-n 'sid'
-n 'sk'
-n 'sl'
-n 'sq'
-n 'sv'
-n 'ta'
-n 'tg'
-n 'tr'
-n 'ug'
-n 'uk'
-n 'vi'
-n 'zh-CN'
-n 'zh-TW'
]);
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190215/cdd61037/attachment.html>
More information about the Libreoffice-bugs
mailing list