Adjusting color value with arrow keys is problematic



  • There are two issues with adjusting color values with the cursor keys.

    Issue 1:
    When adjusting color values with the cursor keys WHILE the SHIFT key is down, the color value will increase/decrease by 10. However, in this case the color will not update on the canvas. You will have to either click the color bar/slider or you have to tap the up/down arrow key once (without the SHIFT key being held) in order to update the color.

    Issue 2:
    While adjusting the color value with the up/down cursor keys (with or without the SHIFT key being held down), once the value reaches the min/max value, the selected object will start moving up/down the canvas. At the same time, the color value will jump into its original value (whatever it was before you started adjusting it).

    I'm going to illustrate this with the Gray Slider (because it only has a single value) but this happens in any color mode (RGB, HSV, etc).

    1. Create a shape.
    2. You can choose foreground or background color swatch in the Color Palette. (Selecting the background color swatch will be more obvious to see.)
    3. In the Color palette menu, select "Gray Sliders" (NOTE: Not sure why is this plural when only a single slider is shown.)
    4. Drag the gray slider to the middle so it shows 50. This is not really necessary, but it will be easier to see how the color value will jump back to the initial value (in this case 50) when it reaches either the min or max value.
    5. Place the cursor inside the color value (50 currently displayed).
    6. Hold SHIFT and keep pressing the up (or down) arrow key. Do not keep holding down the arrow key, just press it once and release it. Notice the color value will increase/decrease by 10.
    7. Keep pressing the same arrow key (press-release-press-release, etc) until the color value reaches the max or min value (eg 100).
    8. When the value reached the min (or max) value and you press the arrow key again, the color value will jump back to its starting value (in this case you set it to 50, so it will jump back to 50). Also at this point the shape on the canvas will jump up or down by 10 pixels (since you are holding the SHIFT key).
    9. Every time the color value "rolls over" (aka reaches the max/min value) the shape will jump by 10 pixels as you are pressing the arrow key.

    Also, when you hold SHIFT the color of the shape will not update on the canvas.

    When you repeat the above exercise but without holding the SHIFT key, the result is the same, except the color will update on the canvas.

    In the video I am holding SHIFT and pressing the down and then the up arrow keys. Towards the end of the video I will increase the color value by 1 (by releasing the SHIFT key).

    Video here:
    https://www.youtube.com/watch?v=EiIRsyKqClg

    VS 1.1.094


  • administrators

    @pentool Replicated, added this to the backlog.


  • administrators

    @pentool This will be fixed in the next build, with one exception:

    Using the Shift key will have an unintended dual function here: one is to scroll the number with a larger step, and another is to apply the color to the alternate target (in this case to the stroke).

    Modifier keys are configurable, but I will think of a better solution for this in the future.