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).
Created attachment 164424 [details] Impress file where I experienced the bug
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.
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
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.
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.
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.
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
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
*** Bug 161517 has been marked as a duplicate of this bug. ***