View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0004428||Slicer4||Module SubjectHierarchy||public||2017-09-07 10:14||2017-09-12 09:47|
|Target Version||Fixed in Version|
|Summary||0004428: qMRMLSubjectHierarchyComboBox is not populated if instantiated before the images are loaded|
I have a scripted widget which contains qMRMLSubjectHierarchyComboBox controls for selecting volumes. If this widget is accessed before before any data is loaded, the combo boxes are not populated, even when data is subsequently loaded.
Reproducible in this example (patient selection combo boxes):
|Tags||No tags attached.|
Thanks, I'll look into this. There are further issues with the combobox, it certainly needs attention.
I had to play around quite a while to find out when the problem you reported actually happens. It turns out that you need to have a filter in place to reproduce the issue.
Please in the future make sure you describe your problem in more detail, to avoid the developer having to spend extra time to find out what you already know, but chose not to share (the one about the filter), or not specifically enough (such as "access" and "data" in your description). Thanks!
Sorry about not being specific enough about accessing the widget. I didn't know I needed to be more specific than "before any data is loaded". In my testing, most qMRMLSubjectHierarchyComboBoxes had filters set, so I didn't notice it is a requirement for the bug to surface.
But you could have also asked for more information about reproducing, you didn't have to spend to much time re-creating it.
Hi Dzenan, I believe I fixed the issue. This was a tough one!
Please see if it works tomorrow. If so, please close the ticket.
That seems to have fixed it. Thanks Csaba!
|2017-09-07 10:14||dzenanz||New Issue|
|2017-09-07 10:14||dzenanz||Status||new => assigned|
|2017-09-07 10:14||dzenanz||Assigned To||=> pinter|
|2017-09-07 10:43||pinter||Note Added: 0015091|
|2017-09-08 11:32||pinter||Note Added: 0015092|
|2017-09-08 11:53||dzenanz||Note Added: 0015093|
|2017-09-08 15:52||pinter||Note Added: 0015094|
|2017-09-12 09:47||dzenanz||Status||assigned => closed|
|2017-09-12 09:47||dzenanz||Resolution||open => fixed|
|2017-09-12 09:47||dzenanz||Note Added: 0015096|