Bug 131660 - Index Entry > Apply to all should work on footnotes
Summary: Index Entry > Apply to all should work on footnotes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: TableofContents-Indexes
  Show dependency treegraph
 
Reported: 2020-03-29 13:14 UTC by Heiko Tietze
Modified: 2020-06-19 12:02 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Test document (8.44 KB, application/vnd.oasis.opendocument.text)
2020-03-30 14:25 UTC, Heiko Tietze
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Tietze 2020-03-29 13:14:31 UTC
1. Enter some lorem ipsum at the document and create footnotes
2. Use Insert > ToC & Indexes > Index Entry... to create entries for the alphabetical ToC and check Apply to all similar texts in order to affect the footnotes as well

Expectation: Footnotes are also respected for the ToC (it works like this on MSO Word).
Comment 1 Dieter 2020-03-30 13:41:14 UTC
I'm not an expert with Alphabetical indexes, but I can't confirm

I add an index entry ("Apply to all similar texts" is greay out, so I can't select it) => Fotnotes are respected in Aphabetical index (created with Insert => TOC or Alphabetical Index => TOC or Alphabetical index)

Version: 7.0.0.0.alpha0+ (x64)
Build ID: 1c9ced04189c9d23ffea05d5570960b54b05ef28
CPU threads: 4; OS: Windows 10.0 Build 18363; UI render: Skia/Raster; VCL: win; 
Locale: de-DE (de_DE); UI-Language: en-GB
Calc: CL
Comment 2 Heiko Tietze 2020-03-30 14:25:33 UTC
Created attachment 159151 [details]
Test document

* Select "Lorem", Insert > ToC > Index Entry, (Entry should contain "Lorem") > Check Apply to all > Insert
* To make it clear that footnote content has not been index enter a break before so the footnote goes to page #2
* Insert an alphabetical index and see "Lorem" only on p1
Comment 3 Xisco Faulí 2020-03-31 12:26:39 UTC
Hi Heiko,
Could you please add the 'Actual behaviour' vs 'Expected behaviour', even after comment 2, it's hard to follow the steps. A screencast might help as well
Comment 4 Heiko Tietze 2020-03-31 12:57:46 UTC
(In reply to Xisco Faulí from comment #3)

Actual behaviour: Text in footnotes is not taken into account when applying the index to all similar places.

Expected behaviour: "Apply to all similar texts" works everywhere.
Comment 5 Xisco Faulí 2020-03-31 16:27:43 UTC
So you want a footnote pointing to another footnote ?
Don't know much about footnotes, but is a footnote to a footnote used in the real world ?
Comment 6 Heiko Tietze 2020-04-01 11:08:50 UTC
(In reply to Xisco Faulí from comment #5)
> So you want a footnote pointing to another footnote ?

No. The "Index Entry" function takes a term into an alphabetical ToC. The dialog allows to apply the function to all similar entries but that doesn't work for footnotes (and likely other special areas as well).

Example:
<Lorem> ipsum dolor est¹. Lorem ipsum dolor est. Lorem ipsum dolor est. 
¹ Lorem

Brackets to show the selected text, using Apply to all also tags the following Lorem's but not at the footnote.
Comment 7 Buovjaga 2020-06-19 12:02:58 UTC
Made the steps more clear, better aligned with "QA speak" in a way:

attachment 159151 [details]
Test document

* Select "Lorem", Insert > ToC > Index Entry, (Entry should contain "Lorem") > Check Apply to all > Insert, Close
* Move your cursor between "amet" and the "1" footnote reference and enter a page break. The footnote goes to page 2
* Insert an alphabetical index (Insert > ToC > ToC > Type: Alphabetical Index) and see "Lorem" appearing in the index only on page 1