<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span> changed
<a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Hyperlink to bookmark in doc[x] file does not work"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126641">bug 126641</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Keywords</td>
<td>filter:docx
</td>
<td>
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>UNCONFIRMED
</td>
<td>ASSIGNED
</td>
</tr>
<tr>
<td style="text-align:right;">Assignee</td>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
<td>mikekaganski@hotmail.com
</td>
</tr>
<tr>
<td style="text-align:right;">Severity</td>
<td>enhancement
</td>
<td>normal
</td>
</tr>
<tr>
<td style="text-align:right;">Hardware</td>
<td>x86-64 (AMD64)
</td>
<td>All
</td>
</tr>
<tr>
<td style="text-align:right;">Ever confirmed</td>
<td>
</td>
<td>1
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Hyperlink to bookmark in doc[x] file does not work"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126641#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_ASSIGNED "
title="ASSIGNED - Hyperlink to bookmark in doc[x] file does not work"
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126641">bug 126641</a>
from <span class="vcard"><a class="email" href="mailto:mikekaganski@hotmail.com" title="Mike Kaganski <mikekaganski@hotmail.com>"> <span class="fn">Mike Kaganski</span></a>
</span></b>
<pre>The problem here is two-fold.
1. There is a regression from
<a href="https://git.libreoffice.org/core/+/d59ec4cd1660410fa1b18c50d2d83b1417a82ddc">https://git.libreoffice.org/core/+/d59ec4cd1660410fa1b18c50d2d83b1417a82ddc</a>,
which results in the failure to open the link. It is addressed in
<a href="https://gerrit.libreoffice.org/76778">https://gerrit.libreoffice.org/76778</a>.
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!</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>