Summary: | Regression in drawing the shadow around document in Writer | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Jan Holesovsky <kendy> |
Component: | graphics stack | Assignee: | Caolán McNamara <caolan.mcnamara> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | caolan.mcnamara, thb |
Priority: | medium | ||
Version: | 4.2.0.0.alpha0+ Master | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | target:4.2.0 | ||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 65675 | ||
Attachments: |
Only the corner is right.
Once again, hopefully this time it will detect the type as .png :-) reverting just those restores the border |
Description
Jan Holesovsky
2013-06-19 08:38:58 UTC
The frame / shadow is being drawn using SwPageFrm::PaintBorderAndShadow() in sw/source/core/layout/paintfrm.cxx. Created attachment 81053 [details]
Once again, hopefully this time it will detect the type as .png :-)
regression in 1c2ab8f7871e5b29f5c0025edfdd2ef9e1f795fa..e08407052f556c981e533f532815125769212685 range apparently Its the changes with http://cgit.freedesktop.org/libreoffice/core/commit/?id=45a8eaf9c55f2686f69118641d8a8992a86dfe31 of the Cropping values in drawinglayer/source/primitive2d/discreteshadowprimitive2d.cxx which triggers this Created attachment 84523 [details]
reverting just those restores the border
purely experimental to demo the problem trigger at this point
caolanm->tbehrens: Any thoughts on which direction to go here. Change these cropping numbers or change page-shadow-mask.png (where presumably shifting things around a few pixels for the new numbers would do the right thing). In the absence of a clear direction I'll look into tweaking the png :-) Caolan McNamara committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=741c430f6c7e289543f1f73ce6568e1f07a7ea48 Resolves: fdo#65924 retweak the border positions The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback. good enough I hope |