Bug 16579 - [Decorators] Can't enable decorators from CVS prefs page
Summary: [Decorators] Can't enable decorators from CVS prefs page
Status: RESOLVED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows XP
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: investigate
Depends on:
Blocks:
 
Reported: 2002-05-21 11:19 EDT by Peter Burka CLA
Modified: 2006-06-22 08:34 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Burka CLA 2002-05-21 11:19:55 EDT
Build M5

I went to the Team->CVS->Decorators preferences page and enabled the 
decorators that I wanted to see. But no matter what combination of decorators 
I chose, I couldn't make anything appear.

Eventually I discovered that I have to also enable CVS decorators from the 
Workbench->Label Decorators page.

There should be some way to enable decorators from the Team->CVS->Decorators 
page, as well. Or at least there should be some indication that decorators are 
disabled.
Comment 1 James Moody CLA 2002-05-21 11:41:33 EDT
Decorator enablement is the responsibility of the workbench UI. You're not the
only one who thinks that the Label Decorators preference page is a bad place for
this. :-) I think the right solution is for the UI team to make decorator
enablement a much more visible action. I don't think it's really a preference;
people have legitimate reasons for wanting to turn them on and off in various
contexts. I think of preferences more as a global set-once-and-forget thing.
Comment 2 James Moody CLA 2002-05-21 11:44:55 EDT
...and as an implementation note, all of the API for managing decorators is
internal to the workbench; we cannot use any of it. (Meaning we can't turn our
decorator on programatically).
Comment 3 James Moody CLA 2002-05-21 15:19:14 EDT
Moving to UI.

Nick, I couldn't find another PR that asked to make decorator enablement easier
to do, so I guess you can consider this to be one.
Comment 4 Nick Edgar CLA 2002-05-21 16:18:51 EDT
We decided not to change the preference page location, or add duplicate menu 
items / toolbar items.  

We don't have a good story other than preference pages for things that users 
consider "modes of operation".  This is an area to address post 2-0.
(In my view it's also arguable whether decorators are a mode of operation 
rather than a preference - I treat them as a preference and always leave them 
on).  

However, there is API now on IDecoratorManager for enabling/disabling 
decorators if plugins or VCM providers want to do this themselves for a 
particular decorator.

Comment 5 Nick Edgar CLA 2002-05-21 16:19:56 EDT
For the particular issue raised here, you can either add a check box to the CVS 
decorator prefs page and use the new API mentioned above, or add a label 
pointing the user at the Label Decorations page.
Comment 6 Kevin McGuire CLA 2002-05-21 16:41:43 EDT
Thanks Nick.  I think I'd prefer not to add our own enablement checkbox, since 
I think its confusing to be able to do the same thing from two different 
places.  Unless this is a style that we encourage other decorator writers to 
use in their preferences.  Unless of course the Apply or OK in the CVS 
Preferences page automatically did the enablement - I guess that would make 
sense to the user?
Comment 7 Nick Edgar CLA 2002-05-21 17:00:13 EDT
I wouldn't turn the CVS decorator on for free without at least warning the user 
and giving them the chance to cancel.

In the future it would be better to have a single page for decorations, with 
Advanced... or something similar for configuring them in more detail.

Comment 8 Randy Giffen CLA 2002-08-12 10:22:16 EDT
Reopen for investigation
Comment 9 Tod Creasey CLA 2002-08-26 13:22:28 EDT
There is consideration of making a special decorators preference object that 
would link into the current decorators. Marking as enhancement.
Comment 10 Tod Creasey CLA 2006-06-22 08:34:19 EDT
There are currently no plans to work on this feature