Adding Second Gradients by Accident

Post questions on how to use or achieve an effect in Inkscape.
User avatar
EarlyBlake
Posts: 302
Joined: Tue Jun 03, 2008 5:42 pm

Adding Second Gradients by Accident

Postby EarlyBlake » Wed Jun 18, 2008 3:16 pm

I'm not sure what I'm hitting or clicking, but sometime when I'm moving around gradient nodes, a second gradient get add to a path's fill. There is a message at the top of the work space saying adding gradient. I'm not sure what I clicked on to make this happen. I usually crt Z it away but want to know how I'm adding, so I can avoid doing it. It happens while I'm using the :tool_gradient: without the fill stroke dialog up. [I'm not seeing two gradients because there is one for both the fill and the stroke. I was only adding gradients to the fills while this happened.] The second gradient seems to pivot around a node of the first. Does it have something to do with my using the touch pad on my lap top instead of a mouse. It's been so long since my desktop die I don't even know where I left the mouse. :?

I don't know if this is a bug, but once I have two gradients on I can't seem to get ride of either of them. I tried to get rid of them by selecting no fill. But as soon as a turned fill back on both gradients where back. Is there another way to delete a gradient from a path?

User avatar
loonquawl
Posts: 135
Joined: Thu May 15, 2008 7:57 pm

Re: Adding Second Gradients by Accident

Postby loonquawl » Wed Jun 18, 2008 7:22 pm

i cannot replicate this behavior on XP running .46
The only way for me to get two gradients is one for Fill and one for Stroke. The nodes of those are pretty "sticky", and i could not separate them, once they were joined (this produced the 'pivoting' you reported).
if you pivot the Gradients relative to each other to 18o° or 90°, what happens to the color? do the Gradients add? Could you make a screenshot?
EarlyBlake wrote:once I have two gradients on I can't seem to get ride of either of them.

What happens if you just have one gradient and do this? I would love this behavior, with me, if i use :tool_gradient: , then turn off the Fill and turn it on again, i either get total fill, or some stock gradient, depending on what kind of fill i selected. The manually inserted fill is lost (apart from the undo history)

User avatar
sas
Posts: 404
Joined: Sat Oct 06, 2007 5:42 am

Re: Adding Second Gradients by Accident

Postby sas » Thu Jun 19, 2008 12:21 am

EarlyBlake wrote:There is a message at the top of the work space saying adding gradient.

Do you know the exact wording of this message? With the exact wording, it should be easy enough to find the message in the source code, which would help to determine what's causing it. (There doesn't appear to be any "adding gradient" in the source code.)

User avatar
EarlyBlake
Posts: 302
Joined: Tue Jun 03, 2008 5:42 pm

Re: Adding Second Gradients by Accident

Postby EarlyBlake » Thu Jun 19, 2008 5:16 am

loonquawl wrote:i cannot replicate this behavior on XP running .46
The only way for me to get two gradients is one for Fill and one for Stroke. The nodes of those are pretty "sticky", and i could not separate them, once they were joined (this produced the 'pivoting' you reported).
if you pivot the Gradients relative to each other to 18o° or 90°, what happens to the color? do the Gradients add? Could you make a screenshot?
EarlyBlake wrote:once I have two gradients on I can't seem to get ride of either of them.

What happens if you just have one gradient and do this? I would love this behavior, with me, if i use :tool_gradient: , then turn off the Fill and turn it on again, i either get total fill, or some stock gradient, depending on what kind of fill i selected. The manually inserted fill is lost (apart from the undo history)


I did not see any change in the appearance of the path from the other gradient. I guess it could have been a stork gradient. It just my habit to go through and put in all the full gradients, before I add any stroke gradients that I'm pretty sure...

sas wrote:
EarlyBlake wrote:There is a message at the top of the work space saying adding gradient.

Do you know the exact wording of this message? With the exact wording, it should be easy enough to find the message in the source code, which would help to determine what's causing it. (There doesn't appear to be any "adding gradient" in the source code.)


OK I'll make a screen shot next time it happens. I did it both yesterday and the day before, so I'll probably do again tomorrow night.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Adding Second Gradients by Accident

Postby brynn » Thu Jun 19, 2008 10:17 pm

It may have something to do with the touchpad mouse. I also use a touchpad mouse, although I use it with my desktop system. Yeah, I just prefer a touchpad mouse.

Anyway, touchpad mice are prone to static discharge, much more than regular mice. This can result in a click, even though I might just be moving the cursor or pointer, and never intended to click. And sometimes, it can result in a double-click, even though I only intended to single-click.

So doesn't a double-click with the Gradient tool ( :tool_gradient: ) cause a new gradient at the place where the mouse is double-clicked? Could this explain what's happening?

That said, I did have some weird, similar events, the other day. I'm just learning how to create and use gradients, so I thought I must have done something wrong. But a few times, I did have a brand new 2nd gradient form, unintentionally. In all 3 cases, I was trying to move a radial gradient. With Gradient tool :tool_gradient: , I put the mouse pointer over the square node, click and hold, move mouse pointer which is now "holding" the gradient, drag to the new location, release the click. But the gradient did not move from where it was originally, and instead, there was a new gradient in the spot where I released the click (where I wanted the original gradient moved to).

I didn't happen every time, though, and in every case, I clicked Undo and tried again. At one point, it took a few tries, but eventually the move worked as I intended. So IF this is the same problem as yours, it doesn't happen consistently, only sometimes....unless there was something else clicked or selected, and I didn't notice.

Anyway, I will also try to remember to make a screen shot, if it happens again.
All best :D


Return to “Help with using Inkscape”