Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 361616 - SWT: Columheader menu Reset columns --> Sort is not removing the triangle in the columnheader
Summary: SWT: Columheader menu Reset columns --> Sort is not removing the triangle in ...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Scout (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows Vista
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-21 04:26 EDT by Oli Schmid CLA
Modified: 2021-08-19 11:33 EDT (History)
1 user (show)

See Also:
claudio.guglielmo: juno+


Attachments
Does a reset before setting the new sort column this ensures the triangle is removed on the gui. (577 bytes, patch)
2011-10-21 04:26 EDT, Oli Schmid CLA
claudio.guglielmo: iplog+
Details | Diff
Problem with multiple defined sorting columns in SWT table (2.28 KB, patch)
2011-10-21 07:40 EDT, Oli Schmid CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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)