Difference between revisions of "Inkscape/gradientgoodness"

From Inkscape Wiki
Jump to navigation Jump to search
m
(→‎Release Notes:: - removed from page as all current notes have been moved accordingly)
 
(66 intermediate revisions by 5 users not shown)
Line 1: Line 1:
Gradient tool goodness that Johan is working on-
Gradient tool goodness that Johan is working on. As items are taken care of, they're removed from the main text of this page. The controls/features will be copied to the bottom of this page in temp release notes (they will be fleshed out prior to the 0.46 release). <br>
For a video: see [http://jimmac.musichall.cz/weblog.php/Inkscape/GradientGoodness.php jimmac's video]
 
<i><strike>strike through</strike> = i _think_ it's fixed, but please check; remove if confirmed fix :) (johan)</i>


=== TODO: ===
=== TODO: ===
Line 7: Line 10:
*Port the spinbox for location of currently selected stop - enables precision placement.
*Port the spinbox for location of currently selected stop - enables precision placement.


On Canvas:
Keyboard:
*Mid-stops can be added or removed wherever.
*Make arrow keys function
 


=== RFE: ===
=== RFE: ===
*More than one stop can be selected to perform various actions - Selecting more than one could be accomplished with Shift or the Mousewheel (just like the node tool).
*Selecting more than one stop also accomplished with the Mousewheel (just like the node tool).
**sculpting - Alt modifier will sculpt stops like the node tool.
*Sculpting - Alt modifier will sculpt stops like the node tool.
**shifting - equally move stops in whichever direction.
**mass deletion - delete more than one stop at the same time (delete key for example).
*Change alpha of selected stop(s) with modifier + mousewheel hovering over stop (perhaps Alt+Mousewheel)
*Change alpha of selected stop(s) with modifier + mousewheel hovering over stop (perhaps Alt+Mousewheel)
*rotating/resizing the gradient by using the [,],<, and > keys. (these keys perform those functions in other tools)
*enable Ins key to create new midstops; if no gradient nodes selected, then add a new stop in the middle of each interval in the selected object gradient; if some midstops are selected, add new midstop(s) only between them (similar to how Ins works in Node tool)
*"Drag and Drop" from the color palette
**Drop on a stop to change color
**Drop on the gradient line to add new stop
=== BUGS: ===
*Mid-stops can leave the fixed plane if arrow keys are used to move them.(other bugs materialize with a linear gradient if you move by mouse after it's left the plane via keys)<br> <b>Please add how you want it to be: arrow up or right moves midstop into direction of endstop; arrow down or left the other way? (johan)</b><br>I believe that sounds like a reasonable solution. The only thing I fear is when the End or Start is the opposite direction of the arrow key you press.So I guess the question is, can we always have it go the expected direction?
*Gradient fill & Stroke issue...
*# Create object, create fill gradient with color of choice, create stroke gradient with different colors.
*# Create object, on gradient toolbar choose the Stroke button, and select one of the two gradients. Then switch the button on the toolbar to Fill and choose the other gradient.<br>The result is that when you assign the gradient to the fill on step two, it will change the stroke to that same gradient as well. May be present in 0.45.<br> <i>Note that this does work when a knot of a gradient has been selected. When nothing is selected and using the "change" selector, it should look at the settings of the toggle buttons to the left to see what to apply? Also linear of radial gradient? (johan)</i> Is fixed half now. (does not listen to the linear or radial setting of buttons) (johan).
*With multiple stops selected, if an end stop is included in selection it doesn't shift nodes, it only resizes gradient.
*With multiple stops selected, if you select every other stop it will only shift the selected stop your mouse is moving, other selected stops won't move. <br> <i> it only moves the knots that are selected as a closed group (no unselected knots in between). This is easy way out for me at the moment. Thought in progress about this one.</i>
*Create gradient, add three stops in the middle, select the three stops and shift (move) them down the gradient, delete the three stops together, Undo. The stops don't go back to where they were deleted from.


=== Related List Discussion ===
From bbyak...<br>
I've played with it some, not too much, but here are some observations:<br>
* Node moving by arrow keys currently does not work
* Let's try to make less of GrDrag public. The sp_gradient_context_delete_stops is especially intrusive. <strike>Can you try to move the core of that function into a GrDrag method and make only that method public? </strike>This would let us make a lot of other stuff in GrDrag private.


=== Bugs: ===
=== Release Notes: ===
*Can't drag focus point on radial gradients w/o crash.
All current release notes are where they should be in main release notes for 0.46.
*Gradient on Stroke on object crashes (unless fill gradient exists).
*If object fill is changed from a gradient with multiple stops to a solid fill and you Undo, all stops go to the Start of the gradient.
*If you add a gradient stop, move it, and Undo, it does not go to previous location but instead to the Start of the gradient.


BACKTRACE on the stroke bug
=== Coming up next ? ===
*Program received signal SIGSEGV, Segmentation fault.
[[Inkscape/liveeffectsgoodness]]
*0x77c478c0 in strlen () from C:\WINDOWS\system32\msvcrt.dll
*(gdb) bt
*#0  0x77c478c0 in strlen () from C:\WINDOWS\system32\msvcrt.dll
*#1  0x6730bfe3 in freetype6!TT_RunIns () from C:\inkscape\libglib-2.0-0.dll
*#2  0x627702d4 in _libmsvcrt_a_iname ()

Latest revision as of 01:21, 16 April 2007

Gradient tool goodness that Johan is working on. As items are taken care of, they're removed from the main text of this page. The controls/features will be copied to the bottom of this page in temp release notes (they will be fleshed out prior to the 0.46 release).
For a video: see jimmac's video

strike through = i _think_ it's fixed, but please check; remove if confirmed fix :) (johan)

TODO:

Toolbar:

  • Port the "repeat" combobox from the fill & stroke dialog.
  • Port the spinbox for location of currently selected stop - enables precision placement.

Keyboard:

  • Make arrow keys function

RFE:

  • Selecting more than one stop also accomplished with the Mousewheel (just like the node tool).
  • Sculpting - Alt modifier will sculpt stops like the node tool.
  • Change alpha of selected stop(s) with modifier + mousewheel hovering over stop (perhaps Alt+Mousewheel)
  • rotating/resizing the gradient by using the [,],<, and > keys. (these keys perform those functions in other tools)
  • enable Ins key to create new midstops; if no gradient nodes selected, then add a new stop in the middle of each interval in the selected object gradient; if some midstops are selected, add new midstop(s) only between them (similar to how Ins works in Node tool)
  • "Drag and Drop" from the color palette
    • Drop on a stop to change color
    • Drop on the gradient line to add new stop

BUGS:

  • Mid-stops can leave the fixed plane if arrow keys are used to move them.(other bugs materialize with a linear gradient if you move by mouse after it's left the plane via keys)
    Please add how you want it to be: arrow up or right moves midstop into direction of endstop; arrow down or left the other way? (johan)
    I believe that sounds like a reasonable solution. The only thing I fear is when the End or Start is the opposite direction of the arrow key you press.So I guess the question is, can we always have it go the expected direction?
  • Gradient fill & Stroke issue...
    1. Create object, create fill gradient with color of choice, create stroke gradient with different colors.
    2. Create object, on gradient toolbar choose the Stroke button, and select one of the two gradients. Then switch the button on the toolbar to Fill and choose the other gradient.
      The result is that when you assign the gradient to the fill on step two, it will change the stroke to that same gradient as well. May be present in 0.45.
      Note that this does work when a knot of a gradient has been selected. When nothing is selected and using the "change" selector, it should look at the settings of the toggle buttons to the left to see what to apply? Also linear of radial gradient? (johan) Is fixed half now. (does not listen to the linear or radial setting of buttons) (johan).
  • With multiple stops selected, if an end stop is included in selection it doesn't shift nodes, it only resizes gradient.
  • With multiple stops selected, if you select every other stop it will only shift the selected stop your mouse is moving, other selected stops won't move.
    it only moves the knots that are selected as a closed group (no unselected knots in between). This is easy way out for me at the moment. Thought in progress about this one.
  • Create gradient, add three stops in the middle, select the three stops and shift (move) them down the gradient, delete the three stops together, Undo. The stops don't go back to where they were deleted from.

Related List Discussion

From bbyak...
I've played with it some, not too much, but here are some observations:

  • Node moving by arrow keys currently does not work
  • Let's try to make less of GrDrag public. The sp_gradient_context_delete_stops is especially intrusive. Can you try to move the core of that function into a GrDrag method and make only that method public? This would let us make a lot of other stuff in GrDrag private.

Release Notes:

All current release notes are where they should be in main release notes for 0.46.

Coming up next ?

Inkscape/liveeffectsgoodness