Bug 568827 - [Big Sur] Selected TreeItems and TableItems are not rendered properly when the control has multiple columns and a EraseItem listener
Summary: [Big Sur] Selected TreeItems and TableItems are not rendered properly when th...
Status: CLOSED DUPLICATE of bug 565969
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.18   Edit
Hardware: Macintosh Mac OS X
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-16 00:50 EST by Jeeeyul Lee CLA
Modified: 2020-11-19 01:56 EST (History)
1 user (show)

See Also:


Attachments
Source code to reproduce problem (1.23 KB, application/octet-stream)
2020-11-16 00:59 EST, Jeeeyul Lee CLA
no flags Details
The screenshot shows the problem (143.29 KB, image/png)
2020-11-16 00:59 EST, Jeeeyul Lee CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeeeyul Lee CLA 2020-11-16 00:50:53 EST
Selected TreeItems and TableItems are not rendered properly when the control has multiple columns and a EraseItem listener. In this case, the last column content of the item will be rendered properly, other column content looks to covered by selection background.
Even the tree or table has a only one column, what if the style flag contains a checkbox flag, same malfunction occurs.

As a result all the plugin that uses OwnerDrawLabelProvider with multiple columns or checkbox feature can't render it's selected row properly.

I found several rendering problems that related with redraw() and update(). 
This issue may be derived malfunction about it.
Comment 1 Jeeeyul Lee CLA 2020-11-16 00:59:04 EST
Created attachment 284768 [details]
Source code to reproduce problem
Comment 2 Jeeeyul Lee CLA 2020-11-16 00:59:39 EST
Created attachment 284769 [details]
The screenshot shows the problem
Comment 3 Lakshmi P Shanmugam CLA 2020-11-16 04:32:43 EST

*** This bug has been marked as a duplicate of bug 565969 ***
Comment 4 Eclipse Genie CLA 2020-11-19 01:56:24 EST
New Gerrit change created: https://git.eclipse.org/r/c/platform/eclipse.platform.swt/+/172487