Bug 88602 - FORMATTING: Paragraph loses 'Do not split paragraph' and 'Keep with next paragraph' settings when inserting a new paragraph before it.
Summary: FORMATTING: Paragraph loses 'Do not split paragraph' and 'Keep with next para...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.3.5.2 release
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paragraph-Dialog
  Show dependency treegraph
 
Reported: 2015-01-20 00:03 UTC by Sascha Fichtner
Modified: 2019-05-14 12:07 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Simple repro showcasing how the settings are lost. (9.60 KB, application/vnd.oasis.opendocument.text)
2015-01-20 00:03 UTC, Sascha Fichtner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sascha Fichtner 2015-01-20 00:03:32 UTC
Created attachment 112504 [details]
Simple repro showcasing how the settings are lost.

Problem description:
When inserting a new paragraph before an existing paragraph, the existing paragraph loses its 'Do not split paragraph' and 'Keep with next paragraph' settings.

Steps to reproduce:
Load the attached .odt file. All 3 paragraphs have both options enabled.
Move cursor to the start of 'Paragraph 2'.
Insert a new (empty) paragraph between 'Paragraph 1' and 'Paragraph 2' by hitting RETURN.

Current behavior:
'Paragraph 1' retains its settings (as expected).
The newly added 'Paragraph 1.5' inherits the settings from 'Paragraph 2' (as expected... sort of).
'Paragraph 2' has both options deselected.
'Paragraph 3' retains its settings (as expected).

Expected behavior:
'Paragraph 2' should not lose its settings.
Comment 1 Joe P. 2015-01-22 03:57:38 UTC
Following the provided steps, I can confirm that I am observing the same behavior as described below. In addition to the listed version (4.3.5.2) I also tested in a 3.3, 3.5, and 4.0 version and found the behavior the same. I believe that this bug is confirmed and I will change its status to 'New'.
Comment 2 QA Administrators 2017-01-03 19:43:10 UTC Comment hidden (obsolete)
Comment 3 Dieter Praas 2017-10-30 07:51:49 UTC
Still reproducible in LO 5.4.2

Version: 5.4.2.2 (x64)
Build-ID: 22b09f6418e8c2d508a9eaf86b2399209b0990f4
CPU-Threads: 4; Betriebssystem:Windows 6.19; UI-Render: Standard; 
Gebietsschema: de-DE (de_DE); Calc: group
Comment 4 QA Administrators 2018-10-31 03:53:07 UTC Comment hidden (obsolete)
Comment 5 Dieter Praas 2018-10-31 08:10:26 UTC
Still reproducible with

Version: 6.2.0.0.alpha1+ (x64)
Build ID: 8274c4c62df5b937b3f0bec9e1eeca85f3b219d4
CPU threads: 4; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@42, Branch:master, Time: 2018-10-22_01:47:50
Locale: en-US (de_DE); Calc: CL

But in addition to the previous comments I think, it's perhaps a consistent behaviour, because the paragraph after the cursor is always treatet as a new paragraph without settings (if you place the cursor at the end of paragraph 1 on press ENTER, the new paragraph has no settings).