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.
I never use this functionality before, it is slow. I tried yesterday, and search a Hibernate in maven repository. I started NetBeans today, and I found the cursor was focused on the search text field. And the history was displayed. I clicked the search icon tried to find an action to clear the history, but I can not find it. The worst is that the history displayed every time the cursor was focused.
Created attachment 90119 [details] screenshot
Well, yes the focus thing is unpleasant, but it's kind of Swing behavior combined with the UI of quick search, we can't do much about it. It is enough to press Esc and focus will go away and history will be hidden. However, "clear history" command is pretty common, so we should consider adding it. I'm changing to enhancement to track it.
I think it can design a new UI/Component to accomplish this. Please steal some idea from JEdit UI.
Sorry, I don't understand your comment. Can you please be more specific and explain in greater detail? Thanks.
Created attachment 92581 [details] screenshot Jedit provide an entrybox(reuse in all jedit components) with history management. But it is not produce this problem.
http://hg.netbeans.org/core-main/rev/d069b37a9185 Fixed. The "Clear recent searches" action is shown below recent searches in the Quick Search pop-up menu. Thank you for reporting.