Bug 153774 - wrong page linked to "Evaluate up to level" option in Entries tab of Insert ToC/Index dialog
Summary: wrong page linked to "Evaluate up to level" option in Entries tab of Insert T...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
Version:
(earliest affected)
7.6.0.0 alpha0+
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Help-Link
  Show dependency treegraph
 
Reported: 2023-02-21 15:45 UTC by sdc.blanco
Modified: 2023-02-22 22:07 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sdc.blanco 2023-02-21 15:45:38 UTC
Insert - Table of Contents and Index - Table of Contents, Index, or Bibliography - Entries tab

Insert a Chapter No. in structure, then click on E# (which was just inserted).

Place cursor in spinbox for "Evaluate up to level" and press F1

Actual: https://help.libreoffice.org/7.6/en-US/text/swriter/01/04120222.html

Expected: https://help.libreoffice.org/7.6/en-US/text/swriter/01/04120221.html
Comment 1 sdc.blanco 2023-02-21 23:34:37 UTC
The OP should have specified that Type: Table of Contents was selected on the Type tab, before switching to the Entries tab.

I believe this problem arises because:

<bookmark xml-lang="en-US" branch="hid/modules/swriter/ui/tocentriespage/entryoutlinelevel" id="bm_id354930" localize="false"/>

appears on line 45 of source/text/swriter/01/04120222.xhp

The bookmark is part of the <eval> section, which gets embedded into   source/text/swriter/01/04120221.xhp (the help page for ToC).  

This probably explains why "Alphabetical Index" is shown.

But it gets worse.  The embedding in 04120221.xhp is part of the <format> section in that file, which gets embedded into 04120223.xhp (Illustration), 04120224.xhp (Tables), 04120225.xhp (user-defined), and 04120226.xhp (objects)
  -- so the same problem happens if these Types are selected on the Type tab, and then F1 is used in the "Evaluate up to level"

Note that "Evaluate up to level" is becoming "Show up to level" (bug 105628).
Comment 2 Olivier Hallot 2023-02-22 19:54:28 UTC
What is "OP" here? (and "DF" in another report?)
Comment 3 sdc.blanco 2023-02-22 22:07:35 UTC
OP is:  Place cursor in spinbox for "Evaluate up to level"  in Entries tab and press F1, where Type is "Table of Contents"