When directory name is typed using keyboard, GUIUtilities.showVFSFileDialog returns wrong filename (directory name instead of filename).
1. run jedit 4.5.1 or trunk, with new settings dir
1a. download console plugin
2. beanshell console: GUIUtilities.showVFSFileDialog(view,null,VFSBrowser.OPEN_DIALOG,true)
3. type a directory name: c:\temp\1
4. double click file ab
5. shell prints c:\temp\1
Expected behaviour: print "c:\temp\1\ab"
If I use mouse only the result is correct. Something screws up when a directory is typed manually. This affects for example JDiff's "Apply patch" attempt to use VFS manager to provide the file name (Browse button).
File open works normally, that is opens the file that is double-clicked, despite returning incorrect filename. See also #3562060 .