[Libreoffice-bugs] [Bug 126051] New: FORMATTING: Negative margins when boundary values are used between page and header/footer margins.

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jun 22 23:33:12 UTC 2019


https://bugs.documentfoundation.org/show_bug.cgi?id=126051

            Bug ID: 126051
           Summary: FORMATTING: Negative margins when boundary values are
                    used between page and header/footer margins.
           Product: LibreOffice
           Version: 6.2.4.2 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: minor
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: qa.software.tester.anielsen+ast at gmail.com

Description:
Version: 6.2.4.2 (x64)
Build ID: 2412653d852ce75f65fbfa83fb7e7b669a126d64
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: CL

Setting the page margins to outside of the print range, and maximizing the
header/footer margins, then switching between the tabs sets the fields to
negative values. Applying the changes pushes the content off the page.

Using the replication steps, this issue can be repeated with the Footer tab
(instead of Header), and you can use the right margin instead of the left as
well (although the content will be pushed off to the other side of the page).

I’d consider this an edge case as it would be very unlikely that anyone with
good intentions would go anywhere near those margin values.

Steps to Reproduce:
1. Open new LibreOffice document
2. Click on Format > Page … > Page tab
3. Set the Left Margin value to 0
4. Click on the Header tab
5. When prompted about margin being out of print range, click yes.
6. Toggle Header on.
7. Set the Left Margin to 9999 (anything beyond the current margin limit)
8. Click on the Page tab.
9. See the value for Left Margin is now negative.
10. Click on Header tab again.
11. See Left Margin now negative, and preview shows content area far off the
page.
12. Click OK (to accept edits and close the window).
13. Try to type things in header or main content area. No text appears, but
character count increases.

Actual Results:
Margins automatically got set to negative values. Text does not appear
anywhere, but word count increases as you type.

Expected Results:
Margins should never be negative and cause text to appear outside of view.


Reproducible: Always


User Profile Reset: No



Additional Info:
I will attach a short video that goes through the steps and gives a visual
overview of the issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20190622/5b2098b4/attachment.html>


More information about the Libreoffice-bugs mailing list