Synfig Issue Tracker
star_faded.png
Please log in to bookmark issues
bug_report_small.png
OPEN  Bug report #834  -  Gradients don't show colors (after removing color stop)
Posted Mar 28, 2015 - updated Jan 05, 2019
action_vote_minus_faded.png
0
Votes
action_vote_plus_faded.png
Issue details
  • Type of issue
    Bug report
  • Status
     
    Confirmed
  • Assigned to
    Not assigned to anyone
  • Progress
       
  • Type of bug
    Not triaged
  • Likelihood
    Not triaged
  • Effect
    Not triaged
  • Posted by
     wst
  • Owned by
    Not owned by anyone
  • Category
    User interface
  • Resolution
    Not determined
  • Priority
    Not determined
  • Targetted for
    icon_milestones.png Not determined
  • Tags
    icon_customdatatype.png Not determined
  • Difficulty
    icon_customdatatype.png Easy
Issue description
If you remove the two Color Stops from a gradiënt and add them again, you don't see your color anymore.

EDIT Alpha for new color stop is set to 0. Better to set arbitrary a 'visible' value

Windows 8.1 Pro x64 Synfig 1.0 RC3
Steps to reproduce this issue
  1. Open a new file
  2. add a gradient with 2 colors
  3. enable animation mode
  4. go to 5s
  5. go to Parameters and double click Gradient
  6. change the colors (start and stop)
  7. disable animation mode
  8. enable animation mode
  9. go to 0f (0s)
  10. go to Parameters and double click Gradient
  11. Right-mouse click on the start and select "Remove Color Stop"
  12. Right-mouse click on the end and select "Remove Color Stop"
  13. Right-mouse click somewhere at the start and select "Insert Color Stop"
  14. Right-mouse click somewhere at the end and select "Insert Color Stop"
  15. now you have two points again to set the gradient, if you change Red, Green or Blue it doesn't show in the dialog, nor in the Parameters -> Gradient

#2
Comment posted by
 djay
Apr 01, 07:56
Hello,

thank's for taking time to report.

Effectively the color is not displayed, but ... it's because alpha is still set to 0 (but this case, could be arbitrary set to 1 or 0.5...) !

is'nt it alpha ?
#3
Comment posted by
 wst
Apr 01, 10:52
Hi djay,

good point, I don't know if I was confused or not but I just tested it again and it is indeed the alpha.

Shouldn't it be better if the alpha had a default value of 100 instead of 0 after removing all color stops and adding a new one?
#6
Comment posted by
 djay
icon_reply.pngApr 01, 17:19, in reply to comment #3
great, thank's for taking time to, and yep 'alpha' should be set to a 'visible' value

wst wrote:
Hi djay,

good point, I don't know if I was confused or not but I just tested it
again and it is indeed the alpha.

Shouldn't it be better if the alpha had a default value of 100 instead of 0
after removing all color stops and adding a new one?