Bug 149927 - LibreImpress does not handle Gradient Fill properly from Powerpoint
Summary: LibreImpress does not handle Gradient Fill properly from Powerpoint
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
7.3.4.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: interoperability
Keywords: filter:pptx
Depends on:
Blocks: PPTX OOXML-support-crop-shape-regressions
  Show dependency treegraph
 
Reported: 2022-07-09 14:50 UTC by bessig
Modified: 2023-04-18 13:22 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments
Test File with Blue oevrlay on top of image. (2.76 MB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2022-07-09 14:51 UTC, bessig
Details
Left LibreOffice right PowerPoint (619.47 KB, image/png)
2022-07-09 22:09 UTC, Regina Henschel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bessig 2022-07-09 14:50:54 UTC
Description:
Take the example powerpoint that has a gradient fill over an image and open it in powerpoint and in impress.  In powerpoint the image will have a blue overlay.  In Impress the image will not have the overlay at all.

Actual Results:
There is no Blue overlay on top of image.

Expected Results:
Blue overlay should be on top of image.


Reproducible: Always


User Profile Reset: Yes



Additional Info:
Have parity with how it shows in powerpoint and have a blue overlay on top of the image.
Comment 1 bessig 2022-07-09 14:51:24 UTC
Created attachment 181194 [details]
Test File with Blue oevrlay on top of image.
Comment 2 Julien Nabet 2022-07-09 17:16:22 UTC
Could you attach a screenshot of what you get on Powerpoint so we can compare it more easily?
Comment 3 Regina Henschel 2022-07-09 22:09:31 UTC
Created attachment 181200 [details]
Left LibreOffice right PowerPoint

The import has two errors:
The image is imported as shape with image as background (because of the rounded corners) but the transparency of the image was not transferred to the shape.
The text shapes on the right side have got a background color, but they should have no background at all.

I have tested it with Version: 7.5.0.0.alpha0+ (x64) / LibreOffice Community
Build ID: d2dfc0c4286057f5d8dda178817de3503c3a7d29
CPU threads: 8; OS: Windows 10.0 Build 19043; UI render: Skia/Raster; VCL: win
Locale: de-DE (en_US); UI: en-US
Calc: CL
Comment 4 Faisal 2022-07-10 19:07:28 UTC
Can repro.

Version: 7.3.4.2 (x64) / LibreOffice Community
Build ID: 728fec16bd5f605073805c3c9e7c4212a0120dc5
CPU threads: 4; OS: Windows 10.0 Build 19044; UI render: Skia/Raster; VCL: win
Locale: en-GB (en_US); UI: en-GB
Calc: CL
Comment 5 Gabor Kelemen (allotropia) 2023-04-18 13:22:08 UTC
The current status started in 7.0 with:

https://git.libreoffice.org/core/+/f10861b24ab735a7659066071ff82763a054ce5c

author	Miklos Vajna <vmiklos@collabora.com>	Wed Jun 10 11:07:43 2020 +0200
committer	Miklos Vajna <vmiklos@collabora.com>	Mon Jun 15 09:53:05 2020 +0200

PPTX import: handle adjust values from both the shape and its placeholder

Before this opening the file crashed - from 6.3.
Since this commit the right side text boxes have the dark blue gradient bg color instead of transparent, and the ship image is in front of the blue rectangle on the left.

All this broke in 6.3 and opening the file started crashing with:

https://git.libreoffice.org/core/+/f4ba484183a1e7b9824f10580d633466c266828f

author	Tamas Bunth <tamas.bunth@collabora.co.uk>	Mon May 13 01:02:07 2019 +0200
committer	Tamás Bunth <btomi96@gmail.com>	Mon May 13 18:14:26 2019 +0200

ooxml import: supprt cropping to shape

Before this the right side text boxes had transparent bg, and the ship image was in the background of the blue gradient rectangle just like in PP.

In 6.2 the ship image was in front of the blue rectangle, so 6.3 contained more improvements.