Skip to content

DecoratorManager / DecoratorScheduler sometimes faster than the ThemeEngine creating artifacts #3926

@vogella

Description

@vogella

The JFace ColorRegistry (owned by IThemeManager) and the E4 CSS engine populate their values on parallel paths during workbench startup.

DecoratorManager runs its decoration jobs on a background job thread. If a decoration job computes a DecorationResult before the color registry entries for that decorator's color keys have been populated by the active theme, the decorator gets a default (or null) Color, which is what ends up cached on the TreeItem.

This can be the result:

Image

I believe we need to way to tell the decorators to reload there colors, current implementation is : read onces, never update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions