| View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
| 0006910 | KWWidgets | public | 2008-04-26 04:23 | 2008-10-20 13:31 | |||||
| Reporter | Peter Wainwright | ||||||||
| Assigned To | Yumin Yuan | ||||||||
| Priority | normal | Severity | major | Reproducibility | always | ||||
| Status | resolved | Resolution | fixed | ||||||
| Platform | OS | OS Version | |||||||
| Summary | 0006910: vtkKWFileBrowserDialog returns wrong file path | ||||||||
| Description | When you hit OK in a vtkKWFileBrowserDialog, it first gets the filename (without path) and checks for the existence of a file with that name IN THE CURRENT DIRECTORY. If such a file is found, FileName is set to the filename alone (without any path). (see the code following the call to vtksys::SystemTools::FileExist on line 928 of vtkKWFileBrowserDialog.cxx in CVS as of 24 Apr 2008). A comment in the code indicates that this behaviour is designed to let the user enter a full pathname in the text entry box. However, it should check to see if the content of that box really is a full path (containing '/' or '\' or other path separators). I encountered this bug when using Slicer3 to load old VoxelView datasets. Each dataset is in its own directory and contains a list of slices just named "1", "2" and so on. If I am in one VoxelView directory I can not not navigate to another directory and load it instead, since the above behaviour means that "1" always refers to "1" in the current directory. | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files | |||||||||
| Relationships | |
| Relationships |
| Notes | |
|
(0013900) Peter Wainwright (reporter) 2008-10-19 06:29 |
This sounds like it may also be the cause of the Slicer3 bug: http://www.na-mic.org/Mantis/view.php?id=331 [^] |
|
(0013909) Yumin Yuan (developer) 2008-10-20 13:31 |
This is fixed in cvs. |
| Notes |
| Issue History | |||
| Date Modified | Username | Field | Change |
| 2008-04-26 04:23 | Peter Wainwright | New Issue | |
| 2008-04-26 09:38 | Sebastien Barre | Status | new => assigned |
| 2008-04-26 09:38 | Sebastien Barre | Assigned To | => Yumin Yuan |
| 2008-10-19 06:29 | Peter Wainwright | Note Added: 0013900 | |
| 2008-10-20 13:31 | Yumin Yuan | Note Added: 0013909 | |
| 2008-10-20 13:31 | Yumin Yuan | Status | assigned => resolved |
| 2008-10-20 13:31 | Yumin Yuan | Resolution | open => fixed |
| Issue History |
| Copyright © 2000 - 2018 MantisBT Team |