| Summary: | Sort by severity in Preferences Page cannot change between ascending and descending | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Liz Dancy <lizdancy> | ||||
| Component: | TPTP | Assignee: | Alex Nan <apnan> | ||||
| Status: | CLOSED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P1 | CC: | apnan, jkubasta, labadie | ||||
| Version: | unspecified | Keywords: | plan | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | closed460 | ||||||
| Attachments: |
|
||||||
|
Description
Liz Dancy
Gotoh-san, please take a look. This problem also occurs when trying to sort the log records in the log view using the "Sort Columns" dialog which is shown from the context menu or the toolbar. Created attachment 86929 [details]
Patch file
Alex, here is the patch. Please review.
Gotoh-san I think the idea here was that the refresh on the log viewer is performed only if the sort criteria has changed and this condition seems to have been commented out by somebody and introduced a regression. Your fix works but is not optimal. Simplified the fix. Needed to comment two lines of code in org.eclipse.tptp.platform.log.views.internal.views.LogPage. The fix doesn't include any optimization, after investigating the problem concluded that the effort is too high to include it in this defect. As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since the originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. |