<html>
<head>
<base href="https://bugs.documentfoundation.org/">
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_UNCONFIRMED "
title="UNCONFIRMED - FORMATTING: Negative margins when boundary values are used between page and header/footer margins."
href="https://bugs.documentfoundation.org/show_bug.cgi?id=126051">126051</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>FORMATTING: Negative margins when boundary values are used between page and header/footer margins.
</td>
</tr>
<tr>
<th>Product</th>
<td>LibreOffice
</td>
</tr>
<tr>
<th>Version</th>
<td>6.2.4.2 release
</td>
</tr>
<tr>
<th>Hardware</th>
<td>All
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>UNCONFIRMED
</td>
</tr>
<tr>
<th>Severity</th>
<td>minor
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>Writer
</td>
</tr>
<tr>
<th>Assignee</th>
<td>libreoffice-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>qa.software.tester.anielsen+ast@gmail.com
</td>
</tr></table>
<p>
<div>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>