[Libreoffice-bugs] [Bug 124245] New: Offline-Help: Incompatible with IE11

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Mar 21 18:01:24 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=124245

            Bug ID: 124245
           Summary: Offline-Help: Incompatible with IE11
           Product: LibreOffice
           Version: 6.2.1.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: himajin100000 at gmail.com

Description:
see steps to reproduce

1. 
First of all, help/help2.js installed in LibreOffice 6.2.1.2 release did not
work with IE11
due to unsupported arrow function
https://gerrit.libreoffice.org/#/c/69005/

the part should be cherry-picked to 6.2 branch if it's not yet.

2. When I displayed the source in IE11, there was another error reported in the
debugger.

help/index.html complained that there is no definition for getParameterByName
as defined in help/help.html
https://opengrok.libreoffice.org/xref/help/help3xsl/help.html?r=5ccfc30b#16

I copied all the code to index.html, without understanding well.

3. I did several tries for the same steps to reproduce after each fix for the
following problems. 

3-1.
IE11 complained that there is no startsWith.
https://opengrok.libreoffice.org/search?full=startsWith&project=help
https://stackoverflow.com/questions/36213455/add-startswith-in-ie-11/36213464

3-2.
IE11 does not support Element.matches
https://stackoverflow.com/questions/37304037/why-my-code-dont-working-in-ie11
https://opengrok.libreoffice.org/xref/help/help3xsl/help.js?r=a678c053#125
https://opengrok.libreoffice.org/xref/help/help3xsl/help.js?r=a678c053#129

3-3.
:scope in querySelectorAll is not supported
https://github.com/ademilter/bricklayer/issues/13#issuecomment-219662153

4. Even when I resolved all these above with tentative fix on my own machine, I
tried the Step To Reproduce to see if it works,and it didn't.

because LibreOffice tried to search for the "en-US" help that I did not
install.
C:\Program Files\LibreOffice\help\en-US\text\shared\guide\startcenter.html

the cause was that IE11 did not return correct value for has() method in Set
Object
https://opengrok.libreoffice.org/xref/help/help3xsl/help2.js?r=3d0fcf7a#143
and the existingLang function returned en-US.

5. Still rendering/layout issue seems remaining, but I'm not an expert in that
area. at least no complaints are given by the debugger now.


Steps to Reproduce:
1. Install LibreOffice 6.2.1.2( Other than en-US is preferable, I used ja)
2. Install Offline Help pack( Don't install the help pack for en-US)
3. Set your default web browser to IE11
4. Run LibreOffice
5. Press F1


Actual Results:
Help is not shown even after accepting scripts.

Expected Results:
Help is shown in UI locale Language


Reproducible: Always


User Profile Reset: No



Additional Info:
バージョン: 6.2.1.2 (x64)
Build ID: 7bcb35dc3024a62dea0caee87020152d1ee96e71
CPU threads: 4; OS:Windows 10.0; UI render: GL; VCL: win; 
ロケール: ja-JP (ja_JP); UIの言語: ja-JP
Calc: CL

-- 
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/20190321/3a421df5/attachment.html>


More information about the Libreoffice-bugs mailing list