Bug 94030 - line wrap at non-breaking space when recording changes
Summary: line wrap at non-breaking space when recording changes
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.4.5.2 release
Hardware: Other All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Track-Changes Formatting-Mark
  Show dependency treegraph
 
Reported: 2015-09-08 13:40 UTC by Ulrich Windl
Modified: 2022-11-04 13:48 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
sample document (created as per comment #1) (13.75 KB, application/vnd.oasis.opendocument.text)
2016-10-04 08:09 UTC, Ulrich Windl
Details
Solved in the new ShowChangesUnMargin mode (screen shot) (15.12 KB, image/png)
2020-11-03 15:55 UTC, László Németh
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Windl 2015-09-08 13:40:06 UTC
When replacing a space with a non-breaking space while recording changes, there still is a line wrap at the non-breaking space. Only after the changes (delete space, add non-breaking space) are accepted, the line is no longer wrapped at the non-breaking space.
Effectively this means you cannot preview the effect of the non-breaking space.
Comment 1 Buovjaga 2015-09-15 14:26:59 UTC
1. Inserted dummy text with dt + f3.
2. Selected the space between at & night in lines 1 & 2.
4. Edit - Track changes - Record changes (Ctrl+Shift+E)
5. Ctrl+Shift+Space to replace the regular space

Confirmed line breaking staying the same.

Win 7 Pro 64-bit, Version: 5.0.1.2 (32-bit)
Build ID: 81898c9f5c0d43f3473ba111d7b351050be20261
Locale: fi-FI (fi_FI)
Comment 2 QA Administrators 2016-09-20 10:32:20 UTC Comment hidden (obsolete)
Comment 3 Ulrich Windl 2016-10-04 08:09:21 UTC
Created attachment 127800 [details]
sample document (created as per comment #1)

Problem still present in LibreOffice 5.1.3 (OpenSUSE)
Comment 4 QA Administrators 2017-10-23 14:08:34 UTC Comment hidden (obsolete)
Comment 5 QA Administrators 2020-09-02 00:02:37 UTC Comment hidden (obsolete, spam)
Comment 6 László Németh 2020-11-03 15:55:57 UTC
Created attachment 166977 [details]
Solved in the new ShowChangesUnMargin mode (screen shot)
Comment 7 Buovjaga 2020-11-03 16:02:13 UTC
(In reply to László Németh from comment #6)
> Created attachment 166977 [details]
> Solved in the new ShowChangesUnMargin mode (screen shot)

Do you have a commit?
Comment 8 QA Administrators 2022-11-04 03:34:20 UTC Comment hidden (obsolete)
Comment 9 Ulrich Windl 2022-11-04 07:40:12 UTC
(In reply to QA Administrators from comment #8)
> Test to see if the bug is still present with the latest version of
> LibreOffice from https://www.libreoffice.org/download/

Tested with 7.3.6.2 in Windows and 7.3.6.2 in Linux. It seems the bug is still there. I tested the original document in Linux and created a new one in Windows, but both show the defect: A non-breaking space replacing a normal space in "track changes" mode does not prevent a line break; just as if the non-breaking space weren't there.

Once I accept the change with the non-breaking space, the non-breaking space has the desired effect.
Comment 10 László Németh 2022-11-04 13:48:56 UTC
The correct preview is already there in the Hide Changes mode. The Show Changes mode shows also the deleted space, too, which causes the break, but that is normal.

The real problem here, that there is no visual feedback about the tracked deletion, and as a new regression, about the tracked insertion in Show Changes mode.