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

Bug 169517

Summary: SWT.EraseItem for TreeControl behaving differently on WinXP and Linux
Product: [Eclipse Project] Platform Reporter: Thomas Schindl <tom.schindl>
Component: SWTAssignee: Steve Northover <snorthov>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: bokowski, sixtyfootersdude
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard: stalebug
Bug Depends on:    
Bug Blocks: 151295    
Attachments:
Description Flags
TreeSnippet with Extra Code for WinXP to work
none
Table with Listener where no extra code is needed on both platforms none

Description Thomas Schindl CLA 2007-01-04 03:02:37 EST
If you simply disable the drawing of a selection using 
"event.detail &= ~SWT.SELECTED;" on WinXP also the text contained in the item is not drawn any more whereas on Linux-Gtk it is. Some extra code makes that work also on windows. For tables on both platforms no extra code is needed.
Comment 1 Thomas Schindl CLA 2007-01-04 03:04:38 EST
Created attachment 56370 [details]
TreeSnippet with Extra Code for WinXP to work

Comment out the lines marked in the listener to see the effect on WinXP
Comment 2 Thomas Schindl CLA 2007-01-04 03:05:43 EST
Created attachment 56371 [details]
Table with Listener where no extra code is needed on both platforms
Comment 3 Steve Northover CLA 2008-02-01 18:32:46 EST
Ping (to force email to self at home) ... 
Comment 4 Eclipse Webmaster CLA 2019-09-06 16:10:06 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 5 Eclipse Genie CLA 2021-10-11 16:09:30 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.