Bug 73483 - FORMATTING: manual pagebreak is lost after clear direct formatting and save the file / and format of paragraphs Text block changes to Default
Summary: FORMATTING: manual pagebreak is lost after clear direct formatting and save t...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version: Inherited From OOo
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-10 20:04 UTC by robert
Modified: 2014-01-11 21:52 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


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
Details

Description robert 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 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
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...
Comment 4 robert 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) ?


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.