It should be possible for the user to disable selected quicksearch providers.
Quicksearch is a very powerful and easy to extend feature which may find fast adoption in third party plugins. The
problem is that it is not context sensitive. You don't want e.g mobile specific results when you are editing a webpage
or have websearch constantly enabled. In our case (NetBeans OpenGL Pack) we already provide four additional categories
(OpenGL SDK, OpenGL Extensions, two Vendor Extension categories and soon JOGL doc) and the problem starts right there.
proposed solution with best user experience:
-instead of having radio buttons in the drop down menu use checkboxes (checked means enabled)
-"enable all" and "disable all" menu items for easier use
-for power users there could be even the old mode trigged with the right mouse button which disables all categories
except the selected (same behaviour like now to have the best of both)
list all quicksearch provider categories in the nb options and find a good way to disable them in ui (table with
checkboxes or similar)
*** Bug 138453 has been marked as a duplicate of this bug. ***
Created attachment 130350 [details]
Created attachment 130351 [details]
Screenshots - compare current and proposed state
I think that the enhancement is reasonable.
Thank you for reporting it.
CCing uireviews, please check the changes.
Left-click selects/deselects single category, right-click toggles "only this category enabled"/"only this category disabled, others enabled".
I like the proposed changes, but I'm somewhat skeptical about the right-click interaction. That doesn't seem to be very discoverable, nor do I know if it's a standard behavior that users would expect to see. Are there other UI examples that use this convention?
(In reply to comment #5)
> I like the proposed changes, but I'm somewhat skeptical about the right-click
> interaction. That doesn't seem to be very discoverable, nor do I know if it's
> a standard behavior that users would expect to see.
Thank you, Rich. I implemented the right-click just because it was requested and it could be useful for a few users. It can be noted in help or in some blogs. I agree that majority of users will not discover it, but they won't probably need it.
Do you think the right-click should be removed, or can we leave it there for the minority of users that discover it and that find it useful?
Or would adding some tooltip help?
> Are there other UI examples that use this convention?
I'm not aware of any examples of this convention.
I think it's fine to leave it in there, and if we can add a tooltip that reads "Right-click to de-select all other categories", that would be great for discoverability's sake.
Created attachment 130540 [details]
Proposed Patch v2
Thank you, Rich.
Integrated as http://hg.netbeans.org/core-main/rev/0fc792112f38
Thanks for reporting and your comments.
Integrated into 'main-golden', will be available in build *201301300001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Jaroslav Havlin <email@example.com>
Log: #143367: Add option to disable Quicksearch provider