[Issue] Figure listed out of order in cross-reference dialog

Discuss the word processor

[Issue] Figure listed out of order in cross-reference dialog

Postby catbill » Sun Aug 18, 2019 5:36 am

The captioned figures I created from screenshots appear in order in the cross-reference dialog. However, other figures I have created do not appear in the same order in the dialog. The issue is the order in which they appear in the dialog list, not the sequential numbering of the captions.

For example, I created a frame that contains a table and an image. In creating the caption, I believe the default was to save the frame as a drawing. I manually changed it to save it as a figure. It is now Figure 34.

In the cross-reference dialog, Figure 1 through Figure 47 appear in order with the exception of Figure 34, which appears at the end of the list.

Clearly there is something about the type of figure that causes it to be saved at the end of the list. What is it? And what can I do to make Figure 34 appear in the correct order in the list? How can I prevent this from happening again?

This is cross-listed from Ask.LibreOffice.org https://ask.libreoffice.org/en/question ... ce-dialog/

I will post any answers here.
Last edited by Hagar Delest on Tue Sep 03, 2019 10:19 pm, edited 1 time in total.
Reason: tagged issue
LibreOffice 6.2.6.2
catbill
 
Posts: 81
Joined: Sun Oct 08, 2017 6:51 pm

Re: why figures listed out of order in cross-reference dialo

Postby Zizi64 » Sun Aug 18, 2019 7:14 am

This is cross-listed from Ask.LibreOffice.org
...
_____________________________
OpenOffice 4.1.3 on Windows 10


Which version of the LIBREOFFICE are you using? Please update your signature in this forum.
Tibor Kovacs, Hungary; LO6.1.6, 6.4.7 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.1.1;AOO4.1.9
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 9938
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: why figures listed out of order in cross-reference dialo

Postby Bill » Sun Aug 18, 2019 1:27 pm

catbill wrote:For example, I created a frame that contains a table and an image. In creating the caption, I believe the default was to save the frame as a drawing. I manually changed it to save it as a figure. It is now Figure 34.

The default caption for frames is "Text...". The default caption for drawings is "Illustration...". There is no default caption "Figure...". Did you change the default captions to "Figure..." or did you change all of the captions manually? Are the other "Figures" also frames or are they some other type of object?
AOO 4.1.10 on Ubuntu MATE 21.04
Bill
Volunteer
 
Posts: 8329
Joined: Sat Nov 24, 2007 6:48 am

Re: why figures listed out of order in cross-reference dialo

Postby Bill » Sun Aug 18, 2019 3:09 pm

This may be a bug in LO. On the cross-reference dialog, a space is being added in front of the captions for images, but not in front of the captions for frames. As a result, the captions for images are sorted before the captions for frames.

AOO 4.1.6 does not add the space.
AOO 4.1.10 on Ubuntu MATE 21.04
Bill
Volunteer
 
Posts: 8329
Joined: Sat Nov 24, 2007 6:48 am

Re: why figures listed out of order in cross-reference dialo

Postby catbill » Sun Aug 18, 2019 3:17 pm

Thank you for the reminder. I have changed it.
LibreOffice 6.2.6.2
catbill
 
Posts: 81
Joined: Sun Oct 08, 2017 6:51 pm

Re: why figures listed out of order in cross-reference dialo

Postby Bill » Sun Aug 18, 2019 4:08 pm

It's a bug:

Bug 97397 - When adding a caption to an image, an extra space is added

A comment in the bug says to place the insertion point at the start of the caption and press Delete to remove the space. That didn't work for me. I had to press Backspace.
AOO 4.1.10 on Ubuntu MATE 21.04
Bill
Volunteer
 
Posts: 8329
Joined: Sat Nov 24, 2007 6:48 am


Return to Writer

Who is online

Users browsing this forum: No registered users and 23 guests