Bug 78677 - PRINTING: solid line polygon prints with one edge dashed in user-provided file
Summary: PRINTING: solid line polygon prints with one edge dashed in user-provided file
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
4.2.4.2 release
Hardware: x86 (IA32) Windows (All)
: low trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-13 23:30 UTC by Tom Lawrence
Modified: 2019-09-07 20:36 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Zip file containing files needed to reproduce problem, as well as screen shots (160.26 KB, application/zip)
2014-05-13 23:30 UTC, Tom Lawrence
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Lawrence 2014-05-13 23:30:13 UTC
Created attachment 98999 [details]
Zip file containing files needed to reproduce problem, as well as screen shots

In simple drawing file ("BugDocument.odg") containing two hexagon shapes, although they display in editor with solid edges, when printed, one edge of shape is dashed rather than solid.

Document was created in an earlier version of LibreOffice (3.6, I believe). It worked fine until a recent version some time in the last few months.

Problem also shows in print preview, so one doesn't need to burn paper to repro it.

Simplest repro steps:
- Launch LibreOffice Draw
- Open attached "BugDocument.odg"
- Observe hexagons - all lines (edges) are solid (see "display.PNG" for example)
- Select File menu --> Print...
- Examine print preview area of print dialog - one edge of one hexagon is dashed (see "print.PNG")

Repros with Microsoft XPS print driver as well as HP 932c that I have.

If printing occurs, the hexagon will have a dashed edge, as in print preview.
Comment 1 sophie 2014-05-26 14:48:55 UTC
Hi, I can't reproduce with Version: 4.2.4.2
Build ID: 63150712c6d317d27ce2db16eb94c2f3d7b699f8 Ubuntu 14.04 x64. Even printed the polygon's line that is dashed on your screenshot is well printed for me. Left as unconfirmed. Sophie
Comment 2 Tom Lawrence 2014-05-31 23:41:10 UTC
For me it repros on two different machines: Win XP and Win 7.

Making note of a few ideas for further investigation (me or otherwise):
- Perhaps it is a Windows-only bug.
- These are user machines, which have been upgraded regularly with new builds of LibreOffice. Perhaps something was left over from a previous version, so that a clean install would not exhibit the problem.
- Perhaps it is related to my specific printer (unlikely - Windows XPS print driver also shows the problem).
Comment 3 Tom Lawrence 2014-07-12 23:37:26 UTC
Found out the problem: The right hexagon has an empty bitmap set as the background pattern. For some reason, on Windows only, this renders background colors in a checkered pattern outside of the bounds of the object. It does not seem worth investigating further - if this problem exists for non-trivial bitmaps, it will be quite evident and can be investigated then. In this case, user work-around is to use a solid fill color (which was intended in the first place).
Comment 4 Buovjaga 2014-11-04 08:42:12 UTC
I reproduced.

Win 7 64-bit Version: 4.4.0.0.alpha1+
Build ID: ad6d94009cf8ea526eb70bf1a07e5c6a21320f83
TinderBox: Win-x86@51-TDF, Branch:MASTER, Time: 2014-11-04_00:06:27
Comment 5 QA Administrators 2015-12-20 16:18:54 UTC Comment hidden (obsolete)
Comment 6 Tom Lawrence 2016-01-03 03:33:49 UTC
Repros on version 5.0.4.2 (on Windows 10)
Comment 7 QA Administrators 2017-01-03 19:55:46 UTC Comment hidden (obsolete)
Comment 8 Regina Henschel 2019-09-07 20:36:49 UTC
I cannot reproduce it in Version: 6.4.0.0.alpha0+ (x64)
Build ID: 61b757f31f25cda6d595f64226181c7a82ce8d7f
CPU threads: 8; OS: Windows 10.0; UI render: GL; VCL: win; 
TinderBox: Win-x86_64@62-TDF, Branch:master, Time: 2019-09-07_17:48:35
Locale: en-US (en_US); UI-Language: en-US
Calc: CL