Bug 568931

Summary: [Linux] SWT.EraseItem Listener not working in Table
Product: [Eclipse Project] Platform Reporter: Phil Beauvoir <p.beauvoir>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: loskutov
Version: 4.18   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=312735
Whiteboard:
Attachments:
Description Flags
Snippet none

Description Phil Beauvoir CLA 2020-11-18 11:59:20 EST
Created attachment 284809 [details]
Snippet

Eclipse 4.18 Latest I Build
Ubuntu 20.04

The attached snippet shows that registering a SWT.EraseItem listener to a table and negating the SWT.SELECTED and SWT.HOT event detail fields does not work as expected on Linux.

1. Run the snippet on Windows or Mac
2. The table does not highlight the selected row, as expected
3. Run the snippet on Linux
4. The table does highlight the selected row - this is not expected bahaviour