Issue 120609 - center position of rectangular gradient is broken
Summary: center position of rectangular gradient is broken
Status: UNCONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: viewing (show other issues)
Version: 3.4.0
Hardware: PC Windows XP
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-17 21:50 UTC by Regina Henschel
Modified: 2012-08-23 18:54 UTC (History)
1 user (show)

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


Attachments
File with picture of the wrong and of the correct display. (14.80 KB, application/vnd.oasis.opendocument.graphics)
2012-08-20 20:43 UTC, Regina Henschel
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description Regina Henschel 2012-08-17 21:50:43 UTC
Draw a rectangle and fill it with a rectangular gradient e.g. "Gradient 6".
Context menu > Area > Gradients
Set border and rotation to 0.
Set Center X to 10% and Center Y to 100%.

Notice that the center of the gradient does not move to the bottom of the shape.
Center Y is always the same as Center X, independent from your entry in the field.
I see the same error with style ellipsoid, but not with style radial.

I see this defect only in AOO3.4.1 not on trunk.
Comment 1 Armin Le Grand 2012-08-20 11:57:33 UTC
ALG: Tried with rev 1372282 AOO3.4.1, could not reproduce. Works the same as with (pretty current) trunk version.
Comment 2 Regina Henschel 2012-08-20 20:43:57 UTC
Created attachment 79009 [details]
File with picture of the wrong and of the correct display.

The settings are cx="25%" and cy="75%". You can proof it via context menu > Area > Gradient.

The display is cx="25%" and cy="25%".

I've got German AOO 3.4.1 (r1372282) with en-US language pack for Windows.

My new trunk build (r1374948) has the error too.
My build r1370716 has a correct display.

Export to bitmap is OK, only display is broken.
Comment 3 Armin Le Grand 2012-08-23 15:55:04 UTC
ALG: The AOO3.4.1 shows the correct display (using the test file under Win7). My new trunk build also shows the correct display. Both have Cx=25 and cy=75. Sorry, cannot reproduce.
Comment 4 Regina Henschel 2012-08-23 16:31:53 UTC
Hi Armin,

please switch off "Anti-Aliasing". If I turn it on, the display is correct; if I turn it off, the display is wrong.
Comment 5 Armin Le Grand 2012-08-23 18:00:39 UTC
ALG: Hi Regina,
this explains it: when switching off, the old direct V L renderers are used; as explained these may be buggy in some respects. Do you think it needs fixing, who is working without AA? I even think we will remove AA someday. If fix is needed, it could be done using the primitives, though.
BTW: out for one week from now...
Comment 6 Regina Henschel 2012-08-23 18:54:30 UTC
I personally like to work without Anti-Aliasing. Using it makes lines look blurred and I try to focus.