Bug 109204 - "Update Selected Style" and "New style from selection" commands not moving/copying breaks properties from direct formatting to styles
Summary: "Update Selected Style" and "New style from selection" commands not moving/co...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.2.0.4 release
Hardware: All All
: low minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: implementationError
Depends on:
Blocks: Styles-Management Writer-Page-Break
  Show dependency treegraph
 
Reported: 2017-07-19 10:44 UTC by internationils
Modified: 2021-11-02 13:59 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:
Regression By:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description internationils 2017-07-19 10:44:57 UTC
Description:
Automatic page breaks are not applied across the whole heading1 style.

Steps to Reproduce:
1. add 3 lines of "hello"
2. CTRL-1 them to heading 1
3. go to paragraph options, set "insert page break before", and apply
4. update style

Actual Results:  
Applies only to the one item, not all heading1

Expected Results:
Pagebreak should appear before all heading1 on "update style"


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0
Comment 1 internationils 2017-07-19 10:47:02 UTC
Seen on:
Version: 5.2.7.2
Build ID: 1:5.2.7-1
CPU Threads: 2; OS Version: Linux 4.9;

and:
Version: 5.4.0.2 (x64)
Build-ID: 2b906d450a44f2bbe506dcd22c51b3fa11dc65fd
CPU-Threads: 4; Betriebssystem:Windows 6.1
Comment 2 internationils 2017-07-19 10:51:43 UTC Comment hidden (no-value)
Comment 3 Dieter 2017-07-19 15:11:12 UTC
Works for me with LO 5.2.7.2 und LO 5.3.5.1 (Win 10 x64)
Comment 4 Timur 2017-07-20 13:18:50 UTC
Repro from 4.2. to master. 
Update style is I guess available from Sidebar in 4.2, then button is available in Sidebar from 5.0. Later in 5.1. added in Style menu. 
Not related exclusively to heading, same with any style. 
Related to "insert page break before" which is not updated if single change in style, while updated if there's another change such as alignment. 
Similar behavior with New style from selection. 
So I change title from "Automatic page break not working for headings" to "Update style or New style not working for Insert page break before (except with other changes)"
Not related to OS, so All.

Note: adding a number of meta bugs that are blocked is in my view pointless and that time should be spent on testing and proper triaging of bugs; and in this case also not related to some Writer-Styles-Heading, whatever it is
Comment 5 Yousuf Philips (jay) (retired) 2017-07-21 00:45:49 UTC
So it seems page and column breaks before or after with or without page style info isnt being moved or copied to the styles.

(In reply to Timur from comment #4)
> Note: adding a number of meta bugs that are blocked is in my view pointless
> and that time should be spent on testing and proper triaging of bugs; and in
> this case also not related to some Writer-Styles-Heading, whatever it is

It isnt pointless as many bugs touch more than one thing and the bug can be found in more than one location when it is relevant.
Comment 6 QA Administrators 2018-07-22 02:37:46 UTC Comment hidden (obsolete)
Comment 7 internationils 2018-08-31 06:53:03 UTC
This bug does _not_ seem to be present any more in 
Version: 6.0.3.2
Build ID: 1:6.0.3-0ubuntu1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: en-US (en_US.UTF-8); Calc: group

@Timur: could you please confirm, and close if it works for you as well? Thanks!!
Comment 8 Thomas Lendo 2018-10-29 19:17:37 UTC
But still reproducible for me.

Version: 6.2.0.0.alpha1+
Build ID: 0f190f50368816964b2a1b7bb58000ac1792d640
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); Calc: threaded
from 2 days ago
Comment 9 QA Administrators 2019-10-30 03:37:09 UTC Comment hidden (obsolete)
Comment 10 sdc.blanco 2020-01-24 17:09:24 UTC
Can confirm with these steps

(a) add "Insert" page break (before or after) in Text Flow tab for a paragraph
(b) Styles>Update Selected Style  (or New Style from Selection)

Actual result:  the Insert is not updated in the paragraph's style and is not copied into a new style.

Version: 6.5.0.0.alpha0+ (x64)
Build ID: da70fd1edc211bf63f8388e11c1bd8dd398fdaf8
CPU threads: 8; OS: Windows 10.0 Build 18363; UI render: default; VCL: win; 
Locale: en-US (en_DK); UI-Language: en-US
Calc: threaded

Additional information:

Options (e.g., "keep with next paragraph) (also on the Text Flow tab) are updated and copied to a style).