Bug 134209 - FILEOPEN PPTX: Image shown as color instead of black&white
Summary: FILEOPEN PPTX: Image shown as color instead of black&white
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
6.2.5.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard: target:7.2.0 target:7.1.2
Keywords: bibisected, bisected, regression
Depends on:
Blocks: OOXML-support-crop-shape-regressions PPTX-Images
  Show dependency treegraph
 
Reported: 2020-06-21 21:43 UTC by Gerald Pfeifer
Modified: 2021-02-16 15:21 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Attachments
Sample slides (PPTX) (271.06 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2020-06-21 21:43 UTC, Gerald Pfeifer
Details
How it looks in LibreOffice (416.52 KB, image/png)
2020-06-21 21:43 UTC, Gerald Pfeifer
Details
How it looks like in 365 (194.71 KB, image/png)
2020-06-21 21:44 UTC, Gerald Pfeifer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gerald Pfeifer 2020-06-21 21:43:16 UTC
Created attachment 162273 [details]
Sample slides (PPTX)

This is an unexpected one: Office 365 shows the images on these two slides
in black and white and Impress shows them in color.  (Yes, the bug is that
color is shown, not that it disappears.)

Version: 7.1.0.0.alpha0+
Build ID: a3c8ea5e644ca2fc04de9f01ba9f8ace47f520f0
CPU threads: 4; OS: Linux 5.6; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-06-17_02:21:20
Calc: threaded
Comment 1 Gerald Pfeifer 2020-06-21 21:43:56 UTC
Created attachment 162274 [details]
How it looks in LibreOffice
Comment 2 Gerald Pfeifer 2020-06-21 21:44:28 UTC
Created attachment 162276 [details]
How it looks like in 365
Comment 3 MM 2020-06-21 22:19:57 UTC
Confirmed on mint 19.3 with Version: 7.1.0.0.alpha0+
Build ID: 20ba8d8d9f4fcf7d5826fcb3366a9bff0d6a8ca1
CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2020-06-10_07:16:41
Calc: threaded

and

Version: 6.5.0.0.alpha0+
Build ID: f6cf80c81043d84606a5b5f7d93ae958307a16d3
CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: gtk3; 
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2019-12-22_08:24:32
Locale: en-US (en_US.UTF-8); UI-Language: en-US
Calc: threaded


Unconfirmed with Version: 6.0.7.3
Build ID: 1:6.0.7-0ubuntu0.18.04.10
CPU threads: 4; OS: Linux 5.3; UI render: default; VCL: gtk3; 
Locale: en-US (en_US.UTF-8); Calc
Comment 4 Attila Baraksó (NISZ) 2020-06-22 19:49:26 UTC
Bibisected using linux-64-6.2 to:
URL: https://cgit.freedesktop.org/libreoffice/core/commit/?id=8af919d30f0f17a17ee6f5190bb31652476a52df
author: Tamas Bunth <tamas.bunth@collabora.co.uk>
committer: Miklos Vajna <vmiklos@collabora.com>
summary: ooxml import: supprt cropping to shape

Adding CC: Tamas Bunth
Comment 5 Aron Budea 2020-10-26 00:42:39 UTC
(In reply to Attila Baraksó (NISZ) from comment #4)
> Bibisected using linux-64-6.2 to:
> URL:
> https://cgit.freedesktop.org/libreoffice/core/commit/
> ?id=8af919d30f0f17a17ee6f5190bb31652476a52df
Same change in master (6.3):

https://cgit.freedesktop.org/libreoffice/core/commit/?id=f4ba484183a1e7b9824f10580d633466c266828f
author		Tamas Bunth <tamas.bunth@collabora.co.uk>	2019-05-13 01:02:07 +0200
committer	Tamás Bunth <btomi96@gmail.com>	2019-05-13 18:14:26 +0200

ooxml import: supprt cropping to shape
Comment 6 Gerald Pfeifer 2020-10-26 19:36:45 UTC
Hi Miklos, this is a sister of bug 128877, another regression triggered
by the same commit by Tamas Bunth.

Any chance you could have a look at this, too?
Comment 7 Xisco Faulí 2021-01-20 08:41:52 UTC
Still reproducible in

Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 4e1294b7d6f8de981147f15d4ca1b4e4853249eb
CPU threads: 4; OS: Linux 5.7; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
Calc: threaded
Comment 8 Gerald Pfeifer 2021-02-16 13:40:51 UTC
This has been fixed by

https://git.libreoffice.org/core/commit/b7189e1a9aef85ac2e3423cc4c136d97ebf0a58b

tdf#134210 Handle greyscale effect on bitmap filled custom shapes.


Verified with Version: 7.2.0.0.alpha0+ / LibreOffice Community
Build ID: 41cffc379259fec626a282ca243a9750d96d1c63
CPU threads: 8; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US
TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-02-15_20:07:52