MantisBT - ParaView
View Issue Details
0010299ParaViewFeaturepublic2010-02-16 13:482011-09-01 13:31
Ken Moreland 
Andy Bauer 
normalminorhave not tried
closedfixed 
 
WhenPossible3.12 
0010299: Coprocessing plugin: No cancel on export state wizard
The export state wizard has Go Back and Continue buttons, but no cancel buttons. Thus, there is no clear way to cancel the wizard if, for example, you realize you made a mistake and want to correct it before exporting the state.

I later discovered that pressing esc seems to cancel the window. It wasn't obvious, though, and I went through the wizard several times unnecessarily before realizing it.
No tags attached.
png exportstatedialog.png (65,742) 2010-02-27 13:30
https://www.vtk.org/Bug/file/7910/exportstatedialog.png
png

png cpwizard-linux.png (17,938) 2010-03-01 12:47
https://www.vtk.org/Bug/file/7921/cpwizard-linux.png
png

png exportstatedialog2.png (156,283) 2010-03-31 11:42
https://www.vtk.org/Bug/file/8002/exportstatedialog2.png
png
Issue History
2010-02-16 13:48Ken MorelandNew Issue
2010-02-16 13:49Ken MorelandStatusbacklog => tabled
2010-02-16 13:49Ken MorelandAssigned To => Andy Bauer
2010-02-26 13:35Andy BauerNote Added: 0019650
2010-02-26 13:35Andy BauerStatustabled => @20@
2010-02-27 13:30Ken MorelandFile Added: exportstatedialog.png
2010-02-27 13:31Ken MorelandNote Added: 0019657
2010-02-27 13:31Ken MorelandStatus@20@ => tabled
2010-03-01 12:47Andy BauerNote Added: 0019667
2010-03-01 12:47Andy BauerFile Added: cpwizard-linux.png
2010-03-01 13:07Ken MorelandNote Added: 0019668
2010-03-01 14:09Andy BauerNote Added: 0019669
2010-03-01 16:48Andy BauerNote Added: 0019670
2010-03-01 16:48Andy BauerStatustabled => @80@
2010-03-01 16:48Andy BauerFixed in Version => Development
2010-03-01 16:48Andy BauerResolutionopen => fixed
2010-03-02 12:58Alan ScottNote Added: 0019686
2010-03-02 12:58Alan ScottStatus@80@ => closed
2010-03-31 11:42Ken MorelandFile Added: exportstatedialog2.png
2010-03-31 11:43Ken MorelandNote Added: 0020036
2010-03-31 11:43Ken MorelandStatusclosed => @20@
2010-03-31 11:43Ken MorelandResolutionfixed => reopened
2010-03-31 15:19Ken MorelandStatus@20@ => tabled
2010-04-16 01:28Utkarsh AyachitTarget Version3.8 => WhenPossible
2010-04-22 10:30Andy BauerNote Added: 0020349
2010-04-22 10:30Andy BauerStatustabled => @80@
2010-04-22 10:30Andy BauerResolutionreopened => fixed
2010-04-27 15:00Ken MorelandStatus@80@ => closed
2011-06-16 13:10Zack GalbreathCategoryFeature Request => Feature
2011-09-01 13:31Utkarsh AyachitFixed in VersionDevelopment => 3.12

Notes
(0019650)
Andy Bauer   
2010-02-26 13:35   
I wasn't able to recreate this behavior on my machine. Please verify that it is still a problem.
(0019657)
Ken Moreland   
2010-02-27 13:31   
Attached is a screenshot from my computer from ParaView CVS today. Notice that there is no "Cancel" button. There should be a cancel button.
(0019667)
Andy Bauer   
2010-03-01 12:47   
Here's a screen shot on my linux machine showing that it's not a problem there. I'll get on a mac and fix it there.

By the way, what version of qt are you using and what Mac OS version?
(0019668)
Ken Moreland   
2010-03-01 13:07   
I admit I am using Qt 4.5, not 4.6. My Mac OS is 10.5.8.
(0019669)
Andy Bauer   
2010-03-01 14:09   
As a side note, it looks like the coprocessing plugin does not work on any platform (at least on XP and ubuntu for me) with qt 4.5 since the "CoProcessing" and "Writers" menus don't appear. I'm still working on checking it out for both qt 4.5 and qt 4.6 on a mac.
(0019670)
Andy Bauer   
2010-03-01 16:48   
It looks like the MacStyle does not have the cancel button by default (see http://doc.qt.nokia.com/4.6/qwizard.html#wizardStyle-prop [^]). It was weird for me in that on my ubuntu machine if I changed the QWizard style to MacStyle I did get the cancel button with Qt 4.6. In any case, I changed the style to ModernStyle to make sure that we do not use MacStyle.

Let me know how this works out.
(0019686)
Alan Scott   
2010-03-02 12:58   
We expect that this is an old version of Qt. If this bug still exists after updating Qt, please re-open it.
(0020036)
Ken Moreland   
2010-03-31 11:43   
Nope. I upgraded to Qt 4.6.2 and I am still missing the Cancel button. I have uploaded a new screen shot.
(0020349)
Andy Bauer   
2010-04-22 10:30   
I tested this and it's fixed now. Apparently setting the WizardStyle to ModernStyle gets overridden on the mac. The fix was to use setOption(QWizard::NoCancelButton, false). This may be more information than desired but hopefully the next person that hits this problem sees this note :)

Thanks to Rob Maynard for pointing the fix out to me.