Drag'n'drop from swatches doesn't always work
Bug #447385 reported by
Pablo Trabajos
This bug affects 3 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Medium
|
Adonis Papaderos |
Bug Description
Selecting colors from swatches dock works always but drag'n'dropping has unreliable results. Sometimes the color given to the object is black, sometimes blue, and the next click works as expected... sometimes. Tested with 0.47pre3, WinXP SP3.
Steps:
1-Create a rectangle and keep it selected.
2-Open swatches palette (Shift+Ctrl+W).
3-Click on swatches. Observe how everything works as expected.
4-Now try drag'n'drop and observe how the colors applied are not ok.
Same happens from the swatches palette at the bottom. I was going to record a screencast but Camtasia interferes with drag'n'drop.
tags: | added: color ui |
Changed in inkscape: | |
milestone: | 0.49 → 0.48.1 |
Changed in inkscape: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
not reproduced with Inkscape 0.46+devel r22436 on OS X 10.5.8 (new preferences file)
there is however a difference in behavior depending on fill / stroke and their status:
Fill:
any color: drag'n'drop works as expected from color palette and swatches dialog
Unset: fill is rendered black, drag'n'drop from palette or from swatches dialog works as expected
None: fill has been removed, no drag'n'drop is accepted from palette or swatches.
Stroke:
any color: drag'n'drop works as expected from color palette and swatches dialog
Unset: stroke is not rendered, drag'n'drop from palette or from swatches dialog sets it to new color, resets width to 1
None: stroke has been removed, but drag'n'drop is accepted from palette or swatches and adds the stroke back, resets width to 1
I don't know if this intended behavior but part of it seems logical to me: you can't drop a color when the fill has been removed ('No paint'), but with the click on a color swatch you can assign a new color to the fill. However I don't understand why a removed stroke can be re-added by drag'n'drop.