Summary: | FORMATTING: Headline spacing after page break | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | André Rebentisch <andre.rebentisch> |
Component: | Writer | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | minor | ||
Priority: | low | CC: | hans011, jmadero.dev, sasha.libreoffice |
Version: | 3.4.4 release | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | BSA | ||
i915 platform: | i915 features: | ||
Attachments: |
Demonstration test case
Test case PDF output H2 without top space H2 with top space |
Created attachment 55076 [details]
Test case PDF output
Thanks for bugreport It is because settings inside of "Heading 1" style. Change this style if needed another spacing. If such behaviour needed each time, create new document template and set it as default. I am unable to reproduce this. When I do INSERT HEADING 1, Manual Break, INSERT HEADING 1, put text on each page, both seem to have the same spacing. LibO: 3.6.1.2 Marking as WORKSFORME. If this is still an issue please reopen this as UNCONFIRMED and let us know what version of LibO you're using. "It is because settings inside of "Heading 1" style." Then the default H1 style settings have to be changed. Does not explain the issue after manual page break though, and the change from H1 to H2. Pls check again. The rendering of the test document is still the same in 3.6.2 but the behaviour changed. Second order H2 now also adds space, but it is still possible to generate a document where Hx on the top has top space and where Hx hasn't space added, depending on how you make the edits. I will add a screenshot showing a H2 w/o top space while in the same document other H2 headline does have top space. Created attachment 68914 [details]
H2 without top space
Created attachment 68915 [details]
H2 with top space
Thanks for additional testing. Sorry for not understand problem from first attempt. It reproduced in 3.5.7 on RFR 64 bit (from Fedora repo) Steps for create test case: 1. Open or create text document with more then one page of unformatted text 2. Assign to first line and to line near of bottom of page style "Heading 1" 3. Enter some new lines into page so that second heading appears on beginning of second page Expected: distance from top of page for both headings is equal about 0.5 cm Actually: first header have proper distance, but second - no distance Please, tell if I understand problem properly Based on comment 7 I have been able to confirm the issue on: Version: 4.1.0.0.alpha1+Build ID: ed8f9ec2caa8485691999e5565a79e451e1dcb Date: Wed May 8 18:48:38 2013 +0200 Platform: Bodhi Linux 2.2 x64 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + As I've been able to confirm this problem I am marking as: New (confirmed) Minor - there is an easy workaround so it doesn't prevent high quality work, just slightly slows it down Low - default, seems appropriate Workaround: you can insert a manual page break and the problem is solved - not ideal but it seems like this is very particular and not affecting many users (see lack of dupes as well as lack of any comments outside of QA and OP) + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + LibreOffice is powered by a team of volunteers, every bug is confirmed (triaged) by human beings who mostly give their time for free. We invite you to join our triaging by checking out this link: https://wiki.documentfoundation.org/QA/BugTriage and join us on freenode at #libreoffice-qa There are also other ways to get involved including with marketing, UX, documentation, and of course developing - http://www.libreoffice.org/get-help/mailing-lists/. Lastly, good bug reports help tremendously in making the process go smoother, please always provide reproducible steps (even if it seems easy) and attach any and all relevant material I have also observed this problem sometimes, when I have a "heading 1" right after a page break (either manually inserted, or defined in the "text flow" tab of the style. The space indicated in the style (spacing "above paragraph" in the "indents & spacing" tab), appears at the beginning of the page, so this line does not start at the beginning of the page. That is exactly what we see in pages 1 and 3 of the test case. The only existing workarounds would be: - Not use page breaks at all. Only break to the next page inserting as many line feeds as required. I don't think this is a valid workaround at all, as the layout will keep breaking every time a new line is inserted in the document. - Set in the style of the heading, the spacing above paragraph to 0. Which is fine unless you want to have a page break before some headings, and not before others. I have only seen this issue with heading 1, which is before which I tend to use page breaks. But if it also happens with other styles, it could be a bigger issue. I suffer with it as well and for me it is one of 10 most annoying bugs making LO and second class product. Affecting probably more a reputation of LO at other people receiving docs created in LO than LO users, who forgive it as less important bug. Otherwise I use another workaround: Direct formatting of space above par. (-> 0) after page-break. What is manageable after manual page-break but more probably left after automatic one. Confirmed with LO 4.1.3.2/ Linux x64. I see this wrong behaviour not confined to Heading1 but with any paragraph which has spacing above (even Standard with manually set spacing): this spacing should always be omitted if at top of page. Spacing above is correctly omitted when an automatic page break occurs. Spacing above is wrongly NOT omitted when at top of first page or after a manual page break. Very annoying for me while it shouldn't be too difficult to fix, isn't it? Hans It is quite difficult to fix - we have over 15 million lines of code, just finding where it's going wrong can be quite difficult |
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.
Created attachment 55075 [details] Demonstration test case Problem description: Steps to reproduce: 1. Insert Headline 1st 2. Insert Text 3. Insert Manual page break 4. Insert Headline 1st (see attached file) Current behavior: On the first page headlines 1st order (Test Case H1) do not anchor at the page top but add extra space. The same occurs after a manual page break. It does not occur with headlines of second order. When changing a headline formatting after a manual break from first to second order that doesn't change the 1st order "false" anchoring. (Test Case headline 3) In an ordinary text flow no extra space is added for 1st order headlines. (test case headline 2) Expected behavior: Headline first order anchoring as second order anchoring or a headline in the normal page flow. Check anchoring after manual page break and First order anchoring at first page.