Tracker: Bugs

5 VFSBrowser returns wrong filename after directory <enter> - ID: 3562064
Last Update: Comment added ( jarekczek )

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 .
https://sourceforge.net/tracker/index.php?func=detail&aid=3562060&group_id=588&atid=100588


Jarek Czekalski ( jarekczek ) - 2012-08-27 03:07:54 PDT

5

Open

None

Nobody/Anonymous

virtual file systems

None

Public


Comments ( 2 )

Date: 2012-09-09 23:06:23 PDT
Sender: jarekczek

Prerequisites for steps to reproduce:
1. existing directory, for example c:\temp\1
2. existing text file, for example: c:\temp\1\ab

I don't think this is a duplicate, as other reports are not about the value
returned by the function.


Date: 2012-09-08 21:22:05 PDT
Sender: ezustProject AdminAccepting Donations

Your steps to reproduce do not explain what folders/files must be created
before following these steps.
Related or Duplicate? issues: 2204124 and 3489802



Attached File

No Files Currently Attached

Changes ( 6 )

Field Old Value Date By
status_id Pending 2012-09-09 23:06:23 PDT jarekczek
resolution_id Duplicate 2012-09-09 23:06:23 PDT jarekczek
close_date 2012-09-08 21:25 2012-09-09 23:06:23 PDT jarekczek
status_id Open 2012-09-08 21:25:59 PDT ezust
resolution_id None 2012-09-08 21:25:59 PDT ezust
close_date - 2012-09-08 21:25:59 PDT ezust