Apache OpenOffice (AOO) Bugzilla – Issue 121296
Too big Gradient Border calculated in Slideshow mode
Last modified: 2017-05-20 10:45:04 UTC
Created attachment 79842 [details] rectangle, metafile, rotated metafile Open the attached file. It contains a rectangle (left) with 45° square gradient, centered to x=50% and y=50%, and border 50%. The upper one has step automatic, the lower one step 8. That rectangle has been converted to a metafile (middle) and that metafile has been rotated (right). Notice the different borders in presentation mode (and also in print to image). I use a r1403730 for testing.
"pfg" committed SVN revision 1423272 into trunk: i121296 - Python3 support for pyuno.
The commit above was obviously for issue 121496.
Created attachment 80722 [details] Screenshot Comparision with comments Reproducible with server installation of "AOO 4.0.0-Dev – English UI / German locale [AOO400m1(Build:9700) - Rev. 1484333 Rev.1483903 (2013-05-20)]" on WIN7 Home Premium (64bit)", own separate user profile. In Slideshow gradient border looks like 65%, not like 50% for unrotatd rectangles. Strange that the problem disappears for rotated rectangles.
Until 3.4.1 there was a Bug so that gradient was not rotated with right column rectangles for Slideshow mode. But 3.4.1 did not show the problem reported here. Might be this bug here has been introduced with the fix for that AOO 3.4 Bug?
ALG: Problem is that slideshow uses it's own rendering/interpretation of gradients (and all other stuff) and not primitives (it is based on metafile information). Despite that a quick fix may be possible with some work, a better long-term solution is to base slideshow on prmitives in a future step. Even the colors are different, sigh...
ALG: Grepping as a reminder
ALG: Visible since AOO40 compared to AOO34 is capable of rotating gradients in metafiles (what is a fix and correct). Slideshow has no idea about that, but - if AOO34 would have already been able to rotate gradients in metafile graphic objects - it would have been the same. Thus, not really a regression, but needs to be supported in slideshow, too.
ALG: Just checked AOO341 and the gradient is only rotated with the graphic object containing the metafile in the edit view (not in print, not in slideshow, not in PDF export). Re-checking with AOO340 version, it's exactly the same. Re-checking with AOO400 version, rotation is kept in all views. Editview: all correct Presentation: left-bottom and middle too small, left-top and right correct Print: left and middle too small, right ones correct PDF: Same as print; left and middle too small, right ones correct This was handled in #121185# and fixed for gradients as part of metafiles in GraphicObjects, in AOO400 all rotated correct (right correct). Thus, #121185# works okay, but the non-rotated are wrong. Need to check that deeper...
ALG: Grepping to keep in sight
Reset the assignee to the default "issues@openoffice.apache.org".