Summary: | Shadow is offset/clipped wrongly whenshape is a child of (text)shape | ||
---|---|---|---|
Product: | [Applications] calligracommon | Reporter: | swathi <swathi.vegesna999> |
Component: | flake | Assignee: | Calligra Bugs <calligra-bugs-null> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | cbo, t.zachmann |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | http://commits.kde.org/calligra/a656f812946c215fd6f2a4a1935dc7584a198e1d | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
Screenshot in MS Office
Screenshot in Calligra Words |
Description
swathi
2011-05-17 18:50:02 UTC
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. |