Community
Participate
Working Groups
Build Identifier: 3.5.2.v3557f When you click on the header of a treecolumn to sort that column, a triangular image (sort indicator) is shown. The problem is: when that treecolumn has a header image, the header image disappears when the sort indicator is shown. As far as i can see, this is because there is only one place reserved for an image in the header of the column. TreeColumn.setImage (Image image, boolean sort, boolean right) is called for both the header image and the sort indicator while (in win32) there is always only 1 org.eclipse.swt.internal.win32.HDITEM. I guess a possible solution is reserving a separate org.eclipse.swt.internal.win32.HDITEM for the sort indicator, that way we can show both the header image and the sort indicator. Unfortunately i don't have any experience with adapting SWT, so any suggestion about how i can contribute to fix this issue are welcome. Reproducible: Always Steps to Reproduce: 1. Create a tree with treecolumn that has a header image 2. Add a sorter to that treecolumn 3. sort the column, the sort indicator is shown and the header image has disappeared
This is a limitation in Windows. There is no fix for it. Sorry.
Too bad. Thank you for the quick reply.
*** This bug has been marked as a duplicate of bug 213278 ***