View Issue Details

IDProjectCategoryView StatusLast Update
0003114Slicer4Module Colorspublic2017-06-07 23:27
Reporterlassoan Assigned Tonicole  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.2.2-1 
Target VersionSlicer 4.4.0Fixed in VersionSlicer 4.4.0 
Summary0003114: Opacity values in colormap are not copied
Description

When duplicating the current colormap in the color module then the color values appear correctly in the duplicated colormap, but all the opacity values are set to 1.0. This is very confusing for users, who just see that their background volume disappears when they select their custom colormap for their empty labelmap volume.

How to reproduce:

  • Load MRHead sample
  • Go to Colors module and duplicate the current (GenericColors) colormap
  • Go to editor, select the new UserGenerated/GenericColorsCopy labelmap
  • The MRHead image disappears from the screen
    => ERROR: the user doesn't understand what happened and what to do now!

Workaround:

  • Go to colors module, set color #0 opacity to 0.0
    => the MRhead image appears
TagsNo tags attached.

Activities

pieper

pieper

2013-05-13 12:31

administrator   ~0008630

Yes, it seems that the opacity is not copied from the source color node.

nicole

nicole

2013-05-14 10:14

administrator   ~0008635

Fixed in svn 21988[1].
The color logic CopyNode method was using the color node copy method that just copied the name and rgb, switched it to use the one that also copies opacity.
Added testing as well.

[1]http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21988

jcfr

jcfr

2014-03-06 04:53

administrator   ~0010789

Closing resolved issues that have not been updated in more than 3 months

Related Changesets

Slicer: 2145-support-for-installing-extension-from-file 4c834237

2013-05-14 14:13:59

naucoin

Details Diff
BUG: copy opacity when creating a copy of a color node

The MRML color logic was using the the color node copy
method that just copied the name and rgb, switched it
to use the one that also copies opacity.
Expanded the testing to exercise the copy and test the
results.

Issue 0003114


git-svn-id: http://svn.slicer.org/Slicer4/trunk@21988 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/MRML/Logic/Testing/Cxx/vtkMRMLColorLogicTest1.cxx Diff File
mod - Libs/MRML/Logic/vtkMRMLColorLogic.cxx Diff File

Issue History

Date Modified Username Field Change
2013-05-13 11:39 lassoan New Issue
2013-05-13 12:31 pieper Status new => assigned
2013-05-13 12:31 pieper Assigned To => nicole
2013-05-13 12:31 pieper Note Added: 0008630
2013-05-14 10:14 nicole Note Added: 0008635
2013-05-14 10:14 nicole Status assigned => resolved
2013-05-14 10:14 nicole Resolution open => fixed
2014-03-06 04:53 jcfr Note Added: 0010789
2014-03-06 04:54 jcfr Status resolved => closed
2014-03-06 05:56 jcfr Fixed in Version => Slicer 4.4.0
2014-03-06 06:15 jcfr Target Version => Slicer 4.4.0
2017-06-07 23:27 Changeset attached => Slicer 2145-support-for-installing-extension-from-file 4c834237