Bug 575658

Summary: CTabFolder.updateBkImages calls draw lots of time
Product: [Eclipse Project] Platform Reporter: Lars Vogel <Lars.Vogel>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: jkubitz-eclipse, Lars.Vogel
Version: 4.22   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Bug Depends on: 575553    
Bug Blocks:    

Description Lars Vogel CLA 2021-08-27 04:28:19 EDT
Bug 575553 introduced some caching for the drawing of the bkImages. But the setBackground is still called multiple times, I count 14 times.

To reproduce, start a new runtime with only the Project Explorer open. Click in the editor area and back on the project explorer and you see that the setBackground method is called very often.
Comment 1 Jörg Kubitz CLA 2021-08-27 05:28:21 EDT
I guess (did not debug) it is the background of each tab inside. and if you have 14 tabs open it should be normal.
Comment 2 Lars Vogel CLA 2021-08-27 06:22:15 EDT
(In reply to Jörg Kubitz from comment #1)
> I guess (did not debug) it is the background of each tab inside. and if you
> have 14 tabs open it should be normal.

I have only one tab open