Bug 50289 - VIEWING: Background-color of cell overlaps border
Summary: VIEWING: Background-color of cell overlaps border
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Calc (show other bugs)
Version:
(earliest affected)
3.5.0 release
Hardware: Other All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords: filter:pdf
: 144749 157298 (view as bug list)
Depends on:
Blocks: PDF-Export
  Show dependency treegraph
 
Reported: 2012-05-23 12:16 UTC by Narigo
Modified: 2023-10-02 06:21 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
In this Spreadsheet, I can see the background-colors a little bit off to the top-left when I look at page preview and set it to 100% (zooming in more helps) (7.84 KB, application/vnd.oasis.opendocument.spreadsheet)
2012-05-23 12:16 UTC, Narigo
Details
Screenshot of page preview of attached .ods file (30.36 KB, image/png)
2012-05-23 12:35 UTC, Narigo
Details
Example spreadsheet (9.26 KB, application/vnd.oasis.opendocument.spreadsheet)
2023-10-02 06:21 UTC, Buovjaga
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Narigo 2012-05-23 12:16:39 UTC
Created attachment 62031 [details]
In this Spreadsheet, I can see the background-colors a little bit off to the top-left when I look at page preview and set it to 100% (zooming in more helps)

Problem description: 
The background color of cells do not seem to stay inside their own cells.

Steps to reproduce:
1. Create a new document
2. Add some background colors to cells
3. Put a border around the cells
4. See page preview / exported PDF

Current behavior:
The background color seems to be a tiny little bit off the cells. In some documents this results in strange one pixel inside the border of another cell.

Expected behavior:
The background color is only inside the borders of the cell, all cells in a row should have the same height / all cells in a column should have the same width.

Platform (if different from the browser): Win7 64bit
              
Browser: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0
Comment 1 Narigo 2012-05-23 12:35:20 UTC
Created attachment 62032 [details]
Screenshot of page preview of attached .ods file

You can see the light blue inside the cell of the dark blue area here pretty good.
Comment 2 Noel Grandin 2012-09-05 12:35:37 UTC
Confirmed in 3.6.1.2 (Windows)
Comment 3 QA Administrators 2015-01-05 17:51:36 UTC Comment hidden (obsolete)
Comment 4 Buovjaga 2015-01-22 16:59:11 UTC
Confirmed.

Win 7 Pro 64-bit Version: 4.5.0.0.alpha0+
Build ID: 07e84cae983c08afdba03018413a19d01abb3006
TinderBox: Win-x86@62-TDF, Branch:MASTER, Time: 2015-01-19_06:15:38
Comment 5 QA Administrators 2016-02-21 08:35:45 UTC Comment hidden (obsolete)
Comment 6 ralf.krapf 2017-01-26 16:17:15 UTC
Confirmed and still present in LO 5.2.4.2

Cheers Ralf
Comment 7 QA Administrators 2018-04-18 02:34:33 UTC Comment hidden (obsolete)
Comment 8 Narigo 2018-04-18 08:13:54 UTC
Still open issue. Confirmed with the .ods file from the bug report in LibreOffice version:

Version: 6.0.2.1
Build ID: f7f06a8f319e4b62f9bc5095aa112a65d2f3ac89
CPU threads: 8; OS: Mac OS X 10.13.4; UI render: default; 
Locale: de-DE (en_DE.UTF-8); Calc: group
Comment 9 Karsten 2019-01-16 11:17:46 UTC Comment hidden (obsolete)
Comment 10 QA Administrators 2021-01-16 04:17:31 UTC Comment hidden (obsolete)
Comment 11 QA Administrators 2023-01-17 03:20:00 UTC Comment hidden (obsolete)
Comment 12 Buovjaga 2023-02-16 17:48:36 UTC
*** Bug 144749 has been marked as a duplicate of this bug. ***
Comment 13 Narigo 2023-02-17 10:36:04 UTC
Bug is still present, could reproduce this on a Mac with the attached document and the latest development version. It doesn't look as bad as it used to, but it's still off a little bit, even in the resulting PDF (needed to zoom in to see it).

Version: 7.5.0.3 (X86_64) / LibreOffice Community
Build ID: c21113d003cd3efa8c53188764377a8272d9d6de
CPU threads: 16; OS: Mac OS X 13.1; UI render: default; VCL: osx
Locale: en-US (en_DE.UTF-8); UI: en-US
Calc: threaded
Comment 14 Buovjaga 2023-10-02 06:19:49 UTC
*** Bug 157298 has been marked as a duplicate of this bug. ***
Comment 15 Buovjaga 2023-10-02 06:21:05 UTC
Created attachment 189936 [details]
Example spreadsheet

This is done in the way seen in bug 157298. There is no need to use print preview or anything like that.

Arch Linux 64-bit, X11
Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 9eb419b0b0f019f5fbc48ff1a11977e8b041edee
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: kf5 (cairo+xcb)
Locale: fi-FI (fi_FI.UTF-8); UI: en-US
Calc: threaded
Built on 2 October 2023
Comment 16 Buovjaga 2023-10-02 06:21:59 UTC
Repro in oldest of Linux 43all repo