Issue 117223 - objects with invisible line style and hatched area fill may not export to pdf
Summary: objects with invisible line style and hatched area fill may not export to pdf
Status: CLOSED IRREPRODUCIBLE
Alias: None
Product: Draw
Classification: Application
Component: save-export (show other issues)
Version: OOo 3.3
Hardware: PC Linux, all
: P3 Normal with 5 votes (vote)
Target Milestone: ---
Assignee: graphicsneedsconfirm
QA Contact: issues@graphics
URL: http://user.services.openoffice.org/e...
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-04 19:23 UTC by Joe Smith
Modified: 2012-06-13 12:32 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---
tnetter: 3.4_release_blocker?


Attachments
Sample document showing problem (9.93 KB, application/vnd.oasis.opendocument.graphics)
2011-03-04 19:23 UTC, Joe Smith
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Joe Smith 2011-03-04 19:23:30 UTC
Created attachment 76009 [details]
Sample document showing problem

Testing OOo 3.3 on Fedora Linux 13

Objects that combine a hatched area fill and line style "invisible" may not be exported properly to pdf.

Steps to reproduce:

1) Open the attached test document
2) Export to pdf

See that in the exported pdf, only object "A" is exported properly. Object "B", which also has a hatched area fill, is not filled in the exported pdf; only its label is visible.

3) Change the object's line style (Format > Line > Line > Style: "Continuous") to anything other than "invisible"; export to pdf

In this case, both objects are exported correctly.

4) Reload the original document
5) Copy object "A" to the clipboard, then delete object "A"
6) Paste the copy of object "A"
7) Export to pdf

Now object "B" is exported correctly, where the copy of object "A" is not. The order in which the hatched objects are exported seems to be significant.
Comment 1 tnetter 2011-06-09 09:14:01 UTC
Same problem in Windows version. Some shapes, even with continuous line style, don't export to PDF. Sometimes it helps to copy - delete - paste the object again and it will then appear in the PDF. Same problem in LibreOffice 3.3.2.
Comment 2 tnetter 2011-06-09 09:23:45 UTC
Another trick is to copy the disappearing shape fromt the first page into a second page. Then copy it again from the second page and paste it back into the first page. Duh!
Comment 3 ftoth 2011-06-10 11:17:03 UTC
I just tested with OO 3.2.1 on Windows and LO 3.3.2.

The problem happens in both versions. But not exactly as described here.

It occurs when hatching is on with invisible background. The line style of the surrounding box has not influence.

Change the background fill of the hatch to white, and pdf's are OK.

Ferry
Comment 4 aa.nobili 2011-06-14 09:43:38 UTC
*** This issue has been confirmed by popular vote. ***
Comment 5 aa.nobili 2011-06-14 09:46:57 UTC
Same problem on a Windows platform for OO 3.3.0. 
Hatched boxes (with no surrounding line) simply disappear in pdf translation.
Funny is I didn't get any of the sort with previous versions (unlike comment #3). Maybe you just have to revert back to the good old code.
Thx.
Comment 6 Armin Le Grand 2012-02-03 11:32:19 UTC
ALG: Could not reproduce with current Apache OO builds, neither with the attached document nor with newly created examples. Adding me to CC. Please may the original comitters use a current developer snapshot (https://cwiki.apache.org/confluence/display/OOOUSERS/AOO+3.4+Unofficial+Developer+Snapshots) to recheck. Thanks in advance!
Comment 7 Joe Smith 2012-02-03 17:51:25 UTC
> ALG: Could not reproduce with current Apache OO builds, neither with
> the attached document nor with newly created examples.

I see the same, testing OOo-dev 3.4  340m1(Build:9584) on Fedora Linux 13.

PDF export works also with the Draw document where I originally noticed the problem.

Should be closed, assuming it checks ok on Windows.
Comment 8 Armin Le Grand 2012-02-06 13:05:15 UTC
ALG: Okay, closing.
Comment 9 Armin Le Grand 2012-02-06 13:05:35 UTC
.
Comment 10 Oliver-Rainer Wittmann 2012-06-13 12:32:27 UTC
getting rid of value "enhancement" for field "severity".
For enhancement the field "issue type" shall be used.