Bug 73483 - FORMATTING: clear direct formatting resets manual pagebreak but that is not shown until reopen
Summary: FORMATTING: clear direct formatting resets manual pagebreak but that is not s...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium minor
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Clear-Formatting Writer-Page-Break
  Show dependency treegraph
 
Reported: 2014-01-10 20:04 UTC by Robert Großkopf
Modified: 2019-01-03 09:03 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Loosing of pagebreak when direct format is lost - try. (10.02 KB, application/vnd.oasis.opendocument.text)
2014-01-10 20:04 UTC, Robert Großkopf
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Großkopf 2014-01-10 20:04:56 UTC
Created attachment 91840 [details]
Loosing of pagebreak when direct format is lost - try.

Open the attached document:
1. Press Ctrl+A to select all content.
2. Press Ctrl+M to reset direct formatting.
3. Save the document.
4. Close the document and reopen it.

The "Text"-formatted paragraph, which starts at the second page with a manual pagebreak before, has lost the pagebreak and will be changed to "Default" paragraph.

It is the same behavior in all LO-Versions from LO 3.3.0beta1 up to LO 4.2.0rc2
Comment 1 Cor Nouws 2014-01-11 18:13:34 UTC
Hi Robert,

The behaviour sounds logic since a hard page break is direct formatting (contrary to automatic page style sequences)..
Cioa,
Cor
Comment 2 Robert Großkopf 2014-01-11 18:31:58 UTC
(In reply to comment #1)
Hi Cor,
> 
> The behaviour sounds logic since a hard page break is direct formatting
> (contrary to automatic page style sequences)..

Could be logic to delete the page-break. So I have to chose a separate paragraph-style, which I set for a page-break.

Not logic: The paragraph-style is reset from "Text" to "Default". 

1. When I clear direct formatting, I should only clear it to the style I have chosen.
2. When I clear direct formatting the consequence must be shown directly, not after saving and reloading.

Regards

Robert
Comment 3 Cor Nouws 2014-01-11 19:37:21 UTC Comment hidden (obsolete)
Comment 4 Robert Großkopf 2014-01-11 20:00:43 UTC
(In reply to comment #3)
> hmm, I have some paragraphs Text block, some text bold, in one I change
> Format > Paragraph with page break, select some paragraphs, choose Format >
> Clear direct formatting ...
> and the hard page break remains. In 4.2.0.2 on Ubuntu...

Could you test the attachment?
Have you saved the document, closed it and reopened it? The hard page break remains when you won't save the file.
I have just tested again with openSUSE 12.3 64bit rpm Linux and LO 4.2.0.rc2 - same here in all other versions I have tested.
Comment 5 Cor Nouws 2014-01-11 21:52:35 UTC
Ah yes - why should I read your full instructions :-\
sorry > confirmed!
When I add the manual break to a paragraph Heading 1, that is preserved after saving and opening again..
So the change of style maybe only is Text block > Default ?

I changed the summary - maybe should be split up in two bugs, or stick with only the second problem (since the first is by design) ?
Comment 6 Joel Madero 2015-05-02 15:44:07 UTC Comment hidden (obsolete)
Comment 7 Robert Großkopf 2015-05-02 17:29:16 UTC Comment hidden (obsolete)
Comment 8 QA Administrators 2016-09-20 10:11:24 UTC Comment hidden (obsolete)
Comment 9 Robert Großkopf 2016-10-01 09:46:11 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2018-06-15 02:46:12 UTC Comment hidden (obsolete)
Comment 11 Robert Großkopf 2018-06-15 06:10:59 UTC
Nothing changed.

The "Text"-formatted paragraph, which starts at the second page with a manual pagebreak before, has lost the pagebreak and will be changed to "Default" paragraph.

Tested with LO 6.0.5.1 on OpenSUSE 42.3 64bit rpm Linux.
Comment 12 Timur 2019-01-03 09:03:35 UTC
The "Text"-formatted paragraph is no longer changed to "Default" paragraph. That was Bug 47471.
That Ctrl+M resets manual pagebreak before - sounds logic.
Only issue I see here is that with clear direct formatting the consequence must be shown directly, not only after saving and reloading. So I retitle.