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 247497 - Go to File dialog doesn't select first match
Summary: Go to File dialog doesn't select first match
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Jump To (show other bugs)
Version: 8.0.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
: 247328 247429 251201 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-09-26 13:10 UTC by voda
Modified: 2015-11-07 07:32 UTC (History)
5 users (show)

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 voda 2014-09-26 13:10:40 UTC
In the "Go to File" dialog, when anything is found, the first match is not selected. So writing the filename and hitting Enter doesn't do anything.
The "Go to Symbol" and "Go to Type" work as expected (they select the first match).
Comment 1 Jiri Prox 2014-09-26 16:15:32 UTC
*** Bug 247429 has been marked as a duplicate of this bug. ***
Comment 2 Jiri Prox 2014-09-26 16:16:03 UTC
reproducible
Comment 3 Tomas Zezula 2014-10-01 11:19:03 UTC
Works fine for me, the first item is selected.
Comment 4 voda 2014-10-01 11:33:27 UTC
Tried now in todays dev version and it works. So maybe someone already fixed it.
Comment 5 Tomas Zezula 2014-10-01 11:36:38 UTC
Strange.
As I am now working on completely different things now and I am only one who commits to it. Please if it happens again reopen it, it may be look & feel related race condition.
Thanks!
Comment 6 Tomas Zezula 2014-10-03 09:33:28 UTC
*** Bug 247328 has been marked as a duplicate of this bug. ***
Comment 7 sidtj 2014-10-04 18:22:55 UTC
Sorry, like explained in #247328 by me, it is NOT working for me. I even tryed to change the L&F to test but with no results.

I really thinks it is a bug.
Comment 8 ltvpro 2014-10-30 09:41:49 UTC
My NetBean is running on Window 8.1, the first match is not selected too. However, if I press BackSpace, the first match is selected automatically. 

In some rare cases, the first match is selected but if I type one more character, the first match is unselected right away. This symptom does not occur consistently, i.e. the first match is not selected if I repeat that string again.
Comment 9 sidtj 2014-10-30 15:48:35 UTC
(In reply to ltvpro from comment #8)
> My NetBean is running on Window 8.1, the first match is not selected too.
> However, if I press BackSpace, the first match is selected automatically. 
> 
> In some rare cases, the first match is selected but if I type one more
> character, the first match is unselected right away. This symptom does not
> occur consistently, i.e. the first match is not selected if I repeat that
> string again.

In my case, even when the first match is selected automatically, press enter does not open it, but just close the window. I still have to click or tab to it before press enter if i want it to open.
Comment 10 mintern 2014-11-04 13:13:23 UTC
I have the same issue as ltvpro, on Ubuntu 14.04, NetBeans 8.0.1.

While typing characters, the first result is not usually not selected (but occasionally it is). Pressing backspace always selects the first option (after deleting a character and refreshing the matches).

The workaround for me is to type an extra random character and then delete it, but this is obviously suboptimal.
Comment 11 Tomas Zezula 2014-11-04 13:36:52 UTC
From the description from the comment #8 it seems that the selection is not done if EDT. I will verify.
Comment 12 nexxer 2014-12-02 12:33:38 UTC
(In reply to ltvpro from comment #8)
> My NetBean is running on Window 8.1, the first match is not selected too.
> However, if I press BackSpace, the first match is selected automatically. 
> 
> In some rare cases, the first match is selected but if I type one more
> character, the first match is unselected right away. This symptom does not
> occur consistently, i.e. the first match is not selected if I repeat that
> string again.


Exactly what I'm noticing in Netbeans 8.0, 8.0.1, 8.0.2 on Windows 7 and Windows 8 Pro 64bit.
Comment 13 Tomas Zezula 2014-12-04 09:46:52 UTC
Fixed jet-main: 8e46151fb89e
Comment 14 Quality Engineering 2014-12-06 05:36:20 UTC
Integrated into 'main-silver', will be available in build *201412060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/8e46151fb89e
User: Tomas Zezula <tzezula@netbeans.org>
Log: #247497: Go to File dialog doesn't select first match
Comment 15 Tomas Zezula 2015-03-16 15:55:55 UTC
*** Bug 251201 has been marked as a duplicate of this bug. ***
Comment 16 mintern 2015-11-07 07:32:01 UTC
Verified fixed for me in NetBeans 8.1, Ubuntu 14.04.

I like the new completion semantics a lot more, too. Thanks!