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 197348 - quick file chooser chooses a directory too quickly
Summary: quick file chooser chooses a directory too quickly
Status: RESOLVED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Quick Filechooser (show other bugs)
Version: 7.0.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-02 03:13 UTC by speedogoo
Modified: 2011-04-08 21:02 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 speedogoo 2011-04-02 03:13:27 UTC
In my home directory there are two sub-directories starting with "pu" (case-insensitive), "Public" and "public_html". Now I want to open a file inside public_html.

1. launch the "open file" dialog
2. type in "~/pu" into the path textbox, the two names appear
3. I press TAB

Naturally, I would expect "public" appears in the textbox so that I can continue type in "_" and press TAB again to reach my destination. However

4. The text straightly changes into "/home/me/Public/"

Therefore, I have no chance to go public_html, and have to

5. press BACKSPACE, type in "_", press TAB

I hate this BACKSPACE.
Comment 1 Jesse Glick 2011-04-06 14:28:16 UTC
There was actually already logic like this but it did not consider the possibility that the completions would differ in case. contrib #19acdbec1c66
Comment 2 speedogoo 2011-04-08 08:57:32 UTC
(In reply to comment #1)
> There was actually already logic like this but it did not consider the
> possibility that the completions would differ in case. contrib #19acdbec1c66

Sorry I don't get what you mean. So it's because when I type 'pu', NetBeans first tries case-insensitive, so both "Public" and "public_html" match. And then it finds the common part is "Public", and then it becomes case-sensitive and thinks only "Public" matches and chooses it. Is that correct?
Comment 3 Jesse Glick 2011-04-08 21:02:59 UTC
Exactly it.