Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 72232 - [Keys] Indicate sort order on Keys > View page
Summary: [Keys] Indicate sort order on Keys > View page
Status: VERIFIED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P1 enhancement (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Douglas Pollock CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-19 04:36 EDT by Dani Megert CLA
Modified: 2004-09-22 11:56 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dani Megert CLA 2004-08-19 04:36:09 EDT
I20040817

The Keys' view page columns can be sorted by pressing on the column header.
Good! The current sort column should be indicated (visible for the user).
Comment 1 Douglas Pollock CLA 2004-08-19 12:49:58 EDT
The sort order is currently considers all columns.  Selecting a column moves it 
to the front of the sort order.  So if you had [1,2,3,4] as your sort order and 
then selected [3], you would get a sort order of [3,1,2,4]. 
 
I don't think I can get native sort indicators (those little arrow things), and 
I'm not sure they would be meaningful enough for the type of sorting mechanism 
there is. 
 
Do you have any thoughts on a way of presenting this kind of information to the 
user?  Perhaps numbers next to the column names (seems a bit hokey)? 
 
Comment 2 Dani Megert CLA 2004-08-20 04:08:13 EDT
Adding a hint to the last clicked column header is good enough I think. That you
perform the sorting with a preserving sort algo is just another goody that I get ;-)

Yes, native indicator isn't supported afaik but you could do it like in Eclipse
Hyades: they simply put > and < into the column header.
Comment 3 Douglas Pollock CLA 2004-08-20 09:54:18 EDT
I'm worried about internationalization issues that might be caused by inserting 
text before and after the column name.  I need to think about this, and ask 
around a bit.... 
 
I guess in the worse case, I could just define a "sorted" and "unsorted" name 
for each column.... 
Comment 4 Douglas Pollock CLA 2004-08-20 16:05:20 EDT
Fixed in CVS.  I put "sorted" and "unsorted" names for each column.  The 
primary sort column is displayed with a "sorted" name; the other appear with no 
sort indicator. 
Comment 5 Douglas Pollock CLA 2004-09-22 11:56:39 EDT
Verified in I200409212000, GTK+ 2.4.9, KDE 3.3.0, Linux 2.6.8.1