Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 323372

Summary: [Decorators] [Workbench] IDecoratorManager#update only works part of the time
Product: [Eclipse Project] Platform Reporter: Nicolas Bros <nicolas.bros>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: prakash
Version: 3.6   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: stalebug

Description Nicolas Bros CLA 2010-08-23 05:52:19 EDT
I have a decorator on IFiles. When I try to refresh the decorator, using:
PlatformUI.getWorkbench().getDecoratorManager().update(id);
it sometimes appears on the file in the Package Explorer or Navigator, sometimes not. If I refresh explicitly (F5) the Package Explorer, it then appears immediately.

If I do:
PlatformUI.getWorkbench().getDecoratorManager().setEnabled(id, false);
PlatformUI.getWorkbench().getDecoratorManager().setEnabled(id, true);
then the decorator always refreshes, but doing this shouldn't be necessary.


Eclipse SDK
Version: 3.6.0
Build id: I20100608-0911
Comment 1 Eclipse Webmaster CLA 2019-09-06 15:34:52 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.
Comment 2 Eclipse Genie CLA 2021-10-31 18:56:19 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.