[Libreoffice-bugs] [Bug 144859] New: <switchinline select="sys"> mechanism misbehaves when embedded

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Oct 1 17:24:39 UTC 2021


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

            Bug ID: 144859
           Summary: <switchinline select="sys"> mechanism misbehaves when
                    embedded
           Product: LibreOffice
           Version: 7.2.0.3 rc
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Documentation
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: ming.v.hua at qq.com
                CC: olivier.hallot at libreoffice.org

It seems the
<switchinline select="sys">
  <caseinline select="MAC"> 
  ...
  </caseinline>
  <defaultinline>
  ...
  </defaultinline>
</switchinline>
mechanism used in help documentation that displays different content for
different OS platform is working as intended when used directly in the .xhp
file, for example:
https://help.libreoffice.org/7.3/en-US/text/shared/00/edit_menu.html?System=MAC
shows the "Command+<key>" shortcuts for macOS correctly.  And if one changes
the URL to use "...?System=WIN", it will show "Ctrl+<key>" as it should.

But if such text is embedded in another .xhp file, for example in:
https://help.libreoffice.org/7.3/en-US/text/shared/01/02070000.html?System=MAC
it shows wrong "CommandCtrl + Shift + V" while it should show "Command + Shift
+ V".

I see this problem in both the 7.3/master online help (the URLs above) and
local offline help installed from 7.2.0 RC3 MSI installer.  Note that I tested
on a Windows computer and hand-edited the "System=MAC" part of the URL, hope
it's the correct way / same way a macOS computer would construct the URL.

-- 
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/20211001/964f8cb3/attachment.htm>


More information about the Libreoffice-bugs mailing list