Bug 134349 - LO Draw layers that are set as invisible and not to print still export their contents
Summary: LO Draw layers that are set as invisible and not to print still export their ...
Status: RESOLVED DUPLICATE of bug 53864
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-06-28 01:24 UTC by xordevoreaux
Modified: 2023-11-06 11:24 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
LO Draw file with 2 layers, one visible, one invisible (8.96 KB, application/vnd.oasis.opendocument.graphics)
2020-06-28 01:25 UTC, xordevoreaux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xordevoreaux 2020-06-28 01:24:59 UTC
Description:
LO Draw layers set invisible and not to print still exports its contents.

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

https://i.imgur.com/9VVI27b.png

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

https://i.imgur.com/kuOCxCK.png

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: 
   https://i.imgur.com/9VVI27b.png



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
Comment 1 xordevoreaux 2020-06-28 01:25:39 UTC
Created attachment 162463 [details]
LO Draw file with 2 layers, one visible, one invisible
Comment 2 Telesto 2020-06-28 18:10:43 UTC
Repro with 7.1

and
4.3.7.2
Comment 3 Telesto 2020-06-29 11:32:39 UTC
Also in
3.3.0
Comment 4 Buovjaga 2020-08-26 18:09:36 UTC

*** This bug has been marked as a duplicate of bug 117257 ***
Comment 5 Stéphane Guillou (stragu) 2023-11-06 11:24:14 UTC

*** This bug has been marked as a duplicate of bug 53864 ***