Bug 122845 - Editing: "Illustration <number>" not shown in entries in Tables of Figures
Summary: Editing: "Illustration <number>" not shown in entries in Tables of Figures
Status: RESOLVED NOTABUG
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
6.1.3.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-01-21 07:53 UTC by noreply+666192134234234
Modified: 2019-01-22 21:44 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 noreply+666192134234234 2019-01-21 07:53:27 UTC
Description:
In Table of Figures the lines referring to illustrations only show the names of the illustrations, but not the "Illustration <number>" in front of these names.

Steps to Reproduce:
1. Insert an image in a new, empty .odt document

2. Right-click the image in the .odt document, in the context menu open the "Properties" dialog and enter a name for the image in the "Name" field on the "Options" tab.

3. Right-click the image again, then go to "Insert caption" in the context menu, enter a caption in the "Insert Caption" window and select "illustration" in the "Category" field.

The image has a caption below the image with the following words "Illustration 1: <Name of the image/illustration>"

4. Apply CTRL+ENTER

5. On the newly created page, create a Table of Figures. In the "Table of Contents, Index or Bibliography" window select "Object names" on the "Type" tab.

Actual Results:
In the Table of Figures, a line has been created below its heading. This line only contains the name of the image/illustration, but this line misses the word "Illustration 1" in front of the name of the image/illustration. 

Expected Results:
The line below the heading of the Table of Figures should show the following words: "Illustration 1: <name of the image/illustration>"


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Comment 1 Dieter 2019-01-21 08:24:25 UTC
(In reply to Jens Radloff from comment #0)
 
> 5. On the newly created page, create a Table of Figures. In the "Table of
> Contents, Index or Bibliography" window select "Object names" on the "Type"
> tab.

Select "Create from Captions" and it should work.
Comment 2 noreply+666192134234234 2019-01-21 08:29:27 UTC
(In reply to Dieter Praas from comment #1)

> Select "Create from Captions" and it should work.

"It should work"? Did you try your resolution proposal? I guess, no. 

I tried your resolution proposal: It does not work.
Comment 3 Dieter 2019-01-21 08:44:23 UTC
(In reply to Jens Radloff from comment #2)
>Did you try your resolution proposal?

Yes, of course.
Comment 4 noreply+666192134234234 2019-01-21 08:52:01 UTC
(In reply to Dieter Praas from comment #3)

> Yes, of course.

I tried your solution proposal again: No, it does not work. The Table of Figures which I created, only contains one line called "Table of Figures". There is no extra line referring to an illustration at all in the Table of Figures.

If your solution proposal works on your machine, then the behaviour seems to depend from the OS that the both of us are using. I am using Linux Debian 9.6 ("Stretch"). Are you using Windows?
Comment 5 Xisco Faulí 2019-01-21 12:51:13 UTC
Thank you for reporting the bug.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Comment 6 noreply+666192134234234 2019-01-22 05:05:08 UTC
(In reply to Xisco Faulí from comment #5)

> Could you please try to reproduce it with the latest version of LibreOffice
> from https://www.libreoffice.org/download/libreoffice-fresh/ ?

I have found the reason for the reported behaviour: It was my fault. Dieter was correct with his hint about selecting "Categories" on the "Type" tab in the "Table of Contents, Index or Bibliography" window, but I forgot to select "Category: Illustration" and "Display: References" below "Captions".

Now it works.

It works both in the version of LO writer which I reported here (6.1.3.2), and also in the "fresh" version of LO writer (6.1.4.x)

I have to apologize at Dieter. Sorry, Dieter.

> I have set the bug's status to 'NEEDINFO'. Please change it back to
> 'UNCONFIRMED' if the bug is still present in the latest version.

I set this bug report to "RESOLVED NOTABUG"