Download it now!
Bug 58270 - Spaces between 'Category and Numbering' cross-references should be a non-breaking space
Summary: Spaces between 'Category and Numbering' cross-references should be a non-brea...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
(earliest affected)
Inherited From OOo
Hardware: Other All
: medium normal
Assignee: Not Assigned
: 62685 (view as bug list)
Depends on:
Blocks: Fields-Cross-Reference
  Show dependency treegraph
Reported: 2012-12-13 22:49 UTC by Olivier Diotte
Modified: 2019-02-05 18:33 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

Bug-triggering document (1.49 MB, application/vnd.oasis.opendocument.text)
2012-12-13 22:49 UTC, Olivier Diotte

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Diotte 2012-12-13 22:49:16 UTC
Created attachment 71474 [details]
Bug-triggering document

Lines sometimes break between the category and the number in the immutable reference and there is no way to prevent that unless one manually adds a line break before each such reference.

Attached is document exhibiting the behaviour.

Steps to reproduce:
1- Write some text (with normal spaces) until it fills a full line.
2- Insert a picture below the text
3- Caption the picture so it has a number
4- Insert a 'Category and Numbering' reference to the picture at the end of the line (preceded by a normal space). Remove letters as necessary from the line until the break occurs between the category and the number.
Comment 1 Robert Großkopf 2013-01-01 16:16:40 UTC
Can confirm this bug. There is no possibility to set a non-breaking space between the category and the number.
Comment 2 Chris Tapp 2013-02-01 12:33:07 UTC
This also happens when making a cross reference to a numbered heading. e.g.

Item 1: Some heading

...see also Item
1 for more info.

This happens even though the number format for 'Item 1' uses a non-breaking space.
Comment 3 Caolán McNamara 2014-06-16 08:59:48 UTC
*** Bug 62685 has been marked as a duplicate of this bug. ***
Comment 4 Caolán McNamara 2014-06-16 12:12:04 UTC
Grr, it would be easy to put a non-breaking space in there (configurable if necessary), but it turns out that the writer field layout code is ignoring the non-break of these spaces and breaking the line at those points anyway, which makes it a bigger problem of fixing the field layout instead of a simple feature of allowing non-break spaces to be put there
Comment 5 QA Administrators 2015-07-18 17:44:01 UTC Comment hidden (obsolete)
Comment 6 2015-07-19 02:58:15 UTC
This bug is present on LibreOffice 4.4.4 as well as LibreOffice 5.0.0.
Comment 7 QA Administrators 2016-09-20 10:29:02 UTC Comment hidden (obsolete)
Comment 8 Chris Tapp 2016-09-20 13:58:27 UTC
The bug I reported is still present in under OS X Yosemite.
Comment 9 Chris Tapp 2016-09-20 13:59:43 UTC
Sorry, that should have read:

The bug I reported is still present in under OS X El Capitan
Comment 10 QA Administrators 2018-05-18 02:33:20 UTC Comment hidden (obsolete)
Comment 11 Dominik Kopp 2018-05-18 18:08:12 UTC
Bug still present