You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But again, if the DecorationsService has already fired events by the time the FileTreeDecoratorAdapter is constructed, the latter won't catch those events, and the DecorationsService provides no API to discover all known decorations at a given time.
Operating System: RHEL7
Theia Version: 1.34.1
The text was updated successfully, but these errors were encountered:
Bug Description:
Steps to Reproduce:
Additional Information
A few lifecycle issues contribute to this problem:
The Git decorations are contributed to the core
DecorationsService
here:theia/packages/git/src/browser/git-contribution.ts
Lines 284 to 289 in 62ddc03
But that
onStart
method may be (and usually is) called after Git has started up and thegitDecorationProvider
has fired its first few events.Then the decorations from the
DecorationsService
reach the Explorer via theFileTreeDecoratorAdapter
here:theia/packages/filesystem/src/browser/file-tree/file-tree-decorator-adapter.ts
Lines 43 to 46 in 62ddc03
But again, if the
DecorationsService
has already fired events by the time theFileTreeDecoratorAdapter
is constructed, the latter won't catch those events, and theDecorationsService
provides no API to discover all known decorations at a given time.The text was updated successfully, but these errors were encountered: