Bug 107376 - Displaying false preview when using pptx files.
Summary: Displaying false preview when using pptx files.
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
3.6.0.4 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: bibisected, filter:pptx, regression
Depends on:
Blocks: Slide-Page-Pane PPTX-MasterSlide
  Show dependency treegraph
 
Reported: 2017-04-24 07:39 UTC by Philipp Petschner
Modified: 2023-09-08 12:08 UTC (History)
8 users (show)

See Also:
Crash report or crash signature:


Attachments
Screenshots and Testfiles (6.58 MB, application/zip)
2017-05-22 06:09 UTC, Philipp Petschner
Details
minimalist example (371.24 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2017-05-23 21:49 UTC, Xisco Faulí
Details
danfoss-4_3_template.potx (398.99 KB, application/vnd.openxmlformats-officedocument.presentationml.template)
2023-08-31 10:45 UTC, Samuel Mehrbrodt (allotropia)
Details
MarCom SER - Aug. 2016.pptx (4.60 MB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2023-08-31 10:46 UTC, Samuel Mehrbrodt (allotropia)
Details
Rapid migration problems.pptx (391.87 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2023-08-31 10:46 UTC, Samuel Mehrbrodt (allotropia)
Details
DAM_BugPowerpointPreview.pdf (286.87 KB, application/pdf)
2023-08-31 10:46 UTC, Samuel Mehrbrodt (allotropia)
Details
POTX_BUG.jpg (277.41 KB, image/jpeg)
2023-08-31 10:47 UTC, Samuel Mehrbrodt (allotropia)
Details
POTX_BUG_Powerpoint.jpg (261.13 KB, image/jpeg)
2023-08-31 10:47 UTC, Samuel Mehrbrodt (allotropia)
Details
PPTX_Gradient_Background_BUG.jpg (253.97 KB, image/jpeg)
2023-08-31 10:47 UTC, Samuel Mehrbrodt (allotropia)
Details
PPTX_Gradient_Background_BUG_Powerpoint.jpg (305.69 KB, image/jpeg)
2023-08-31 10:48 UTC, Samuel Mehrbrodt (allotropia)
Details
PPTX_HeaderPreview_BUG.jpg (334.54 KB, image/jpeg)
2023-08-31 10:49 UTC, Samuel Mehrbrodt (allotropia)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Philipp Petschner 2017-04-24 07:39:52 UTC
Description:
There are the same problems when using the Libreoffice program or Libreoffice as command line. Libreoffice displays false previews in the sidebar on the left. This is the same false preview as the command line conversion to pdf does. For example: gradient from powerpoint is not shown, headers / logos are not visible at all.

Steps to Reproduce:
1.open the pptx file and compare it to powerpoint (false preview is shown in the left sidebar.
2.use libreoffice as command line and convert the pptx file to pdf

soffice.exe --headless --convert-to pdf originalFileRef

(or open the file with libreoffice and take a look at the previews in the left sidebar)

Actual Results:  
false previews: headers are missing, gradients missing, ...

Expected Results:
same result as powerpoint shows. (The headers are actually shown in the big view but not in the small preview)


Reproducible: Always

User Profile Reset: No

Additional Info:
I would be happy to send you some example files. And show you the problem in detail.
https://damtest.danfoss.com/pinaccess/showpin.do?pinCode=Pii4EdafAFWy
https://damtest.danfoss.com/pinaccess/showpin.do?pinCode=y3wadmkUhE2G



User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/57.0.2987.133 Safari/537.36
Comment 1 Johnny_M 2017-05-21 13:48:04 UTC
Could you please provide following:
- attach test files and issue screenshots to this bug report
- copy and paste the content of the Help -> About window here (containing version, build ID, etc.)

Please then set the bug status back to UNCONFIRMED (it will be set to "NEW" when independently confirmed by someone, not by the bug submitter).
Comment 2 Philipp Petschner 2017-05-22 06:09:37 UTC
Created attachment 133447 [details]
Screenshots and Testfiles

Version: 5.2.6.2 (x64)
Build ID: a3100ed2409ebf1c212f5048fbe377c281438fdc
CPU Threads: 4; OS Version: Windows 6.19; UI Render: default; 
Locale: de-AT (de_AT); Calc: group
Comment 3 Xisco Faulí 2017-05-23 21:49:49 UTC
Created attachment 133497 [details]
minimalist example
Comment 4 Xisco Faulí 2017-05-23 21:52:36 UTC
Confirmed in

- Version: 5.4.0.0.alpha1+
Build ID: 74d2e606fd3605fe0a585f596eaa215ae4e20d18
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk2; 
Locale: en-US (ca_ES.UTF-8); Calc: group

- Version: 4.3.0.0.alpha1+
Build ID: c15927f20d4727c3b8de68497b6949e72f9e6e9e

- Version 4.1.0.0.alpha0+ (Build ID: efca6f15609322f62a35619619a6d5fe5c9bd5a)

but not in

- LibreOffice 3.3.0 
OOO330m19 (Build:6)
tag libreoffice-3.3.0.4
Comment 5 Buovjaga 2018-05-23 16:19:26 UTC Comment hidden (obsolete)
Comment 6 Buovjaga 2018-07-05 17:17:42 UTC
Tried bibisecting on Linux with 43all, but unfortunately ran into a lot of
terminate called after throwing an instance of 'com::sun::star::uno::DeploymentException'

so had to skip far too many times for the result to be useful.

The problem is between last36onmaster and last35onmaster

Maybe someone wants to try and confirm if they get the launch error as well?
Comment 7 Buovjaga 2018-07-05 17:25:58 UTC
(In reply to Buovjaga from comment #6)
> Tried bibisecting on Linux with 43all, but unfortunately ran into a lot of
> terminate called after throwing an instance of
> 'com::sun::star::uno::DeploymentException'

Urgh, never mind: https://wiki.documentfoundation.org/QA/Bibisect#Unable_to_start_soffice

I tried again and the range is https://cgit.freedesktop.org/libreoffice/core/log/?qt=range&q=c77918bb03974ff9be90c889f77e62ea0755052f...877c96a601e6e50d0c7a8f704d57baec22f089c5
Comment 8 QA Administrators 2019-07-06 02:47:19 UTC Comment hidden (obsolete)
Comment 9 Philipp Petschner 2019-07-08 08:01:08 UTC
Hi,

thanks for getting back to me.

The bug is still present in the current version of Libreoffice:


Version: 6.2.5.2 (x64)
Build ID: 1ec314fa52f458adc18c4f025c545a4e8b22c159
CPU threads: 8; OS: Windows 10.0; UI render: default; VCL: win; 
Locale: en-US (en_AT); UI-Language: en-US
Calc: threaded

It can be still be replicated with the original sample files and all issues appear to be the same as with older Libreoffice Versions.


best,
Philipp
Comment 10 QA Administrators 2023-01-26 03:23:20 UTC Comment hidden (obsolete)
Comment 11 Samuel Mehrbrodt (allotropia) 2023-08-31 10:45:48 UTC
Created attachment 189278 [details]
danfoss-4_3_template.potx
Comment 12 Samuel Mehrbrodt (allotropia) 2023-08-31 10:46:17 UTC
Created attachment 189279 [details]
MarCom SER - Aug. 2016.pptx
Comment 13 Samuel Mehrbrodt (allotropia) 2023-08-31 10:46:31 UTC
Created attachment 189280 [details]
Rapid migration problems.pptx
Comment 14 Samuel Mehrbrodt (allotropia) 2023-08-31 10:46:52 UTC
Created attachment 189281 [details]
DAM_BugPowerpointPreview.pdf
Comment 15 Samuel Mehrbrodt (allotropia) 2023-08-31 10:47:18 UTC
Created attachment 189282 [details]
POTX_BUG.jpg
Comment 16 Samuel Mehrbrodt (allotropia) 2023-08-31 10:47:35 UTC
Created attachment 189283 [details]
POTX_BUG_Powerpoint.jpg
Comment 17 Samuel Mehrbrodt (allotropia) 2023-08-31 10:47:56 UTC
Created attachment 189284 [details]
PPTX_Gradient_Background_BUG.jpg
Comment 18 Samuel Mehrbrodt (allotropia) 2023-08-31 10:48:17 UTC
Created attachment 189285 [details]
PPTX_Gradient_Background_BUG_Powerpoint.jpg
Comment 19 Samuel Mehrbrodt (allotropia) 2023-08-31 10:49:22 UTC
Created attachment 189286 [details]
PPTX_HeaderPreview_BUG.jpg

Uploaded the files from attachment 133447 [details] individually - for easier access, and so that they can be included in crashtesting.
Comment 20 Samuel Mehrbrodt (allotropia) 2023-08-31 10:49:58 UTC
All problems look solved in 

Version: 24.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 4aa8fea8ac515e55bf3542e2717a3d85f1354054
CPU threads: 8; OS: Linux 6.2; UI render: default; VCL: gtk3
Locale: de-DE (de_DE.UTF-8); UI: en-US
Calc: CL threaded
Comment 21 Gabor Kelemen (allotropia) 2023-09-08 12:08:31 UTC
Seems to work since

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

author	Szymon Kłos <szymon.klos@collabora.com>	Thu Jul 27 08:43:59 2023 +0200
committer	Szymon Kłos <szymon.klos@collabora.com>	Fri Aug 04 10:17:25 2023 +0200

pptx: import shape text from master page

There is still an extra "click here to insert image" placeholder visible in the presentation view, that's bug 140912.