From: SourceForge.net <no...@so...> - 2009-12-23 22:17:19
|
Bugs item #1570554, was opened at 2006-10-04 02:11 Message generated for change (Settings changed) made by ezust You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1570554&group_id=588 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: editor core Group: severe bug >Status: Closed Resolution: Works For Me Priority: 5 Private: No Submitted By: Jiger (jigerjava) Assigned to: Alan Ezust (ezust) Summary: File Open Dialog: can't handle full pathnames Initial Comment: Hi, When typing in a path in FSB, it does not go to the path typed in "File Name" box. I am using jedit cvs version with jdk 1.5.0_08. This used to work in previous jedit versions. Jiger ---------------------------------------------------------------------- >Comment By: Alan Ezust (ezust) Date: 2009-12-23 14:17 Message: closed as works for me. The FSB was reworked quite a bit since this was opened. ---------------------------------------------------------------------- Comment By: Robert Schwenn (rschwenn) Date: 2008-03-05 13:43 Message: Logged In: YES user_id=1486645 Originator: NO I tried file open dialog and VFS browser. I typed the following strings into the path field and/or the filename field: g: g:\bat g:\bat\ g:\bat/ In every case the dialog resp. browser changed to the desired path - it couldn't be more perfect! jEdit 4.3pre12 SUN JRE 1.6.0_03 WinXP SP2 ---------------------------------------------------------------------- Comment By: Jiger (jigerjava) Date: 2006-10-16 00:07 Message: Logged In: YES user_id=509260 yes using /(forward slash) does make a difference. But using forward slash on windows is counter intuitive esp. for pure windows users. OS file separator must be respected. Also to go to root drives say c:, I HAVE TO type c:/ if I just type c: then also it does not work. Looks like jEdit is ignoring \(back slash) and only using /. Jiger ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2006-10-11 18:41 Message: Logged In: YES user_id=935841 does it make a difference whether you are using forward or backslashes? Also, can anyone else reproduce this? ---------------------------------------------------------------------- Comment By: Jiger (jigerjava) Date: 2006-10-10 00:09 Message: Logged In: YES user_id=509260 C:\jiger\jEdit>svn up U org\gjt\sp\jedit\textarea\InputMethodSupport.java U org\gjt\sp\jedit\PluginJAR.java Updated to revision 7377. I am running this one. Updated on 10/10/06. And Oh my god, even the stuff I mentioned in my last message is again not working after the above update. Now whether I type c:\jiger\ (with slash) or c:\jiger or c: or c:\ it simply opens the currently selected file when I press enter. Definitely broken. I am running WinXPSP2 on Java java version "1.5.0_08" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03) Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode, sharing) Now it is back to square one. Jiger ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2006-10-09 18:58 Message: Logged In: YES user_id=935841 I am unable to reproduce this on my particular windows system. Windows 2000 SP4 with JDK 1.6.0 beta2 and jedit 4.3pre8 (svn). Please double-check you are using the latest from subversion. ---------------------------------------------------------------------- Comment By: Jiger (jigerjava) Date: 2006-10-08 23:09 Message: Logged In: YES user_id=509260 It still does not work as expected. Bug 1: I press Ctrl+O, the Open dialog opens. I type c: and press enter it opens the currently selected file(that too with name not starting with C even) instead of going to c: drive listing. Bug 2: I have a directory called c:\jiger containing a lot of files and directory. Now I am say in directory c:\dir1\dir2 when Ctrl+O is pressed. I start typing c:\jiger expecting that the dialog will list me all Files and directory with I press enter. I press enter after typing c:\jiger. But no, it does not go to c:\jiger instead it opens the file selected in c:\dir1\dir2. But if I type c:\jiger\(note the slash in the end) then it goes to c:\jiger directory listing. This is simply counter intuitive since you have to remember to enter slash in the end. Previous jEdit versions were very intelligent and never had any problems. Hope this gets resolved soon. :) Jiger ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2006-10-06 21:46 Message: Logged In: YES user_id=935841 Please try svn revision 7183? ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2006-10-06 08:57 Message: Logged In: YES user_id=935841 Ah, I was confused between the "file open dialog" and the "file system browser" which are two different things. I changed the subject of this ticket and will look at it soon. ---------------------------------------------------------------------- Comment By: Martin Raspe (hertzhaft) Date: 2006-10-06 07:30 Message: Logged In: YES user_id=1037294 There still is a focus/tab order problem, see #1571578. What version are you using? In 4.3pre8 (from SVN) the browser does exactly what you want. It selects a file in the files window only as long as there is a match. Pressing return, the browser switches to the directory you typed. If you press return too early or the directory you typed does not exist, jEdit opens a new file with the name you typed. ---------------------------------------------------------------------- Comment By: Jiger (jigerjava) Date: 2006-10-06 02:36 Message: Logged In: YES user_id=509260 Not too sure which version broke this behaviour but surely it was in 4.2 where we just had to type in the filepath in the "File name" text box in the dialog that is opened when you press Ctrl+O. Then there was this focus problem in 4.3pre builds then this feature made a small comeback and now it is again broken. In 4.2 I believe it used to automatically also go to that directory the moment you press \. Let alone that, atleast if it goes to that directory on pressing enter like previous jedit versions I am fine with that. The current behaviour is completely wierd. 1. Say I am in c:\dir1\dir2 containing some files. Now I press Ctrl+O and type in c:\somedirectory i) it selects some file in c:\dir1\dir2 and it I press enter it opens the file. completely wierd. It should have ideally gone to the directory I want i.e c:\somedirectory. Hope this clarifies why the high priority. Jiger ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2006-10-05 20:38 Message: Logged In: YES user_id=935841 This "bug" (which is actually a lack of a feature) was present in 4.2final also. I believe the behavior you describe predates VFS? Why is it suddenly the "highest priority"? ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2006-10-05 20:35 Message: Logged In: YES user_id=935841 I checked 4.3pre5 and it pops up a dialog and says "cannot list directory" where as now it doesn't pop up the dialog. Are you saying that in 4.2 it used to work? I only put in directory paths there, not actual files. I'm wondering where in the VFS API to call to determine if a path is a file or a directory. I have not found it yet. ---------------------------------------------------------------------- Comment By: Jiger (jigerjava) Date: 2006-10-04 23:01 Message: Logged In: YES user_id=509260 Nope. Just trying to go to c:\jiger and if I press enter, 1. it does not identify it is not a file but a directory and it should go to it. 2. It opens the file that is selected when FSB is first open which is even more undesirable. Jiger ---------------------------------------------------------------------- Comment By: Alan Ezust (ezust) Date: 2006-10-04 22:41 Message: Logged In: YES user_id=935841 I added a feature where it interprets $varname as a variable expansion, and I believe it may also interpret %varname% as a variable, which might not be desireable... Are the paths you are having trouble with containing $ or % signs in it? ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=100588&aid=1570554&group_id=588 |