[Libreoffice-bugs] [Bug 126641] Hyperlink to bookmark in doc[x] file does not work

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Aug 1 09:04:29 UTC 2019


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

Mike Kaganski <mikekaganski at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|filter:docx                 |
             Status|UNCONFIRMED                 |ASSIGNED
           Assignee|libreoffice-bugs at lists.free |mikekaganski at hotmail.com
                   |desktop.org                 |
           Severity|enhancement                 |normal
           Hardware|x86-64 (AMD64)              |All
     Ever confirmed|0                           |1

--- Comment #1 from Mike Kaganski <mikekaganski at hotmail.com> ---
The problem here is two-fold.

1. There is a regression from
https://git.libreoffice.org/core/+/d59ec4cd1660410fa1b18c50d2d83b1417a82ddc,
which results in the failure to open the link. It is addressed in
https://gerrit.libreoffice.org/76778.

2. There is a problem that even when it opens the document, it doesn't follow
to the bookmark. That's because, despite LibreOffice is able to open file: URLs
with fragment, the code that processes the URL (CSysShExec::execute) calls
system function ShellExecuteExW, which internally converts the passed file: URL
(like file:///C:/test/test.docx#z1) into system file path (like
C:\test\test.docx), and strips the fragment part. No idea how to address that
at the moment.

Taking only the first part. I will close this bug after the fix, and suggest
that the second part be tracked individually in another bug report.

Thanks for reporting!

-- 
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/20190801/96899219/attachment.html>


More information about the Libreoffice-bugs mailing list