View Issue Details

IDProjectCategoryView StatusLast Update
0002009Slicer4Core: GUIpublic2014-03-06 05:19
ReporterLchauvin Assigned Tofinetjul  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
PlatformMacOSOSXOS VersionLion
Product VersionSlicer 4.1.0 
Target VersionSlicer 4.3.0Fixed in VersionSlicer 4.3.0 
Summary0002009: QtDesigner crashes when adding SpinBox or DoubleSpinBox
Description

I noticed when adding a SpinBox or DoubleSpinBox directly in a ctkCollapsibleButton, Qt designer crash with this report:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x00000001019e93c0 typeinfo for QAbstractSpinBox + 0
1 QtGui 0x0000000101417068 QAbstractSpinBoxPrivate::updateEdit() + 532
2 QtGui 0x0000000101419bd1 QAbstractSpinBoxPrivate::init() + 55
3 QtGui 0x000000010141aed3 QAbstractSpinBox::QAbstractSpinBox(QAbstractSpinBoxPrivate&, QWidget) + 63
4 QtGui 0x00000001014a3b16 QSpinBox::QSpinBox(QWidget
) + 54
5 QtDesigner 0x0000000100599fb0 qdesigner_internal::WidgetFactory::createWidget(QString const&, QWidget) const + 2330
6 QtDesignerComponents 0x000000010017fa14 qdesigner_internal::QDesignerResource::createWidget(QString const&, QWidget
, QString const&) + 102

Steps To Reproduce

1) Create a new module with ModuleWizard.py
2) Open Qt designer with Slicer environment(./Slicer --designer)
3) Open UI file of this new module
4) Drag and drop a SpinBox in the ctkCollapsibleButton
5) Crash.

Additional Information

I noticed that drag and dropping the SpinBox in the main layer (not the ctkCollapsibleButton), and then drag and drop it in the ctkCollapsibleButton works.
The crash only happen when drag and dropping directly on ctkCollapsibleButton.

I didn't notice this behavior in other widgets (not tested all of them).

TagsNo tags attached.

Activities

finetjul

finetjul

2013-07-17 06:27

administrator   ~0009095

CTK issue: https://github.com/commontk/CTK/issues/349

finetjul

finetjul

2013-07-17 06:28

administrator   ~0009096

Fixed in r22203

jcfr

jcfr

2014-03-06 05:18

administrator   ~0011121

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

Issue History

Date Modified Username Field Change
2012-05-10 06:38 Lchauvin New Issue
2012-05-10 06:38 Lchauvin Status new => assigned
2012-05-10 06:38 Lchauvin Assigned To => finetjul
2012-08-22 05:56 jcfr Target Version => Slicer 4.3.0
2013-07-17 06:27 finetjul Note Added: 0009095
2013-07-17 06:28 finetjul Note Added: 0009096
2013-07-17 06:28 finetjul Status assigned => resolved
2013-07-17 06:28 finetjul Fixed in Version => Slicer 4.3.0
2013-07-17 06:28 finetjul Resolution open => fixed
2014-03-06 05:18 jcfr Note Added: 0011121
2014-03-06 05:19 jcfr Status resolved => closed