Bug 262611 - [ui] Software without defined names do not match filters
Summary: [ui] Software without defined names do not match filters
Status: RESOLVED FIXED
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: p2 (show other bugs)
Version: 3.5   Edit
Hardware: PC Windows XP
: P4 normal (vote)
Target Milestone: 3.5 M7   Edit
Assignee: P2 Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: polish
Depends on:
Blocks:
 
Reported: 2009-01-27 13:06 EST by Matthew Piggott CLA
Modified: 2009-03-18 15:52 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Piggott CLA 2009-01-27 13:06:42 EST
Some of the software (eg master-root.feature.group on http://download.eclipse.org/eclipse/updates/3.5-I-builds) listed on the Available Software window will not match filter text.   The same software also seems to be ordered first on in the list out of alphabetical order.

The affected software seems to those which don't have a name defined, and instead are listed by their id(?).
Comment 1 Susan McCourt CLA 2009-01-27 19:19:32 EST
It's possible these are listed with blank names, which would sort first, but the label provider would choose to show id instead.  It does seem odd to sort on a different key than what is displayed...

marking 3.5 as a polish item
Comment 2 Susan McCourt CLA 2009-03-18 15:52:04 EDT
fixed in HEAD >20090318.
- sorter now uses id field if name is empty and name is not showing in another column.
- pattern filter now filters on id field in same situation
- clients of the sorter specify which columns are showing so the right decision can be made.