Created attachment 60086 [details] Screenshot in MS Office Version: git checkout 9b502d5b387f86a73505d25675762f08c8caf824 (Using KDE 4.5.5) OS: Kubuntu 10.10 Test data is in MS word 2003 format which has picture with shadow in the 1st page. Open the same document in Calligra Words, check the shadow of the picture. Link to Test data: http://averyhurt.com/media-kit/BulletQandA.doc Expected outcome: Shadow of the picture should be displayed properly. Actual outcome: Shadow of the picture is displaying twice than the expected. Please check the screenshots attached. Frequency: Always.
Created attachment 60087 [details] Screenshot in Calligra Words
The shadow is no longer twice as big it it is at the wrong position and behaves strangely for the attached document. If I add a different image it works without problems
The clipped shadow happens as soon as the shape is anchored as character to the text.
Okay moving to text layout then. Idea: it may be becasue we use size or outline when determining the obstruction. and that that somehow doesn't include the shadow
Hmm it is probably more due to the fact that when anchored it is a child of the text shape. My guess is that it is this parenting that causes flake to mess up. Moving back
Git commit a656f812946c215fd6f2a4a1935dc7584a198e1d by C. Boemann. Committed on 21/04/2012 at 21:19. Pushed by boemann into branch 'master'. Fix shadows for both single shapes and shape group it also fixes if a shape is child of another shapecontainer There is some lingering bug with the default tool not using the bounding box correctly (which can be seen by rotating a shape group) Shadows for shape groups also don't work correctly through load/save/edit cycles, but that is not really related to this. M +5 -9 libs/flake/KoShapeGroup.cpp M +19 -30 libs/flake/KoShapeShadow.cpp http://commits.kde.org/calligra/a656f812946c215fd6f2a4a1935dc7584a198e1d
Verified in git commit ad0416095c417a8cfa55306ea8959ac0ef4460bb.