<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 - Switching from None to Continuous on a shape that touches a margin pushes out that margin upon export to GIF/PNG/etc."
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=124275">124275</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Switching from None to Continuous on a shape that touches a margin pushes out that margin upon export to GIF/PNG/etc.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>6.2.2.2 release
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Draw
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mwtjunkmail@gmail.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Description:
Very obscure bug and a bit complicated so I'll try to be as clear as possible. 

I have a document in LO Draw with no margins. In that document I created a
shape (a box) and made sure that the edges of the box extend to either side so
that the edges touch the margin.  

I then exported the document as a GIF (happens with other formats like PNG).  
A white line appeared to the right and bottom of the export.

I went back to the document and selected None instead of having the default of
Continuous for the shape's border (line property). The white line on the export
went away.

Here is the complicated part:
If you flip the thickness of the line to anything other than the default,
regardless what you select, the white line does not appear on export. This only
happens on a new shape with the default line property set.  

Once you change the line's thickness from the default (can even back to
something else and then back to the default again) the export works as
intended.

I am attaching the document I used plus the output plus a screen shot showing
the property I'm adjusting.  Again, leaving the shape's line thickness to the
default when exporting seems to be the initial problem.


Steps to Reproduce:
1.Create a new LO Draw document
2.Set the document's margins to 0
3.Create a shape whose edge touches the right margin of the document.
4.Export the document to Gif/PNG/etc.

Actual Results:
A white line appears to the right and bottom of the document.

Expected Results:
No white line should appear.


Reproducible: Always


User Profile Reset: No



Additional Info:
As soon as one adjusts the line property to something other than the default
thickness, the problem seems to correct itself, even if returning the property
to the default thickness. If this extra step isn't taken, the line remains.</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>