[Libreoffice-bugs] [Bug 138485] help.l.o search result links to other page than where the search string was found

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Mar 20 12:46:18 UTC 2021


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

--- Comment #2 from Rafael Lima <rafael.palma.lima at gmail.com> ---
The problem here seems to be that ref_pdf_export_general.xhp is a shared file
and it determines whether it's Calc or Writer related based on the currently
selected application in the Help web page.

There's a switch statement in the file that displays this content only for
Calc.

<switch select="appl"><case select="CALC">
  <h3 id="hd_id51574108224576">Whole sheet export</h3>
  <paragraph role="paragraph" id="par_id81574108602417">Export one sheet per
page.</paragraph>
</case></switch>

What seems to be happening is:
1) omindex search for the string "whole sheet export" inside all XHP files and
finds it ref_pdf_export_general.xhp
2) Then it creates the link for the user to access the page, but it assigns
DbPAR=WRITER to the link
3) Because of the wrong DbPar, the searched contend is not shown to the user

Maybe this happens because this is a shared file (located in text/shared/01/),
the search system assigns it to be DbPar=WRITER as some sort of fallback.

-- 
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/20210320/f287f293/attachment.htm>


More information about the Libreoffice-bugs mailing list