Bug 285577

Summary: Picture not displayed when shape is rectangle
Product: [Applications] calligracommon Reporter: LukasT <lukast.dev>
Component: filtersAssignee: LukasT <lukast.dev>
Status: RESOLVED FIXED    
Severity: normal CC: matus.uzak
Priority: NOR    
Version: 2.4-snapshots   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Rectangle shape as picture
Excel version
Word 2003 version
Patch to be tested with cstester

Description LukasT 2011-11-02 17:08:35 UTC
Version:           2.4-snapshots (using KDE 4.7.3) 
OS:                Linux

Some documents contains rectangles instead of pictures.

See attached documents in Powerpoint 2003, Excel 2003 and Word 2003.

Reproducible: Didn't try

Steps to Reproduce:
1. Open the file in calligrastage, calligratables and calligrawords.


Actual Results:  
Picture is missing.

Expected Results:  
Picture should be displayed.

I have patch for this bug, I will refer to this bug later.
Comment 1 LukasT 2011-11-02 17:11:44 UTC
Created attachment 65166 [details]
Rectangle shape as picture
Comment 2 LukasT 2011-11-02 17:12:44 UTC
Created attachment 65167 [details]
Excel version
Comment 3 LukasT 2011-11-02 17:13:04 UTC
Created attachment 65168 [details]
Word 2003 version
Comment 4 LukasT 2011-11-02 17:14:58 UTC
Created attachment 65169 [details]
Patch to be tested with cstester
Comment 5 LukasT 2011-11-03 13:39:52 UTC
Git commit 4f46c09ccf52cd0853e519aee13096bb0ba369fa by Lukáš Tvrdý.
Committed on 03/11/2011 at 14:37.
Pushed by lukast into branch 'master'.

Some rectangle shapes are picture frames in disguise

Tested with cstester, no regressions found, only positive changes

BUG:285577

M  +15   -9    filters/libmso/shapes.cpp

http://commits.kde.org/calligra/4f46c09ccf52cd0853e519aee13096bb0ba369fa