Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 361616

Summary: SWT: Columheader menu Reset columns --> Sort is not removing the triangle in the columnheader
Product: z_Archived Reporter: Oli Schmid <oliver.schmid>
Component: ScoutAssignee: Project Inbox <scout.core-inbox>
Status: CLOSED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: claudio.guglielmo
Version: unspecifiedFlags: claudio.guglielmo: juno+
Target Milestone: ---   
Hardware: PC   
OS: Windows Vista   
Whiteboard:
Attachments:
Description Flags
Does a reset before setting the new sort column this ensures the triangle is removed on the gui.
claudio.guglielmo: iplog+
Problem with multiple defined sorting columns in SWT table none

Description Oli Schmid CLA 2011-10-21 04:26:03 EDT
Created attachment 205694 [details]
Does a reset before setting the new sort column this ensures the triangle is removed on the gui.

When using the reset sort menu on a columheader in a table field triangle is not removed and still visible on the columnheader.

Reproducible: Always

Steps to Reproduce:
1. Do a custom sort on a table field with data by clicking on the colum header. The triangle indicating the sort has been applied is shown.
2. Use the menu Reset columns --> Sort by right clicking on the column header.
3. The sort is reseted but triangle remains showing on the column header.
Comment 1 Oli Schmid CLA 2011-10-21 07:40:45 EDT
Created attachment 205712 [details]
Problem with multiple defined sorting columns in SWT table

This patch will also provide a solution for the problem of SWT. By limitations of SWT only one column can be shown as the sorting column by showing the triangle in the column header.

This patch shows up only a triangle when one and only one coulumn is defined as the sorting column. In all other cases no triangle is indicating the used sorting column.
Comment 2 Claudio Guglielmo CLA 2012-05-01 08:17:39 EDT
Thank you for the patch! Applied for Juno. Fixed as well for rap ui.
Comment 3 Matthias Zimmermann CLA 2012-07-09 06:49:48 EDT
ticket closed.
deliverd as part of eclipse scout 3.8.0 (juno release train)