To reproduce :
- in any module, draw a shape with area filled as gradient
- choose a non-symmetric, for instance gradient #3
- special paste > metafile GDI
=> the gradient is deformed : start of the gradient seems to be in the middle of shape.
Created attachment 46606 [details]
Test of different gradients
Test file built with LibO 3.3.2 to compare view of original shape and pasted shape as GDI metafile.
Created attachment 46607 [details]
Screenshot in LibO 3.3.2
View of TestGradient.odt file in LibreOffice 3.3.2: both columns are almost similar
Created attachment 46608 [details]
Screenshot in LibO 3.4.0 beta 4
View of TstGradient.odt file in LibreOffice 3.4.0 beta 4: some gradients are very different.
Reproducible] with "LibreOffice 3.4Beta4 – WIN7 Home Premium (64bit) German UI [DEV300m103 (Build:4)]".
64 bit AMD Phenom II X4 955 Processor 3.2 GHz, 4GB RAM,
Graphic Card: NVIDIA GeForce GT 430
It's "Writer only" for me, no problem in DRAW and CALC
Effect is visible when I copy a shape with particular gradients from DRAW and paste it to WRITER as GDI
Also Copy / paste as bitmap is affected.
Your Platform / OS is?
WRITER only, so it might be one for you?
Please feel free to reassign if it's not your area!
Sorry for the "any module". I went too fast with my tests, and you are right: it is only "paste as GDI metafile" in Writer that is incorrect, whatever the module where the shape was built (Writer, Draw, Calc, Impress). But paste as GDI metafile works fine in Draw, Impress and Calc.
Actually I discovered the bug when pasting in Writer from Draw, that's why I incorrectly chose "Draw" as module.
Paste as Bitmap suffers from the same bug.
Same behavior in 3.4 beta5
I can NOT reproduce with LibO 3.5b2. I supposed that Cedric solved it!
so just tested this, and i can reproduce it on Linux on libreoffice-3-4,
but not on libreoffice-3-5 or master.
so thanks to the anonymous hacker that fixed it :)