Bug 135891 - Background of Calc tables pasted as OLE objects in Impress not rendering fill colors as expected
Summary: Background of Calc tables pasted as OLE objects in Impress not rendering fill...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.0.0.3 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: needsDevAdvice, possibleRegression
Depends on:
Blocks: OLE-Objects
  Show dependency treegraph
 
Reported: 2020-08-18 18:18 UTC by Rafael Lima
Modified: 2023-05-27 17:14 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
Image showing the background color issue (55.60 KB, image/png)
2020-08-18 18:18 UTC, Rafael Lima
Details
Impress file where I experienced the bug (25.34 KB, application/vnd.oasis.opendocument.presentation)
2020-08-18 18:19 UTC, Rafael Lima
Details
New Sample file (17.04 KB, application/vnd.oasis.opendocument.presentation)
2021-07-19 17:22 UTC, Rafael Lima
Details
ODG Point out the issue (123.08 KB, application/vnd.oasis.opendocument.graphics)
2021-08-04 12:40 UTC, Rafael Lima
Details
ODP File with Calc Table (23.25 KB, application/vnd.oasis.opendocument.presentation)
2021-08-04 12:41 UTC, Rafael Lima
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rafael Lima 2020-08-18 18:18:20 UTC
Created attachment 164423 [details]
Image showing the background color issue

I usually prepare tables on LO Calc, with all the formatting. Then I copy and paste these Calc tables into an Impress presentation as OLE objects.

However, there is a bug in this overflow that I have always noticed, which is a small offset in background colors (see attached image file, in the first row). I also attached the ODP file I was working on when I took the screenshot.

Every time I copy a table from Calc and paste it into Impress as a Calc OLE object, the background colors of cells appear offset and it does not look good when I am presenting them. I have experienced this bug for a long time now, since LO 6.X... so I decided to file this bug report.

I am using LibreOffice 7.0.0.3 on Ubuntu 20.04 (Gnome 3.36 and Nvidia graphics).
Comment 1 Rafael Lima 2020-08-18 18:19:12 UTC
Created attachment 164424 [details]
Impress file where I experienced the bug
Comment 2 Rafael Lima 2021-03-29 20:36:45 UTC
Can anyone provide a code pointer for this bug? I don't know exactly where to look for this bug in the code.

It seems to be related to how LO positions the rectangle corresponding to the fill color, so maybe it might not be such a complicated fix. So I'd like to take a look and see if I can manage it.
Comment 3 Rafael Lima 2021-07-19 17:22:58 UTC
Created attachment 173682 [details]
New Sample file

Still present in LO Beta 7.2.

I attached a new example showing the problem.

System info:
Version: 7.2.0.1 / LibreOffice Community
Build ID: 32efc3b7f3a71cfa6a7fa3f6c208333df48656cc
CPU threads: 16; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded
Comment 4 Eleonora Govallo 2021-08-03 21:28:28 UTC
No repro in Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 1dd4a80fa076bedb3a82821517036bad8dd79857
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-07-26_22:41:19
Calc: threaded

Please upgrade your office to the latest version and try to reproduce bug.
Comment 5 Rafael Lima 2021-08-04 12:40:05 UTC
Created attachment 174068 [details]
ODG Point out the issue

I really wish I could find a LO version where this issue is "not repro" as you said. I have been struggling with this issue since always.

I attached 2 new files to clarify this bug. The first is an ODG image pointing out the problem and the second is the original ODP file with the problem.

These were both created using LO Impress built from source with the latest code:

Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: b85becd0d427c7375f1d8e6309f348304b6ebbac
CPU threads: 16; OS: Linux 5.11; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: CL

The issue is still present in LO 7.2 beta1 as well.
Comment 6 Rafael Lima 2021-08-04 12:41:54 UTC
Created attachment 174069 [details]
ODP File with Calc Table

This is the original ODP file used in the example above. It has a Calc table pasted as an OLE object into Impress.
Comment 7 Eleonora Govallo 2021-08-04 20:23:45 UTC
Thank you for clarification, now i see the problem.
Repro in Version: 7.3.0.0.alpha0+ / LibreOffice Community
Build ID: 1dd4a80fa076bedb3a82821517036bad8dd79857
CPU threads: 8; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: ru-RU (ru_RU.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-07-26_22:41:19
Calc: threaded
Comment 8 Rafael Lima 2021-12-06 22:44:11 UTC
This problem is still present in the latest LO 7.3 beta:

Version: 7.3.0.0.beta1 / LibreOffice Community
Build ID: 436f14c25ec1847646b953cf13d0db4f7ca3be57
CPU threads: 16; OS: Linux 5.13; UI render: default; VCL: kf5 (cairo+xcb)
Locale: pt-BR (pt_BR.UTF-8); UI: en-US
Calc: threaded