<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 - LO Draw layers set invisible and not to print still exports its contents"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=134349">134349</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LO Draw layers set invisible and not to print still exports its contents
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>7.0.0.0.beta1+
          </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:
LO Draw layers set invisible and not to print still exports its contents.

Here, <a href="https://i.imgur.com/6te0nRV.png">https://i.imgur.com/6te0nRV.png</a>, the square is on a layer set to be
invisible and not to export:

<a href="https://i.imgur.com/9VVI27b.png">https://i.imgur.com/9VVI27b.png</a>

Also, the layer that is flagged invisible / do not print not only exports, but
still renders on its page thumbnail:

<a href="https://i.imgur.com/kuOCxCK.png">https://i.imgur.com/kuOCxCK.png</a>

Steps to Reproduce:
1. Launch LO draw
2. Create two layers
3. On one layer, draw any shape
4. On the other layer, draw another shape
5. Set one of the layers as invisible and not to print: 
   <a href="https://i.imgur.com/9VVI27b.png">https://i.imgur.com/9VVI27b.png</a>



Actual Results:
The thumbnail for the page renders content on the invisible layers.
Graphical exports (I tested PNG & TIFF) include the invisible / non-printing
layer

Expected Results:
Invisible, non-printing layers should neither contribute to their page's
thumbnail nor appear when exported as PNG/TIFF/other graphical format.


Reproducible: Always


User Profile Reset: No



Additional Info:
I only tested with SKIA, not hardware rendering.

Version: 7.0.0.0.beta2 (x64)
Build ID: 1c213561a365b5666167321de68c9977500c9612
CPU threads: 8; OS: Windows 10.0 Build 20152; UI render: Skia/Vulkan; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL</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>