Issue 121296 - Too big Gradient Border calculated in Slideshow mode
Summary: Too big Gradient Border calculated in Slideshow mode
Alias: None
Product: Impress
Classification: Application
Component: viewing (show other issues)
Version: 4.0.0-dev
Hardware: PC Windows, all
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2012-10-31 11:58 UTC by Regina Henschel
Modified: 2017-05-20 10:45 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

rectangle, metafile, rotated metafile (16.04 KB, application/vnd.oasis.opendocument.presentation)
2012-10-31 11:58 UTC, Regina Henschel
no flags Details
Screenshot Comparision with comments (325.58 KB, application/pdf)
2013-05-23 05:29 UTC, Rainer Bielefeld
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2012-10-31 11:58:51 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.
Comment 1 SVN Robot 2012-12-18 04:43:29 UTC
"pfg" committed SVN revision 1423272 into trunk:
i121296 - Python3 support for pyuno.
Comment 2 2012-12-18 13:13:30 UTC
The commit above was obviously for issue 121496.
Comment 3 Rainer Bielefeld 2013-05-23 05:29:23 UTC
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.
Comment 4 Rainer Bielefeld 2013-05-23 05:36:56 UTC
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?
Comment 5 Armin Le Grand 2013-05-29 12:38:47 UTC
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...
Comment 6 Armin Le Grand 2013-05-30 12:11:17 UTC
ALG: Grepping as a reminder
Comment 7 Armin Le Grand 2013-09-06 15:30:16 UTC
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.
Comment 8 Armin Le Grand 2013-09-11 16:47:58 UTC
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...
Comment 9 Armin Le Grand 2013-11-01 09:04:19 UTC
ALG: Grepping to keep in sight
Comment 10 Marcus 2017-05-20 10:45:04 UTC
Reset the assignee to the default "".