Bug 105886 - FILEOPEN PPTX: list is duplicated
Summary: FILEOPEN PPTX: list is duplicated
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected)
4.1 all versions
Hardware: All All
: medium normal
Assignee: Not Assigned
Keywords: bibisected, bisected, filter:pptx, regression
: 81494 124915 124976 (view as bug list)
Depends on:
Blocks: PPTX
  Show dependency treegraph
Reported: 2017-02-09 16:07 UTC by Ofir
Modified: 2019-04-30 13:57 UTC (History)
7 users (show)

See Also:
Crash report or crash signature:

PPTX showing the issue (33.71 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2017-02-09 16:08 UTC, Ofir
PDF exported with PowerPoint 2013 showing the expected result (224.31 KB, application/pdf)
2017-02-09 16:08 UTC, Ofir

Note You need to log in before you can comment on or make changes to this bug.
Description Ofir 2017-02-09 16:07:28 UTC
The attached pptx has a text shape with a list. The first item has text. the Second item has an equation.
On Impress the shape is duplicated. The second shape has the text item.

Steps to Reproduce:
1. Open the attached pptx in Impress

Actual Results:  
The list appears twice.

Expected Results:
The list should appear once.

Reproducible: Always

User Profile Reset: No

Additional Info:
Tested with LibreOffice:

User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; Trident/7.0; rv:11.0) like Gecko
Comment 1 Ofir 2017-02-09 16:08:06 UTC
Created attachment 131045 [details]
PPTX showing the issue
Comment 2 Ofir 2017-02-09 16:08:34 UTC
Created attachment 131046 [details]
PDF exported with PowerPoint 2013 showing the expected result
Comment 3 Xisco Faulí 2017-02-09 16:25:19 UTC
Regression introduced by:

author	Armin Le Grand <alg@apache.org>	2012-05-10 09:29:55 (GMT)
committer	Caolán McNamara <caolanm@redhat.com>	2013-03-15 15:24:52 (GMT)
commit	c97aec0d2276901c20634abe53867f739f420f50 (patch)
tree	db775ba307edfffaa990a5d01361ae5c53c43f28
parent	d2cccde341af33b72378f3e7b0e8dd9ff1cd5e65 (diff)
Related: #i119125# change XFillBitmapItem to work with GraphicObject
Completely changed XFillBitmapItem to work with GraphicObject, removed XOBitmap
class, adapted all usages (also the pretty old 8x8 pixel editor).

All Bitmap fill styles will now accept transparent bitmaps as fillings in all
variations (tiled, etc.). LoadSave is no problem, ODF defines graphic as
content for fill.  Backward means that OOs before this change will use a white
background of fill with transparent, same as the fallback all the time when
using a transparent fill.

Adding Cc: to Armin Le Grand
Comment 4 Ofir 2017-02-13 14:07:03 UTC
The PPTX has <mc:AlternateContent> element with <mc:Choice> element and <mc:Fallback> element.

Instead of creating a single shape for <mc:Fallback>, Impress creates two shapes, one for <mc:Choice> and one for <mc:Fallback>.


<mc:AlternateContent xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006">
	<mc:Choice xmlns:a14="http://schemas.microsoft.com/office/drawing/2010/main" Requires="a14">
Comment 5 Xisco Faulí 2017-02-13 14:14:03 UTC
*** Bug 81494 has been marked as a duplicate of this bug. ***
Comment 6 QA Administrators 2018-10-22 02:50:06 UTC Comment hidden (obsolete)
Comment 7 Amr Ibrahim 2018-11-08 18:36:18 UTC
Still reproducible in
Build ID: 1:6.0.6-0ubuntu0.18.04.1
Comment 8 Buovjaga 2019-04-23 15:17:41 UTC
*** Bug 124915 has been marked as a duplicate of this bug. ***
Comment 9 Xisco Faulí 2019-04-30 07:07:34 UTC
*** Bug 124976 has been marked as a duplicate of this bug. ***
Comment 10 Xisco Faulí 2019-04-30 07:08:41 UTC
@Mark Hung, I thought you might be interested in this issue...