Ticket #1069 (closed enhancement: fixed)

Opened 8 years ago

Last modified 8 years ago

Improve color widgets

Reported by: bdezonia Owned by: bdezonia
Priority: minor Milestone: imagej2-b3-headless
Component: UI Framework Version:
Severity: non-issue Keywords:
Cc: Blocked By:


In plugins you can specify ColorRGB parameters. The widget that lets you edit them could use some improvements:

  • support specifying RGB and HSB values
  • support a more fine grained space of clickable values (maybe the widget needs to be bigger too)

Change History

comment:1 Changed 8 years ago by curtis

  • Priority changed from major to minor
  • Status changed from new to accepted
  • Type changed from defect to enhancement
  • Severity changed from serious to non-issue

The Swing color widget is not something we built from scratch, but rather uses  JColorChooser. So these types of changes are predicated on being able to customize the JColorChooser accordingly. Either that, or reimplementing our own widget, or finding a suitable third party color chooser implementation.

comment:2 Changed 8 years ago by curtis

  • Milestone changed from imagej-2.0.0-beta3 to imagej-2.5.0

comment:3 Changed 8 years ago by curtis

  • Owner changed from curtis to bdezonia
  • Status changed from accepted to assigned

For what it's worth, you *can* already specify RGB and HSB values using the "RGB" and "HSB" tabs of the widget. As for "more fine grained space of clickable values" I think the HSB widget is very fine-grained. Please close this ticket if you agree; otherwise please add more detail on what you would like to see improved.

Last edited 8 years ago by curtis (previous) (diff)

comment:4 Changed 8 years ago by curtis

Hopefully 84633b7c, which reorders the tabs so that the HSB tab is first, removes any shadow of confusion about the color chooser. Please close if you agree.

comment:5 Changed 8 years ago by bdezonia

  • Status changed from assigned to closed
  • Resolution set to fixed

Looks good

comment:6 Changed 8 years ago by bdezonia

  • Milestone changed from imagej-2.5.0 to imagej-2.0.0-beta3
Note: See TracTickets for help on using tickets.