![](https://secure.gravatar.com/avatar/bb65b6b3a109d97cf9f8d6c014ede042.jpg?s=120&d=mm&r=g)
On 10/7/07, Jon A. Cruz <jon@...18...> wrote:
I'll have to look into this a little more. The main problem is that a lot of the color and fill event propagation is very convoluted and at times redundant. The good news is that I need to address this for the color pickers a bit more, so I can look at the gradient stuff at the same time.
You don't need to look into the gradient stuff, I'll do it all myself, as well as fill propagation :) The _only_ thing I'm asking you to do is to prevent onButtonPressed in swatches.cpp from firing when I release mouse after dragging a swatch, so it _only_ works when I click on the swatch after dragging. This really needs to be done, because currently this behavior causes a crash if you drop a color on an object with gradient (and some handles selected) in Gradient tool. After you do this, the crash will be gone, and I will implement the correct behavior (for both gradients and objects) in sp_ui_drag_data_received in interface.cpp (it's mostly there but needs more work).