vikach / svg-edit

Automatically exported from code.google.com/p/svg-edit
0 stars 0 forks source link

A linear gradient becomes black when the object is selected #114

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Draw a shape
2. Fill it with a linear gradient
3. Now click somewhere outside the object, on the canvas
4. Select the object again

What is the expected output? 
There should be none, just selecting the object

What do you see instead?
The previously gradient fill becomes black

In what browser did you experience this problem? (ALL, Firefox, Opera 10
Alpha, etc)

Windows XP, both on Firefox 3.x and Opera 10 beta 3

Please provide any additional information below.
I'm unable to test this on Xubuntu cos I can't see the top of the color
picker on the EEE PC :-)

Original issue reported on code.google.com by worms_...@yahoo.com on 23 Aug 2009 at 9:00

GoogleCodeExporter commented 9 years ago
I forgot to mention something important at step 4.

step 4. Select the object with dragging the mouse, not by clicking on it.

And also: if you draw another object at this stage, it will be filled with the 
right
gradient, and the gradient in the first object will reappear!

Original comment by worms_...@yahoo.com on 23 Aug 2009 at 9:58

GoogleCodeExporter commented 9 years ago
See a demo here:

http://www.corpsmoderne.net/~eve97/vertex/gradient_black.avi

Original comment by worms_...@yahoo.com on 23 Aug 2009 at 10:42

GoogleCodeExporter commented 9 years ago
Good catch, and thanks for the demo video.  Do you think you might be able to 
trace
down what revision this happened in?  I'm suspecting it's when Fyrd fixed Issue 
85 a
few days ago, though I can't find the checkin message for it.  So you can start 
at 

http://svg-edit.googlecode.com/svn-history/r425/trunk/editor/svg-editor.html

and then work your way back until the problem disappears and let us know the 
revision.

Original comment by codedr...@gmail.com on 23 Aug 2009 at 1:40

GoogleCodeExporter commented 9 years ago
Yes. It started happening after 
http://code.google.com/p/svg-edit/source/detail?r=446

Original comment by worms_...@yahoo.com on 23 Aug 2009 at 3:38

GoogleCodeExporter commented 9 years ago
Yeah, this is my fault somehow. :) I'm on it!

Original comment by adeve...@gmail.com on 24 Aug 2009 at 12:36

GoogleCodeExporter commented 9 years ago
Turns out this was actually a side effect of my fix in Issue 98 (thanks 
wormsxulla). 
Fixed in r452.

Original comment by adeve...@gmail.com on 24 Aug 2009 at 12:57