Bug 124571

Summary: Printable property not respected for PDF export on drawing objects
Product: LibreOffice Reporter: wpeaton4
Component: LibreOfficeAssignee: Not Assigned <libreoffice-bugs>
Status: NEW ---    
Severity: normal CC: buzea.bogdan, xiscofauli
Priority: medium    
Version: Inherited From OOo   
Hardware: All   
OS: All   
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 103378    
Attachments: draw file with two rectangles that are nonprintable.

Description wpeaton4 2019-04-05 22:32:22 UTC
Created attachment 150552 [details]
draw file with two rectangles that are nonprintable.

This bug seems to apply drawing objects in all major programs. Verified for Draw and Calc.

The Printable property seems to work fine on controls and layers on Export to PDF.

However, if you set the Printable property of a draw object (e.g. rectangle, text box, line, etc.) the Printable property is respected for printing but not for Export to PDF.

The Printable property does not seem to be accessible from the UI, but it is accessible through the API.

To reproduce:

1. Open attached drawing file it has two rectangles. The top rectangle has it's
   Printable property set to false from the API. The bottom rectangle is on a
   layer called "bg". The "bg" layer Printable property is set to false.
2. Verify (with MRI or by other means) that top rectangle (Index 0 on the 
   drawing page) has Printable = False.
3. Select bottom rectangle. In status bar, see that it is on "bg" layer.
4. Print page. Page should be empty.
5. Export to PDF. Top rectangle will be in PDF file.

The Workaround for this bug, of course, is to place nonprintable objects on nonprintable layers. Layers are not available for Writer, Calc, or Impress.
Comment 1 Xisco FaulĂ­ 2019-05-06 16:35:27 UTC
Reproduced in

Version: 6.3.0.0.alpha0+
Build ID: e44c31d68b026ad9cd954dc572cb1460958a6327
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: ca-ES (ca_ES.UTF-8); UI-Language: en-US
Calc: threaded

Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

and

LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 2 QA Administrators 2021-05-06 04:36:44 UTC Comment hidden (obsolete)
Comment 3 wpeaton4 2021-05-06 15:35:38 UTC
Reproduced in 6.4.6.2
Comment 4 wpeaton4 2022-05-31 18:27:19 UTC
Reproduced in 7.2.7.2
Comment 5 QA Administrators 2024-05-31 03:15:21 UTC
Dear wpeaton4,

To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year.

There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present.

If you have time, please do the following:

Test to see if the bug is still present with the latest version of LibreOffice from https://www.libreoffice.org/download/

If the bug is present, please leave a comment that includes the information from Help - About LibreOffice.
 
If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a comment that includes the information from Help - About LibreOffice.

Please DO NOT

Update the version field
Reply via email (please reply directly on the bug tracker)
Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not 
appropriate in this case)


If you want to do more to help you can test to see if your issue is a REGRESSION. To do so:
1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) from https://downloadarchive.documentfoundation.org/libreoffice/old/

2. Test your bug
3. Leave a comment with your results.
4a. If the bug was present with 3.3 - set version to 'inherited from OOo';
4b. If the bug was not present in 3.3 - add 'regression' to keyword


Feel free to come ask questions or to say hello in our QA chat: https://web.libera.chat/?settings=#libreoffice-qa

Thank you for helping us make LibreOffice even better for everyone!

Warm Regards,
QA Team

MassPing-UntouchedBug