Bug 103474 - FORMATTING: bracket shape not shown correctly
Summary: FORMATTING: bracket shape not shown correctly
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected) release
Hardware: All All
: medium normal
Assignee: Not Assigned
Whiteboard: interoperability
Keywords: bibisected, filter:pptx, regression
Depends on:
Blocks: OOXML-Shapes PPTX
  Show dependency treegraph
Reported: 2016-10-24 17:56 UTC by internationils
Modified: 2019-03-10 21:06 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:

PPTX2010 file (62.80 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2016-10-24 17:56 UTC, internationils
PPTX2010 correct element (18.54 KB, image/png)
2016-10-24 17:56 UTC, internationils
LO5 bad element rendering (10.04 KB, image/png)
2016-10-24 17:57 UTC, internationils
Another sample (29.04 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2017-08-24 00:13 UTC, Aron Budea

Note You need to log in before you can comment on or make changes to this bug.
Description internationils 2016-10-24 17:56:31 UTC
Created attachment 128214 [details]
PPTX2010 file

A bracket is not correct. It seems to be transformed into a line from the top-left corner to the bottom-right corner.
Comment 1 internationils 2016-10-24 17:56:54 UTC
Created attachment 128215 [details]
PPTX2010 correct element
Comment 2 internationils 2016-10-24 17:57:19 UTC
Created attachment 128216 [details]
LO5 bad element rendering
Comment 3 Yousuf Philips (jay) (retired) 2016-10-24 18:23:51 UTC

Regression as it works correctly in 3.4.6.

Build ID: 928776b734c6aa188151bbce048d5bef4486dce7
CPU Threads: 2; OS Version: Linux 3.19; UI Render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-10-23_00:39:08
Locale: en-US (en_US.UTF-8); Calc: group
Comment 4 internationils 2016-11-29 16:24:37 UTC
Added a block on Impress-Images ... feel free to remove (or assign to other meta bugs) if brackets are not considered images.
Comment 5 Yousuf Philips (jay) (retired) 2017-05-02 23:44:24 UTC
(In reply to internationils from comment #4)
> Added a block on Impress-Images ... feel free to remove (or assign to other
> meta bugs) if brackets are not considered images.

Yes not images.

@Xisco, @Aron: Got time for a bibisect?
Comment 7 Aron Budea 2017-08-24 00:13:56 UTC
Created attachment 135756 [details]
Another sample

It seems the extreme curve setting is what isn't handled correctly. See attached sample with two brackets and nothing else, the rounded bracket displays fine, while the rectangular bracket doesn't.

Looks like the regession is from one of the commits by Radek Doulik in the bibisected range.
The relevant code is probably here (leftBracker / rightBracket):
Comment 8 QA Administrators 2018-10-22 02:48:42 UTC Comment hidden (obsolete)
Comment 9 internationils 2018-10-22 06:23:16 UTC
Hello, nothings changed, still present.

Build ID: 1:6.0.6-0ubuntu0.18.04.1
CPU threads: 4; OS: Linux 4.15; UI render: default; VCL: kde4; 
Locale: en-US (en_US.UTF-8); Calc: group
Comment 10 internationils 2018-10-22 06:25:40 UTC
Since this is a regression (see the analysis from Aron above) and the relevant code has been identified, can someone please look at this?
Issues like this are preventing LO from being used as a drop-in presentation tool for PPT files, and this is not helping adoption / migration from the MS Suite...