View Issue Details

IDProjectCategoryView StatusLast Update
0002986Slicer4Core: GUIpublic2017-06-07 23:27
Reporterfedorov Assigned Tojohan.andruejol  
PriorityhighSeverityblockReproducibilityalways
Status closedResolutionfixed 
Product Version 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002986: Cannot set floating point values for w/l in Volumes
Description

Try typing "0.02" for window and "0.01" for level.

TagsNo tags attached.

Relationships

related to 0002480 closedfinetjul When editing the Transform Matrix in the Transforms module, values automatically rounded to 2 decimal places 
related to 0002973 closedfinetjul cannot type small numbers into the Volume spacing field 
related to 0002615 closedfinetjul Threshold can be set only to integer value in Volume module 
related to 0003074 closedfinetjul Problems visualizing floating point data in range 0-> 1 
related to 0003038 closedjohan.andruejol Cannot enter decimals in image spacing 

Activities

johan.andruejol

johan.andruejol

2013-04-19 18:21

manager   ~0008453

Fixed in r21902
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=21902

// -------------------------
*Fix lost on focus when modifying spinbox

Previously, the spinbox would lose focus when modifying the value due to
an update by the node. Using the new ctkSpinBox that actually checks
if the values are the same before updating fixes this.

See also ctkSpinBox: https://github.com/commontk/CTK/commit/d34e05343d3d69b079cb25fa53846730c16bbb23

fedorov

fedorov

2013-04-27 09:31

developer   ~0008528

The issue is not resolved. To reproduce load MRHead from sample data and try entering 0.1 as window.

johan.andruejol

johan.andruejol

2013-07-02 07:08

manager   ~0008813

Note:

As of r22128, you can use the shortcuts CTRL+ / CTRL- to add decimals to spinboxes once they have focus. This might not solve (entirely) your problem but it can be useful.

finetjul

finetjul

2013-07-08 12:30

administrator   ~0008906

Fixed in r22151

fedorov

fedorov

2013-07-25 11:29

developer   ~0009198

It turns out, I cannot set negative values for w/l! After I hit "-", I can only enter zeroes, nothing else.

Let me know if I need to open a new issue.

finetjul

finetjul

2013-07-25 18:52

administrator   ~0009201

You are not supposed to be able to enter negative values for the window: the window is the "width" of the w/l ramp.
However you should be able to enter negative values for the level. Do you confirm you can't enter negative numbers in the level spinbox ?

fedorov

fedorov

2013-07-26 04:33

developer   ~0009205

Julien: negative level works. I was confused -- no issue. Thank you!

Related Changesets

Slicer: 2145-support-for-installing-extension-from-file deb68b97

2013-04-19 18:56:32

johan.andruejol

Details Diff
BUG: Fix lost on focus when modifying spinbox

Previously, the spinbox would lose focus when modifying the value due to
an update by the node. Using the new ctkSpinBox that actually checks
if the values are the same before updating fixes this.

See Issue 0002986

git-svn-id: http://svn.slicer.org/Slicer4/trunk@21902 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Base/QTCLI/qSlicerCLIModuleUIHelper.cxx Diff File
mod - Libs/MRML/Widgets/Resources/UI/qMRMLModelInfoWidget.ui Diff File
mod - Libs/MRML/Widgets/Resources/UI/qMRMLScreenShotDialog.ui Diff File
mod - Libs/MRML/Widgets/Resources/UI/qMRMLSliceInformationWidget.ui Diff File
mod - Libs/MRML/Widgets/Resources/UI/qMRMLTransformSliders.ui Diff File
mod - Libs/MRML/Widgets/Resources/UI/qMRMLVolumeInfoWidget.ui Diff File
mod - Libs/MRML/Widgets/Resources/UI/qMRMLWindowLevelWidget.ui Diff File
mod - Libs/MRML/Widgets/Testing/qMRMLDisplayNodeWidgetEventTranslatorPlayerTest1.xml Diff File
mod - Libs/MRML/Widgets/Testing/qMRMLLinearTransformSliderEventTranslatorPlayerTest1.xml Diff File
mod - Libs/MRML/Widgets/Testing/qMRMLROIWidgetEventTranslatorPlayerTest1.xml Diff File
mod - Libs/MRML/Widgets/Testing/qMRMLRangeWidgetEventTranslatorPlayerTest1.cxx Diff File
mod - Libs/MRML/Widgets/Testing/qMRMLRangeWidgetEventTranslatorPlayerTest1.xml Diff File
mod - Libs/MRML/Widgets/Testing/qMRMLVolumeInfoWidgetEventTranslatorPlayerTest1.xml Diff File
mod - Libs/MRML/Widgets/Testing/qMRMLWindowLevelWidgetEventTranslatorPlayerTest1.xml Diff File
mod - Libs/MRML/Widgets/qMRMLColorTableView.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLItemDelegate.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLItemDelegate.h Diff File
mod - Libs/MRML/Widgets/qMRMLRangeWidget.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLRangeWidget.h Diff File
mod - Libs/MRML/Widgets/qMRMLSliceControllerWidget.cxx Diff File
mod - Libs/MRML/Widgets/qMRMLSliceControllerWidget_p.h Diff File
mod - Modules/Loadable/CropVolume/Resources/UI/qSlicerCropVolumeModuleWidget.ui Diff File
mod - Modules/Loadable/Measurements/Resources/UI/qSlicerMeasurementsAngleWidget.ui Diff File
mod - Modules/Loadable/Measurements/Resources/UI/qSlicerMeasurementsRulerWidget.ui Diff File
mod - Modules/Loadable/Reformat/Resources/UI/qSlicerReformatModuleWidget.ui Diff File
mod - Modules/Scripted/EditorLib/PaintEffect.py Diff File
mod - Modules/Scripted/EditorLib/WandEffect.py Diff File
mod - SuperBuild/External_CTK.cmake Diff File

Slicer: 2145-support-for-installing-extension-from-file ed5f4ed6

2013-07-18 18:01:16

finetjul

Details Diff
BUG: Fix decimals in volumes module

Loading MRHEAD, we want the default coordinates to be:
- spacing: 1.0, 1.0, 1.3
- origin: -86.645, 133.929, 116.786 if the length unit precision is 3
Issues 0002480, 0002986, 0003074...

git-svn-id: http://svn.slicer.org/Slicer4/trunk@22212 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Libs/MRML/Widgets/Resources/UI/qMRMLVolumeInfoWidget.ui Diff File
mod - SuperBuild/External_CTK.cmake Diff File

Issue History

Date Modified Username Field Change
2013-02-26 17:35 fedorov New Issue
2013-02-26 17:35 fedorov Status new => assigned
2013-02-26 17:35 fedorov Assigned To => kikinis
2013-02-26 17:36 fedorov Assigned To kikinis => finetjul
2013-03-19 13:04 finetjul Relationship added related to 0002480
2013-03-19 13:15 finetjul Relationship added related to 0002973
2013-03-19 13:16 finetjul Relationship added related to 0002615
2013-04-19 15:02 finetjul Assigned To finetjul => johan.andruejol
2013-04-19 18:21 johan.andruejol Note Added: 0008453
2013-04-19 18:21 johan.andruejol Status assigned => resolved
2013-04-19 18:21 johan.andruejol Resolution open => fixed
2013-04-27 09:31 fedorov Note Added: 0008528
2013-04-27 09:31 fedorov Status resolved => assigned
2013-04-27 09:31 fedorov Resolution fixed => open
2013-04-27 09:49 fedorov Relationship added related to 0003074
2013-07-02 07:08 johan.andruejol Note Added: 0008813
2013-07-08 12:30 finetjul Note Added: 0008906
2013-07-08 12:30 finetjul Status assigned => resolved
2013-07-08 12:30 finetjul Fixed in Version => Slicer 4.3.0
2013-07-08 12:30 finetjul Resolution open => fixed
2013-07-08 18:34 fedorov Status resolved => closed
2013-07-25 11:29 fedorov Note Added: 0009198
2013-07-25 11:29 fedorov Status closed => feedback
2013-07-25 11:29 fedorov Resolution fixed => reopened
2013-07-25 18:52 finetjul Note Added: 0009201
2013-07-26 04:33 fedorov Note Added: 0009205
2013-07-26 04:33 fedorov Status feedback => closed
2013-07-26 04:33 fedorov Resolution reopened => fixed
2013-07-26 09:36 finetjul Relationship added related to 0003038
2014-03-06 06:16 jcfr Target Version => Slicer 4.3.0
2017-06-07 23:27 finetjul Changeset attached => Slicer 2145-support-for-installing-extension-from-file ed5f4ed6
2017-06-07 23:27 johan.andruejol Changeset attached => Slicer 2145-support-for-installing-extension-from-file deb68b97