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
Hi Robert, The behaviour sounds logic since a hard page break is direct formatting (contrary to automatic page style sequences).. Cioa, Cor
(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
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...
(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.
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) ?
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (4.4.2 or later) https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for your help! -- The LibreOffice QA Team This NEW Message was generated on: 2015-05-02
Nothing has been changed in the behavior with Version: 5.0.0.0.alpha1+ Build ID: fc0d494b8936ab11abca761810de8a03f579edf5 TinderBox: Linux-rpm_deb-x86_64@46-TDF, Branch:master, Time: 2015-04-20_05:29:00 Locale: de_DE Clear direct formatting clears a manual pagebreak and sets format of the paragraph to "Default".
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.1.5 or 5.2.1 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20160920
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 5.2.2.2 on OpenSUSE 42.1 64bit rpm Linux.
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the information from Help - About LibreOffice. If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice. Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to 'inherited from OOo'; 4b. If the bug was not present in 3.3 - add 'regression' to keyword Feel free to come ask questions or to say hello in our QA chat: https://kiwiirc.com/nextclient/irc.freenode.net/#libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug
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.
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.
Created attachment 162511 [details] Writer file showing "Clear direct formatting" issue Version: 6.4.4.2 (x64) Build ID: 3d775be2011f3886db32dfd395a6a6d1ca2630ff CPU threads: 4; OS: Windows 10.0 Build 19041; UI render: default; VCL: win; Locale: en-GB (en_GB); UI-Language: en-GB Calc: threaded See attached file. The effect of "Clear direct formatting" on page breaks and page styles is only apparent when you save, close and reload the file. I would not expect page breaks to be deleted by the "Clear direct formatting" command. In books, for example, you may need to remove directly-applied character formatting but not want to lose the layout of chapters which depends on page breaks and page styles. Would this be a feasible feature request?
See also, Bug 139079.
*** Bug 139079 has been marked as a duplicate of this bug. ***
Definitely a bug. The code (see bug 138628 comment 9) makes explicit precautions to keep the breaks; so this "do not clear page breaks" is intentional and wanted (but the mentioned bug is for making it configurable); when saving to *DOCX*, the breaks get correctly saved; so not saving is a bug that likely relates to *something* about breaks being *unintentionally* cleared, which breaks export to ODF, but not to other formats.
*** Bug 139311 has been marked as a duplicate of this bug. ***
*** Bug 145849 has been marked as a duplicate of this bug. ***
Possibly a relevant code is SwXMLAutoStylePoolP::exportStyleAttributes, which has a case for CTF_PAGEDESCNAME. Yet, it is called both without and *with* Ctrl+M, so the autostyle gets the 'style:master-page-name' attribute; but the autostyle somehow doesn't apply to the paragraph ('text:p', its 'text:style-name' attribute). Maybe it could help someone who tries to fix this.
https://gerrit.libreoffice.org/c/core/+/152393
Mike Kaganski committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/05bc773b0e88b408a997ffa5851cc9207d3303e5 tdf#73483: make sure to not reset style names It will be available in 7.6.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 90221 has been marked as a duplicate of this bug. ***
*** Bug 140163 has been marked as a duplicate of this bug. ***
*** Bug 47471 has been marked as a duplicate of this bug. ***
*** Bug 73411 has been marked as a duplicate of this bug. ***
*** Bug 92352 has been marked as a duplicate of this bug. ***
*** Bug 95752 has been marked as a duplicate of this bug. ***
*** Bug 104988 has been marked as a duplicate of this bug. ***
*** Bug 111002 has been marked as a duplicate of this bug. ***
In bug 47471, a part of this problem got a workaround, allowing to preserve at least the main paragraph style, when autostyle couldn't be found because of this Ctrl+M bug.
Mike Kaganski committed a patch related to this issue. It has been pushed to "libreoffice-7-5": https://git.libreoffice.org/core/commit/944f47c592085a160413f7bf42736054848af676 tdf#73483: make sure to not reset style names It will be available in 7.5.5. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
*** Bug 120007 has been marked as a duplicate of this bug. ***
*** Bug 125790 has been marked as a duplicate of this bug. ***