Bug 575658 - CTabFolder.updateBkImages calls draw lots of time
Summary: CTabFolder.updateBkImages calls draw lots of time
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.22   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 575553
Blocks:
  Show dependency tree
 
Reported: 2021-08-27 04:28 EDT by Lars Vogel CLA
Modified: 2021-08-27 06:22 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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