Bug 46959 - PRINTING: Combination of Narrow Coloured Cell Border and Grid does not print correctly
Summary: PRINTING: Combination of Narrow Coloured Cell Border and Grid does not print ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks: PDF-Export Print Grid-Helplines
  Show dependency treegraph
 
Reported: 2012-03-04 09:27 UTC by Jeff Evans
Modified: 2023-10-19 08:42 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeff Evans 2012-03-04 09:27:24 UTC
Spreadsheet saved in Excel XP format with coloured borders degraded to 0.3pt on some cells, and to be printed with grid; displays as expected on Print Preview, but borders print in black.

Steps to reproduce:
1. Create spreadsheet of 2 rows with light red border on bottom of first row 0.3pt wide
2. Go to "Print Preview"
3. Go to "Format Page" and on "Sheet" tab, tick the "Grid" box
4. Print sheet.

Current behavior:
Print Preview correctly displays red border where set, and rest of grid in black. When printed, red line comes out as black.

Expected behavior:
Print to look as Print Preview. Was not a problem with OO3.4 or MS Excel XP.

Platform (if different from the browser): 
              
Windows XP SP3, Konica-Minolta-QMS Magicolor 3100 printer
Comment 1 Michael Stahl (allotropia) 2012-05-23 02:11:44 UTC
what evidently happens here is that the grid line
is drawn over the border line.

this is not new and happens in OOo 3.4beta and OOo 3.0.1 as well.

though it has become a little more damaging in that in OOo 3.4beta
PDF the non-overpainted part of a 0.3pt red border is still visible
while on LO 3.5.4 PDF it is almost completely covered by the grid line.
Comment 2 Jeff Evans 2012-05-23 05:10:08 UTC
(In reply to comment #1)
> what evidently happens here is that the grid line
> is drawn over the border line.
> this is not new and happens in OOo 3.4beta and OOo 3.0.1 as well.
> though it has become a little more damaging in that in OOo 3.4beta
> PDF the non-overpainted part of a 0.3pt red border is still visible
> while on LO 3.5.4 PDF it is almost completely covered by the grid line.

@Michael Stahl: are you saying this is not a bug /should not be fixed?

Looking closely at some old printouts, I see that what you say is true.

The problem became apparent with the degradation of borders in .xls format - see my bug 46960 and related. I also had to back out 3.5.3 due to bug 49582, which doesn't help the situation.

I believe the ideal would be to suppress the grid line where a (non-blank) border was specified for the cell or the relevant adjacent cell. Would this be feasible?
Comment 3 Michael Stahl (allotropia) 2012-05-23 06:02:46 UTC
Jeff, of course i think this is a defect that must be fixed
(by not drawing the grid lines when there is a border, as you say)
but since it is a pre-existing problem it is not as high
in priority as the numerous regressions wrt. borders
that i'm currently looking at :)
Comment 4 Jeff Evans 2012-05-23 06:09:11 UTC
(In reply to comment #3)
> Jeff, of course i think this is a defect that must be fixed
> (by not drawing the grid lines when there is a border, as you say)
> but since it is a pre-existing problem it is not as high
> in priority as the numerous regressions wrt. borders
> that i'm currently looking at :)

OK. Many thanks to you and the team for all your efforts.
Comment 5 Markus Mohrhard 2012-05-23 10:35:25 UTC
Most  likely one for me. I think the cleanest solution is to skip grid lines for border cells or check why we draw grid lines after borders.

Normally in calc we should draw the grid lines between background and every other content.
Comment 6 Cédric Bosdonnat 2014-01-20 09:00:33 UTC
Restricted my LibreOffice hacking area
Comment 7 Joel Madero 2015-05-02 15:44:11 UTC Comment hidden (obsolete)
Comment 8 Buovjaga 2015-06-21 13:11:53 UTC
Confirmed the grid is going over the red, red still showing a bit.

Win 7 Pro 64-bit Version: 5.1.0.0.alpha1+
Build ID: 3ecef8cedb215e49237a11607197edc91639bfcd
TinderBox: Win-x86@62-merge-TDF, Branch:MASTER, Time: 2015-06-19_23:16:58
Locale: fi-FI (fi_FI)
Comment 9 QA Administrators 2016-09-20 10:11:26 UTC Comment hidden (obsolete)
Comment 10 Thomas Lendo 2018-10-17 21:04:41 UTC
Still reproducible.

Version: 6.2.0.0.alpha0+
Build ID: d92319d2ffeaa65e31f923e0e9c7328b8d7c97bf
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
Locale: de-DE (de_DE.UTF-8); Calc: threaded
from today
Comment 11 QA Administrators 2019-10-18 02:39:45 UTC Comment hidden (obsolete)
Comment 12 QA Administrators 2021-10-18 03:48:46 UTC Comment hidden (obsolete)
Comment 13 QA Administrators 2023-10-19 03:15:17 UTC
Dear Jeff Evans,

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