CPU consuming due to setFlashing(true)
Brought to you by:
adecaro
Hello,
A flashing tool window consumes 25% of the CPU, notably under Linux.
Here is the corresponding code :
final ToolWindow consoleWindow = workbenchWindowManager.registerToolWindow("Console", "Console", icon, createConsole(), BOTTOM);
consoleWindow.setFlashing(true);
Switching from 'true' to 'false' shows a significant reduction of CPU usage.