Bug 72666 - [Markers] Default sort order for Problems view should be "severity, timestamp"
Summary: [Markers] Default sort order for Problems view should be "severity, timestamp"
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2004-08-26 06:05 EDT by Johan Walles CLA
Modified: 2009-08-30 02:15 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Walles CLA 2004-08-26 06:05:59 EDT
The Problems view is sorted primarily by severity, and secondarly by what folder
the problem occured in.

I would like the sort order to default to sort primarily by severity (as
currently) and secondarly by problem timestamp ("Creation Time") in descending
order.

The reasoning for this is that sorting by sorting by timestamp, the files I most
recently changed end up at the top of the list.  As those are already at the top
of my mind, those are the places in which I'm most likely to fix any issues.

The reason I ran into this was that when upgrading from 2.1 to 3.0, I turned on
a bunch of new Java warnings, and I got about a thousand of them in the project
I'm in.  Since there's no chance I'll try to fix all of them, at least putting
the ones I'm most likely to fix at the top of the list would be helpful.

As a workaround I can set this myself (and I do), but as I guess this would be
helpful to others as well, this bugzilla is about getting the defaults changed.
Comment 1 Tod Creasey CLA 2005-11-02 16:31:51 EST
Tinmestamp is not displayed to the user so this would not be an obvious default
Comment 2 Johan Walles CLA 2005-11-03 02:27:05 EST
So how about displaying the timestamp to the user?
Comment 3 Tod Creasey CLA 2005-11-03 07:24:21 EST
If there were suffecient votes on this request we could consider it
Comment 4 Tod Creasey CLA 2006-04-07 12:01:33 EDT
There are currently no plans to work on this feature
Comment 5 Warren Paul CLA 2007-03-21 17:06:57 EDT
We've had a similar request.  Maybe there should be a way for IDE providers to be able to override the sorting options for their products.  I don't see a way to do this currently as these values are stored as dialog settings and not pref settings.
Comment 6 Tod Creasey CLA 2007-03-21 20:02:44 EDT
Reopening. We have no plans to look at this ourselves in the 3.3 trameframe but I would be happy to review a patch
Comment 7 Tod Creasey CLA 2007-03-21 20:03:06 EDT
Marking LATER
Comment 8 Warren Paul CLA 2007-05-02 13:02:03 EDT
Is creation time the time that the file was last modified or when the problem marker was created?  In either case I think it would make sense to move the time to the front of the default sort order:

protected IField[] getSortingFields() {
		return new IField[] { creationTime, severityAndMessage, folder, resource, lineNumber, 
				// Add the marker ID so the table sorter won't reduce
				// errors on the same line bug 82502
				id };
	}



The bigger picture here though is that IDE providers should be able to choose the defaults which best fit their products.  We do this extensively with preference values in our product plugin_customization.ini file.  But since these values are dialog settings, I don't think there is a way to override the defaults.  Or is there?  If not, any suggestions on how to change it so products can override the defaults?  We can do the work but I'm not sure the best approach for this.
Comment 9 Denis Roy CLA 2009-08-30 02:15:48 EDT
As of now 'LATER' and 'REMIND' resolutions are no longer supported.
Please reopen this bug if it is still valid for you.