This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 192347 - Improper TAB completion behavior in dirchooser
Summary: Improper TAB completion behavior in dirchooser
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Directory Chooser (show other bugs)
Version: 7.0
Hardware: PC Linux
: P2 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords: A11Y, REGRESSION
Depends on:
Blocks: 192271
  Show dependency tree
 
Reported: 2010-11-23 16:00 UTC by Jesse Glick
Modified: 2010-11-24 06:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2010-11-23 16:00:01 UTC
After the fix of bug #192271, the dir chooser behaves strangely for me and is much less usable from the keyboard. (Mouse usage is OK.)

Say the starting dir is /tmp and I am trying to open /space/src/nb/main/nbbuild as a project. I type "/sp" (replacing the prior text) and press TAB as always, but nothing happens. A moment later, "/space" appears in the dropdown and pressing TAB again works. Basically, only if I am willing to wait a second between each path component can I use completion.

And if I am typing path components rapidly without completion and then press TAB for a longer component I want to complete, sometimes the chooser will _erase_ components I previously typed. So I have "/space/src/nb/main/nbb" in the box (all typed by hand) and I press TAB quickly, and I am left with "/space/"!

Or sometimes I am even left with some unrelated subdir of /space/src; or for example with "/tmp/" in the box and showing some projects such as "mavenproject1" in the scroll area, I type "mav" and press TAB and am left with "/tmp/.esd-500/" (which due to the dot was not even offered in the scroll area).

Tricky to reproduce a particular problem, since it seems to be timing-dependent, but easy to reproduce assorted problems.

Very frustrating in test user directories. (In my normal user dir I have Quick File Chooser installed so I am not using the dirchooser.)
Comment 1 Ondrej Vrabec 2010-11-23 17:26:20 UTC
Ach jo, i suspected the fix for bug #192271 would not be so easy.
Comment 2 Ondrej Vrabec 2010-11-23 18:50:31 UTC
fix: #aac9cecd363c - http://hg.netbeans.org/core-main/rev/aac9cecd363c
Comment 3 Ondrej Vrabec 2010-11-23 18:52:45 UTC
I hope it's gonna work better now, i tried it several times and it seemed fine to me. Let me know if it's enough.
Comment 4 Jesse Glick 2010-11-23 19:19:55 UTC
Seems to be back to its former behavior.
Comment 5 Quality Engineering 2010-11-24 06:11:29 UTC
Integrated into 'main-golden', will be available in build *201011240001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/aac9cecd363c
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: Issue #192347 - Improper TAB completion behavior in dirchooser