Bug 113618 - Cell background color is offset to top-left when copied from CALC to DRAW as metafile
Summary: Cell background color is offset to top-left when copied from CALC to DRAW as ...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Draw (show other bugs)
Version:
(earliest affected)
5.1.6.2 release
Hardware: All All
: medium trivial
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: Paste-Special
  Show dependency treegraph
 
Reported: 2017-11-03 07:41 UTC by syriusamis+libreoffice
Modified: 2023-05-25 04:01 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 syriusamis+libreoffice 2017-11-03 07:41:56 UTC
Description:
When cells with background color are copied from CALC to DRAW as GDI Metafile the cell background color is not in the right position, rather offset to the top-left by a few pixels.

Tested on multiple versions on multiple PCs:
5.1.6.2
5.4.3.1
6.0.0.0 alpha1+

Steps to Reproduce:
1. (CALC) Create a few neighboring cells with different background colors
2. (CALC) Set borders on all sides for these cells for better visibility
3. (CALC) Copy these cells to clipboard
4. (DRAW) Use Paste special / GDI Metafile to insert cells
5. (DRAW) Zoom in and inspect the borders and background colors not matching

Actual Results:  
Background color is offset to border by few pixels

Expected Results:
Background color matches borders


Reproducible: Always


User Profile Reset: No



Additional Info:


User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36
Comment 1 Mike Kaganski 2017-11-03 07:48:20 UTC
Confirmed with Version: 6.0.0.0.alpha1+ (x64)
Build ID: b03fe77699b1ad30a9441bd9b283f25579ac261e
CPU threads: 4; OS: Windows 10.0; UI render: GL; 
Locale: en-US (ru_RU); Calc: CL
Comment 2 QA Administrators 2018-11-04 03:58:02 UTC Comment hidden (obsolete)
Comment 3 Roman Kuznetsov 2018-11-04 12:54:43 UTC
still repro in

Version: 6.2.0.0.alpha1+
Build ID: 726c18db3215ec74135f51365322a6b531f328af
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2018-11-03_19:38:55
Locale: ru-RU (ru_RU.UTF-8); Calc: threaded
Comment 4 Johnny_M 2019-08-11 12:08:55 UTC
This is reproducible in Writer as well and looks like a duplicate of the bug 99953.
Comment 5 QA Administrators 2021-08-11 03:57:54 UTC Comment hidden (obsolete)
Comment 6 syriusamis+libreoffice 2021-08-11 05:23:38 UTC
This bug is still present in 7.1.5.2

#99953 indicates that this is more of a core functionality problem rather than an isolated bug.

Version: 7.1.5.2 / LibreOffice Community
Build ID: 85f04e9f809797b8199d13c421bd8a2b025d52b5
CPU threads: 24; OS: Linux 5.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: CL
Comment 7 Diana Vides 2023-05-25 04:01:22 UTC
Bug still present in version 7.5.2.2 and 7.6.0.0.alpha1+ 


 Version: 7.5.2.2 (X86_64) / LibreOffice Community
Build ID: 53bb9681a964705cf672590721dbc85eb4d0c3a2
CPU threads: 6; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: es-ES (en_US); UI: en-US
Calc: threaded



Version: 7.6.0.0.alpha1+ (X86_64) / LibreOffice Community
Build ID: f4c24da1e7f11664e0d2f688d2531f068e4a3bc0
CPU threads: 6; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: en-US (en_US); UI: en-US
Calc: CL threaded