MantisBT - ParaView
View Issue Details
0009193ParaViewBugpublic2009-06-22 12:492009-07-20 10:56
Ken Moreland 
Julien Finet 
normalminorhave not tried
closedfixed 
 
3.8 
0009193: Odd size for blocks widget in Exodus reader
In the Exodus reader, the size of the widget used to show blocks (or hierarchy, materials, etc) seems very wrong. Load in disk_out_ref or can and see that the widget shown the blocks is huge even though there are few blocks in the file.

I first noticed this issue after upgrading to Qt 4.5. I suspect that is related to the problem.
No tags attached.
related to 0009144closed Julien Finet Information tab boxes too small 
Issue History
2009-06-22 12:49Ken MorelandNew Issue
2009-06-22 12:50Ken MorelandRelationship addedrelated to 0009144
2009-07-15 11:45Utkarsh AyachitStatusbacklog => tabled
2009-07-15 11:45Utkarsh AyachitAssigned To => Julien Finet
2009-07-15 11:47Utkarsh AyachitNote Added: 0016876
2009-07-17 15:50Julien FinetNote Added: 0016890
2009-07-17 15:50Julien FinetStatustabled => @80@
2009-07-17 15:50Julien FinetResolutionopen => fixed
2009-07-20 10:56Ken MorelandNote Added: 0016914
2009-07-20 10:56Ken MorelandStatus@80@ => closed

Notes
(0016876)
Utkarsh Ayachit   
2009-07-15 11:47   
Yup, this is definitely a 4.5 issue. Julien, the offending code my be in pqTreeView.cxx or pqTreeWidget.cxx (there's some sizeHint() business that I am guessing isn't working anymore).
(0016890)
Julien Finet   
2009-07-17 15:50   
QT4.5 uses QWidgetItemV2 instead of QWidgetItem, the difference is that QWidgetItemV2 caches the sizeHint of the associated widget. When the pqtreeview is updated (ie new row), we need to delete the cache. Calling updateGeometry is the only to clear the cache of the QWidgetItemV2.

File changed: ParaView3/Qt/Widgets/pqTreeView.cxx: 1.4
(0016914)
Ken Moreland   
2009-07-20 10:56   
Yea. I can see the variable information again.