Bug 267870 - [ui] Enable completion in Available Software "work with" combo box
Summary: [ui] Enable completion in Available Software "work with" combo box
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 3.5 M7   Edit
Assignee: Susan McCourt CLA
QA Contact:
URL:
Whiteboard:
Keywords: polish, usability
Depends on:
Blocks:
 
Reported: 2009-03-10 10:51 EDT by Andrew Overholt CLA
Modified: 2009-03-20 09:30 EDT (History)
2 users (show)

See Also:


Attachments
screenshot (23.76 KB, image/png)
2009-03-10 10:52 EDT, Andrew Overholt CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Overholt CLA 2009-03-10 10:51:49 EDT
It would be great to have completion enabled in the "work with" drop down in the Available Software dialog.
Comment 1 Andrew Overholt CLA 2009-03-10 10:52:46 EDT
Created attachment 128204 [details]
screenshot

This is what I get when I type "all available software" (note the case)
Comment 2 Susan McCourt CLA 2009-03-10 10:59:15 EDT
marking 3.5 to keep on radar, that would be nice.
Comment 3 Andrew Overholt CLA 2009-03-10 11:45:38 EDT
The string I typed in seems to be remembered as a repository or something and I get repository errors with "all%20"available%20software" as the repository name :)
Comment 4 Susan McCourt CLA 2009-03-10 11:49:09 EDT
yep, it assumed you were adding a site...
you can delete it from the pref page to stop the errors (though I would expect you only got one error?)
Comment 5 Andrew Overholt CLA 2009-03-10 12:05:04 EDT
(In reply to comment #4)
> yep, it assumed you were adding a site...
> you can delete it from the pref page to stop the errors (though I would expect
> you only got one error?)

I get that one error every time I open the dialog or try to do an operation (I think ... it's hard to remember exactly when I've gotten it).
Comment 6 Susan McCourt CLA 2009-03-19 14:19:47 EDT
fixed in HEAD >20090319.
First try was with out of the box JFace AutoCompleteField but there were too many oddities with combo boxes.  Opened bug 269426.

Lucky for you it didn't work, because once I had to crack it open, I figured I may as well give you the wild card pattern matching, etc...  
Had to copy the platform UI string matcher to get that working.  Opened bug 269424.

So now you can type part of a site name or location and get pattern matching in the autocomplete.  And because '*' is ignored by the pattern matcher, the special entry in the combos are now shown as

--All Available Sites--
--Local Sites Only--

So that you can pattern match on '-' to find those.

I'll await the bug for bolding the partial matches in the combo box like Firefox does ;-)
Comment 7 Andrew Overholt CLA 2009-03-20 09:30:14 EDT
(In reply to comment #6)
> So now you can type part of a site name or location and get pattern matching in
> the autocomplete.  And because '*' is ignored by the pattern matcher, the
> special entry in the combos are now shown as
> 
> --All Available Sites--
> --Local Sites Only--
> 
> So that you can pattern match on '-' to find those.

Awesome, sounds good!