Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#2384 VFSFileChooserDialog: fillter textfield eats filename events

normal bug
closed-fixed
nobody
5
2006-05-16
2005-04-27
Justin Dieters
No

When doing a "Save As" or "Save a Copy As", I am unable
to type a filename in the dialog box. I can still move
around directories, click/highlight in the input box,
etc. using the mouse, but other keyboard input doesn't
seem to work in the box either, such as the up/down keys.

No errors are output to the Activity Log when this
happens, however the behaviour seems to only happen
when using the keyboard to activate the save as. (i.e.
Alt-F Alt-A or Alt-F followed by navigating with the
arrow keys) This behaviour does not seem to happen
when going to File>Save As using the mouse.

On jEdit 4.3pre2 with Java 1.5 on Gentoo Linux.(Fluxbox WM)
(I have also noticed this behaviour since the 4.2pre's,
possibly earlier)

Discussion

1 2 3 > >> (Page 1 of 3)
  • Logged In: NO

    I got a similar problem : I cannot type in the Save dialog
    box, but I can in the Save As dialog box. The problem occurs
    when I save a new file for the first time. If I use the Save
    command, I cannot type in. So I use the Save As command, I
    got the same dialog box, but I can type in.
    This happens with 4.2 and 4.3pre2 on Fedora Core 3.

     
  • Logged In: NO

    This sort of behavior (unable to type in the save/save-as
    dialog box) also happens sporadically on Mandrake 10.1 with
    Java 1.5.0_1 and on Fedora Core 4.0 with Java 1.5.0_4 using
    JEdit 4.3pre2. Only shutting down and restarting JEdit
    temporarily fixes this behavior.

     
  • Logged In: NO

    i noticed this behaviour with sun JDK 1.5.0_04 on
    debian/sid, too.
    it seems to be dialog-related, because closing the search dialog
    usully helps. i think this bug does only occur, when the search
    dialog is open.

     
  • Logged In: NO

    I have the same problem on my linux box running slack 10.1
    with java version 1.5.0_01. The behaviour occurs with both
    jedit v4.2 and v4.3pre2.

    The inability to type anything is intermittant (it fails
    ~70% of the time) when I use keyboard shortcuts to bring up
    the file system browser.

    Using the mouse to manually select File > Open or File >
    Save never fails.

    restarting jedit doesn't seem to affect the problem

     
  • scragz
    scragz
    2006-04-01

    Logged In: YES
    user_id=775029

    I'm still getting this on 4.3pre3cvs20060330. I found
    something interesting out about it a couple days ago: if you
    click on the filter field, it will be appended with
    everything you've tried to type so far and afterwards you
    can correctly type into the filename field. Maybe this will
    help track down what's causing this evil problem.

    I only started having this happen since I switched from SuSE
    to Ubuntu a couple months ago. It seems to happen most when
    saving new files with Ctrl+S or Ctrl+Shift+S. It's SO
    ANNOYING; someone please take a look!

     
  • Alan Ezust
    Alan Ezust
    2006-04-08

    Logged In: YES
    user_id=935841

    Yes, sometimes it happens the first time I try to save a
    file, and then closing and re-trying the save the second
    time, it works fine...

    If what scragz says is true, another widget (filter field)
    is eating keystrokes so that the textbox in the file dialog
    never gets them.

    This is actually a good hint...

     
  • Alan Ezust
    Alan Ezust
    2006-04-08

    • assigned_to: nobody --> ezust
     
  • Alan Ezust
    Alan Ezust
    2006-04-09

    • summary: Unable to type in Save As dialog --> VFSFileChooserDialog: Unable to type in Save As dialog
     
  • Alan Ezust
    Alan Ezust
    2006-04-09

    Logged In: YES
    user_id=935841

    I just committed a fix to CVS. All I did was move the
    requestFocus() down a bit further in the method that creates
    the VFSFileChooserDialog, in hopes that it will happen
    after the VFSBrowser (which contains the filterField) is
    created.

    Try updating from CVS and let me know if you see the problem
    still. alternately, you can grab my JAR file:

    http://lazarus.oddiofile.com:81/workspace/jEdit/jedit.jar

     
  • Alan Ezust
    Alan Ezust
    2006-04-09

    • summary: VFSFileChooserDialog: Unable to type in Save As dialog --> VFSFileChooserDialog: fillter textfield eats filename events
    • labels: 102668 --> virtual file systems
    • status: open --> pending-fixed
     
1 2 3 > >> (Page 1 of 3)