Bug 156400

Summary: FILEOPEN PPTX: rogue image element appears (in presentation mode only)
Product: LibreOffice Reporter: Gerald Pfeifer <gerald>
Component: graphics stackAssignee: Balázs Varga (allotropia) <balazs.varga991>
Status: VERIFIED FIXED    
Severity: normal CC: aron.budea, kelemeng, mikekaganski, samuel.mehrbrodt, stephane.guillou
Priority: medium Keywords: regression
Version: 3.5.0 release   
Hardware: All   
OS: All   
See Also: https://bugs.documentfoundation.org/show_bug.cgi?id=107376
https://bugs.documentfoundation.org/show_bug.cgi?id=140912
https://bugs.documentfoundation.org/show_bug.cgi?id=158773
https://bugs.documentfoundation.org/show_bug.cgi?id=159258
Whiteboard:
Crash report or crash signature: Regression By:
Bug Depends on:    
Bug Blocks: 139898    
Attachments: Sample slide (PPTX)
Screenshot in presentation mode - LibreOffice 24.2

Description Gerald Pfeifer 2023-07-20 11:09:37 UTC
Created attachment 188496 [details]
Sample slide (PPTX)

How to reproduce:

 - Open sample document.
 - Note how it looks.
 - Invoke presentation mode.
 - Observe that an image (of a bottle) appears in the lower right quadrant.

PowerPoint (online) does not show that image, neither in edit mode nor
in presentation mode.


Seens in Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 77fca616e0bd79e0b405fd0b3543cf8e94e15df3
CPU threads: 8; OS: Linux 6.4; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US

and all the way back to 6.4.8.0.0 at least.
Comment 1 Gerald Pfeifer 2023-07-20 11:10:23 UTC
Created attachment 188497 [details]
Screenshot in presentation mode - LibreOffice 24.2
Comment 2 Gabor Kelemen (allotropia) 2023-07-20 17:13:37 UTC
Confirming in 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 6256d5fe2e7cb1bb002d5fe59527d3a3fbf6963f
CPU threads: 15; OS: Windows 10.0 Build 19045; UI render: default; VCL: win
Locale: hu-HU (hu_HU); UI: en-US
Calc: threaded

The right side of the slide contains an image placeholder. The stray image is behind this.
In PP the image placholder is shown in presentation mode, but not in Impress, so the image behind it becomes visible.
This is similar to the example file in bug 140912 - although there the image placeholder IS displayed in presentation mode of Impress.
Comment 3 Samuel Mehrbrodt (allotropia) 2023-09-04 07:34:13 UTC Comment hidden (obsolete)
Comment 4 Samuel Mehrbrodt (allotropia) 2023-09-04 07:34:56 UTC
Probably a duplicate of bug 140912.
Comment 5 Gerald Pfeifer 2024-01-21 15:34:46 UTC
(In reply to Samuel Mehrbrodt (allotropia) from comment #4)
> Probably a duplicate of bug 140912.

It looks like this still happens even with bug #140912 fixed:

  Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
  Build ID: 73bd04a71e741788a2f2f3b26cc46ddb6a361372
  CPU threads: 12; OS: Linux 6.6; UI render: default; VCL: gtk3
  Locale: en-US (en_US.UTF-8); UI: en-US
Comment 6 Gabor Kelemen (allotropia) 2024-01-22 08:36:00 UTC Comment hidden (obsolete)
Comment 7 Stéphane Guillou (stragu) 2024-02-27 02:37:43 UTC
Testing with linux-64-releases, I had to skip a few versions (because of libpng12.so.0) and it could have started at any stage between:

build [17cbb2ce32a1c75418e0cc10a2a146576a1eb7ee] libreoffice-3.5.6rc2

and
 
build [f8782458d3ba33ae31943025d61461580a26303b] libreoffice-3.6.5.2

...if anyone is able to bibisect that with 43all.
Comment 8 Stéphane Guillou (stragu) 2024-02-27 03:14:56 UTC
(In reply to Stéphane Guillou (stragu) from comment #7)
> it could have started at any stage between:
> 
> build [17cbb2ce32a1c75418e0cc10a2a146576a1eb7ee] libreoffice-3.5.6rc2
> 
> and
>  
> build [f8782458d3ba33ae31943025d61461580a26303b] libreoffice-3.6.5.2
Actually, could get libpng12 going on Ubuntu 22.04 [1], and that range about is wrong. Previous versions also needed skipping.

First version affected is libreoffice-3.5.0rc3 for that repo.

[1]: https://wiki.documentfoundation.org/QA/Bibisect/Linux#Setting_up_Environment
Comment 9 Gerald Pfeifer 2024-03-26 12:16:14 UTC
It appears this was fixed by the fixes in bug #159258, see comment #5
there and comment #8 and comment #9.

Balázs, do you want to close it?
Comment 10 Balázs Varga (allotropia) 2024-03-27 13:12:15 UTC
(In reply to Gerald Pfeifer from comment #9)
> It appears this was fixed by the fixes in bug #159258, see comment #5
> there and comment #8 and comment #9.
> 
> Balázs, do you want to close it?

Ohh yeah, I forget to close it. Thanks for the reminder. :)
Comment 11 Gerald Pfeifer 2024-03-27 15:10:28 UTC
Verified with Version: 24.8.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 24aed4f9a5f6351d9153c96e3d1d1aa68028c0d0
CPU threads: 12; OS: Linux 6.8; UI render: default; VCL: gtk3
Locale: en-US (en_US.UTF-8); UI: en-US

Thank you!