Bug 271835

Summary: Autoshape smiley is not displaying.
Product: [Applications] calligrastage Reporter: swathi <swathi.vegesna999>
Component: opendocumentAssignee: T Zachmann <t.zachmann>
Status: VERIFIED FIXED    
Severity: normal CC: lukast.dev
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Test data
Screenshot in Open Office
Screenshot in Calligra Stage

Description swathi 2011-04-27 13:02:38 UTC
Created attachment 59358 [details]
Test data

Version: git text-layoutrestructure-boemann branch
         (Using KDE 4.5.5)                
     OS: Kubuntu 10.10
Test data is in ODP format which has autoshapes smiley in it.
Open the same document in Calligra Stage and check the display of the smiley.

Expected outcome:
Smileys should be displayed.

Actual outcome:
Smileys are not displaying.
Please check the screenshots attached.

Frequency:
Always.
Comment 1 swathi 2011-04-27 13:05:16 UTC
Created attachment 59359 [details]
Screenshot in Open Office
Comment 2 swathi 2011-04-27 13:05:58 UTC
Created attachment 59360 [details]
Screenshot in Calligra Stage
Comment 3 LukasT 2011-07-20 11:05:29 UTC
The problem here is U command,
here is pending discussion about what will be done
http://lists.oasis-open.org/archives/office/201107/msg00032.html

a) KoOdfWorkaround has to be done if OOo implements the spec wrong
b) fix our engine to evaluate U and T command correctly in case we implement the spec wrong
Comment 4 LukasT 2011-07-26 08:41:06 UTC
Git commit 3de4d0265d706a17912b278cecdf27c33c79fd66 by Lukáš Tvrdý.
Committed on 26/07/2011 at 10:12.
Pushed by lukast into branch 'master'.

For T,U command the w and h is actually rx, ry

Will be more clear in the ODF specification very soon.

Fixes smiley shape, small ellipses, ring, flow-or,
flowchart-summing-junction, flowchart-connector..

CCBUG:277540
CCBUG:271835

M  +1    -1    plugins/pathshapes/enhancedpath/EnhancedPathCommand.cpp

http://commits.kde.org/calligra/3de4d0265d706a17912b278cecdf27c33c79fd66
Comment 5 LukasT 2011-07-28 08:43:47 UTC
Smiley is displayed.
Comment 6 swathi 2011-08-18 09:13:33 UTC
Verified in ef7c0d057c1c2132df28423aa58689549f46d39d.