Bug 129551 - The help button in the Index dialog box opens the help page for "Table of Contents" for the other Index types
Summary: The help button in the Index dialog box opens the help page for "Table of Con...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.3.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Help-Link TableofContents-Indexes-Dialog
  Show dependency treegraph
 
Reported: 2019-12-22 16:55 UTC by sdc.blanco
Modified: 2020-01-03 19:52 UTC (History)
2 users (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 2019-12-22 16:55:36 UTC
1. Insert > Table of Contents and Index > Table of Contents, Index or Bibliography - Type Tab.

2.  Under Type and Title, select Alphabetical Index

Actual result (for offline help):  Shows help page for Table of Contents

Expected result:  Show help page for Alphabetical Index.


Similar problem in LO 6.4 and online help.  
Actual result:  Goes to help page about how to insert type "Table of Contents"  Expected result:  Goes to page about Alphabetical Index
Comment 1 sdc.blanco 2019-12-22 18:18:26 UTC
The initial report was for Alphabetical Index, but the problem seems to be the same for the other Index Types (e.g., Table of Figures, Index of Tables, etc.)

Relevant help pages exist for these other Types.

Additional information:

1.  If F1 is used, then relevant (existing) pages are shown.  
2.  But -- because the top half of the dialog box reuses material from Table of Contents page, then F1 will also go to Table of Contents page.

Illustrative example.

1. Insert > Table of Contents and Index > Table of Contents, Index or Bibliography - Type Tab.

2.   Under Type and Title, select Alphabetical Index

3a. Place cursor in Title box, press F1     
         Result:  Table of Contents Help page

3b. Place cursor in "Combine identical entries, press F1    
         Result:  Alphabetical Index Help page
   
3c. Please cursor anywhere,  press Help button
          Result:  Table of Contents Help page


Have not tested the other variations for the other Index types.

4.  Maybe there used to be only one help page (for Table of Contents) in the past, so the dialog box is constructed in a way that this Help Button has become the default for all the variations.  

See lines 711-712  in   /core/sw/source/ui/index/cnttab.cxx 

SwTOXSelectTabPage::SwTOXSelectTabPage(weld::Container* pPage, weld::DialogController* pController, const SfxItemSet& rAttrSet)
     : SfxTabPage(pPage, pController, "modules/swriter/ui/tocindexpage.ui", "TocIndexPage", &rAttrSet)
Comment 2 Dieter 2019-12-27 13:26:38 UTC
I confirm it with

Version: 6.5.0.0.alpha0+ (x64)
Build ID: e26d89371f0e4f41476c9a99be01d98dedb76776
CPU threads: 4; OS: Windows 10.0 Build 18362; UI render: default; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: threaded

Actual target for type "Alphabetical Index": https://help.libreoffice.org/6.5/en-GB/text/swriter/guide/indices_toc.html?System=WIN&DbPAR=WRITER&HID=modules/swriter/ui/tocdialog/help#bm_@@nowidget@@

Expected target: https://help.libreoffice.org/6.5/en-GB/text/swriter/01/04120212.html?&DbPAR=WRITER&System=WIN