Bug 154858 - FILEOPEN PPTX Radial gradient in grouped shape is imported as Linear
Summary: FILEOPEN PPTX Radial gradient in grouped shape is imported as Linear
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: bibisected, bisected, regression
Depends on:
Blocks: Object-Fill-Gradient
  Show dependency treegraph
 
Reported: 2023-04-17 12:35 UTC by Gabor Kelemen (allotropia)
Modified: 2023-05-06 14:06 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Example file from PP (34.81 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2023-04-17 12:35 UTC, Gabor Kelemen (allotropia)
Details
Screenshot of the file in PP and Impress master (167.42 KB, image/png)
2023-04-17 12:39 UTC, Gabor Kelemen (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gabor Kelemen (allotropia) 2023-04-17 12:35:04 UTC
Created attachment 186724 [details]
Example file from PP

This is split form bug 123223 and minimized from its example file attachment 148976 [details]

Attached file contains a grouped shape with the upper ellipse shape having a Radial fill with a From Center preset and 3 gradient steps.

When opened in Impress, the fill is Linear with 225 degrees and looks completely different than in PP.

1. Open attached file
-> the upper ellipse has a linear gradient fill instead of radial if LO is run with MCGR_TEST=0 

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 19ecb4a390bc0bc6dad6688cdc2b70a8d05bcde2
CPU threads: 14; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded

This changed in 7.0 to the current state, with:

https://git.libreoffice.org/core/+/898e4ae1364e76af8be22183ac64d73b6a6d8d90

author	Balazs Varga <balazs.varga991@gmail.com>	Tue May 05 16:58:23 2020 +0200
committer	László Németh <nemeth@numbertext.org>	Tue May 12 16:50:45 2020 +0200

tdf#128794 Chart: Fix OOXML import/export of Radial gradient

It was Ellipsoid instead of Radial before, so not perfect either.
Comment 1 Gabor Kelemen (allotropia) 2023-04-17 12:39:45 UTC
Created attachment 186726 [details]
Screenshot of the file in PP and Impress master

Note that this became visible with recent MCGR work, before it was a solid green fill, but the sidebar/area dialog has shown the settings.
Comment 2 Roman Kuznetsov 2023-05-06 14:06:45 UTC
confirm in

Version: 7.6.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 69d0be09ad81935f7da4b6f8d036c3562357d068
CPU threads: 16; OS: Windows 10.0 Build 19045; UI render: Skia/Raster; VCL: win
Locale: ru-RU (ru_RU); UI: ru-RU
Calc: CL threaded