Bug 88696 - Field text with no-break spaces in a table cell doesn't follow line break paragraph rules
Summary: Field text with no-break spaces in a table cell doesn't follow line break par...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Writer-Tables Paragraph
  Show dependency treegraph
 
Reported: 2015-01-22 09:05 UTC by Alexander Polkhovskiy
Modified: 2018-09-02 22:10 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Example with no-break spaces in fields in a cell (34.09 KB, application/vnd.oasis.opendocument.text)
2015-01-22 09:05 UTC, Alexander Polkhovskiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Polkhovskiy 2015-01-22 09:05:54 UTC
Created attachment 112648 [details]
Example with no-break spaces in fields in a cell

I have a paragraph style with no wordbreak. I.e. I want the text (<nbsp> - no-break space) "My<nbsp>verylongwordtext and his<nbsp>verylongtext" remain as it is. I uncheck all automatic word break options in the paragraph style options and type the text in a table cell. Everything works fine.
Then I put this text to a new field and paste this field in that table cell. I expect to see same result. But depending on the font height and cell width I see some words are splitted between lines without hyphens. For example, I get this:
"My<nbsp>verylongwordtext and his<nbsp>verylongt
ext"
instead of ths:
"My<nbsp>verylongwordtext and
his<nbsp>verylongtext".
If I replace no-break spaces with simple ones, works OK. If I use just plain text, not field, works OK.
I noticed, that it appeares not in first line.
Comment 1 Buovjaga 2015-01-29 18:53:30 UTC
Reproduced.

I removed the words in the Whiteboard field, please see https://wiki.documentfoundation.org/QA/Bugzilla/Fields/Whiteboard/Advanced

Win 7 Pro 64-bit Version: 4.5.0.0.alpha0+
Build ID: 784d069cc1d9f1d6e6a4e543a278376ab483d1eb
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-01-25_23:07:36

Ubuntu 14.10 64-bit
LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 2 QA Administrators 2016-02-21 08:38:21 UTC Comment hidden (obsolete)
Comment 3 Alexander Polkhovskiy 2016-02-24 06:34:42 UTC
I still see the bug in LO v 5.1.0.3 x86
ID: 5e3e00a007d9b3b6efb6797a8b8e57b51ab1f737
CPU Threads: 4; OS Version: Windows 6.2 (8.1) x64; UI Render: default; 
Locale: ru-RU (ru_RU)
Comment 4 QA Administrators 2017-03-06 16:13:58 UTC Comment hidden (obsolete)
Comment 5 Alexander Polkhovskiy 2017-03-07 08:17:59 UTC
Still present in LO v 5.3.0.3
ID: 7074905676c47b82bbcfbea1aeefc84afe1c50e1
Windows 6.2; Rendering: default;
Locale: ru-RU (ru_RU)
Windows 8.1 PRO x64
Comment 6 QA Administrators 2018-03-08 03:44:08 UTC Comment hidden (obsolete)
Comment 7 Alexander Polkhovskiy 2018-03-10 09:40:26 UTC
Still present in LO v 6.0.2.1
ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
Windows 6.3; Rendering: default;
Locale: ru-RU (ru_RU)
Windows 8.1 PRO x64