MantisBT - ParaView
View Issue Details
0014162ParaView(No Category)public2013-07-03 13:212013-11-01 13:18
Robert Maynard 
Robert Maynard 
normalminorhave not tried
closedfixed 
4.1 
4.1 
TBD
filechooser_directory_bug
incorrect functionality
0014162: pqFileChooserWidget directory mode drops the last directory
I am attempting to use pqFileChooserWidget to select a path for storing temp files in my properties panel, and I am having trouble.

I am using it as follows:

create a custom property panel widget using a pqFileChooserWidget as the ui.
Set setUseDirectoryMode(true)

When selecting a path, the following odd behavior occurs:

1) Select the path the I want
2) click OK
3) in the dialog, the path ONE STEP BELOW the selected path is displayed.

For example: if I select /tmp, the ui will show that / is selected. If I select /tmp/sc01a, the ui shows /tmp as selected.

Could someone provide some information on why this may be occurring?
No tags attached.
Issue History
2013-07-03 13:21Robert MaynardNew Issue
2013-07-03 13:21Robert MaynardAssigned To => Robert Maynard
2013-07-03 13:21Robert MaynardTopic Name => filechooser_directory_bug
2013-07-03 13:21Robert MaynardStatusbacklog => gatekeeper review
2013-07-03 13:21Robert MaynardResolutionopen => fixed
2013-07-12 14:07Utkarsh AyachitFixed in Version => git-master
2013-07-12 14:07Utkarsh AyachitStatusgatekeeper review => customer review
2013-07-12 14:07Utkarsh AyachitNote Added: 0031134
2013-08-12 12:09Robert MaynardNote Added: 0031438
2013-08-12 12:09Robert MaynardStatuscustomer review => closed
2013-11-01 13:18Utkarsh AyachitFixed in Versiongit-master => 4.1

Notes
(0031134)
Utkarsh Ayachit   
2013-07-12 14:07   
merged into master.
(0031438)
Robert Maynard   
2013-08-12 12:09   
Tested and verified that the file chooser widget works properly in directory mode.