This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 20233 - Being able to switch file annotations on/off
Summary: Being able to switch file annotations on/off
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcscore (show other bugs)
Version: 3.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: UI
Depends on:
Blocks: 51807
  Show dependency tree
 
Reported: 2002-02-06 19:43 UTC by Martin Entlicher
Modified: 2005-01-07 17:23 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2002-02-06 19:43:28 UTC
copied from parts of issue #19229, where the problem was originally discussed:

[Jesse Glick 2002-02-06 05:20 PST]:
IMHO the node display name should just be shortened. We have badges
for such things. If I want to look at details of a file's VCS status,
there are various ways I can do that without having the Explorer be
cluttered with that info all the time; a "modified" badge is enough
most of the time. Consider a small (laptop) screen with a very narrow
Explorer (to leave room for the source editor) - the status labels
make the scrollbar appear in the Explorer and are very annoying.

You can customize the label appearance using a very cryptic setting,
but the default seems strange.

[Martin Entlicher 2002-02-06 11:16 PST ]:
Well, in case it's not acceptable to enhance API for this purpose and
if it's O.K. from the UI/HIE view, we can add a property to easily
switch annotations on/off. There is a question whether it should be on
or off by default.

[Jiri Kovalsky 2002-02-06 07:27 PST]:
I think it should be turned ON by default. Majority of users are not
laptop users IMHO :-).

[Martin Entlicher 2002-02-06 11:16 PST]:
O.K., we can add some global option for all VCS. We let the
annotations on by default for compatibility reasons. After users get
used to icon badging, they can turn annotations off to save space in
explorer & editor.
Comment 1 mclaassen 2002-02-20 16:11:43 UTC
It would be nice if the text on the tab was handled separately from 
the text in the explorer, or even in the title bar.  I like the 
customization that is possible in 331, but the editor and explorer 
are tied.  I would like more information in the explorer, but for the 
tab I want small.  

My vote would be for a separately customizable rendering mechanism 
like the one in 331 for each the explorer view and for the tabs.  I 
don't know if anyone would use it, but the option to change the 
display, even if one is not using a vcs, might be nice...like for 
turning on and off the full package path.  

I know this has been batted back and forth between the VCS stuff and 
the CORE, and I can see the delima of where the issue actually lies.
Comment 2 Martin Entlicher 2002-02-20 16:47:03 UTC
Reassinging to the UI team for comments on this. Please consider the
solution together with issue #19229.
Comment 3 Filip Rachunek 2002-04-30 15:50:38 UTC
UI keyword added.
Comment 4 Marek Grummich 2002-07-22 11:55:51 UTC
Set target milestone to TBD
Comment 5 Martin Entlicher 2004-11-24 15:48:30 UTC
Since 4.0 also different color can be used to distinguish the file status.
Comment 6 _ pkuzel 2005-01-05 15:27:52 UTC
This option was asked also by other users in my private discussions
and it's easily implementable.
Comment 7 Martin Entlicher 2005-01-07 17:23:14 UTC
A global property "File Status Annotation Display" introduced, with
two possible values for now:
no annoation and full annotation. It can be extended in the future.

/cvs/vcscore/src/org/netbeans/modules/vcscore/VcsFileSystem.java,v 
<--  VcsFileSystem.java
new revision: 1.303; previous revision: 1.302

/cvs/vcscore/src/org/netbeans/modules/vcscore/settings/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.19; previous revision: 1.18

/cvs/vcscore/src/org/netbeans/modules/vcscore/settings/GeneralVcsSettings.java,v
 <--  GeneralVcsSettings.java
new revision: 1.18; previous revision: 1.17

/cvs/vcscore/src/org/netbeans/modules/vcscore/settings/GeneralVcsSettingsBeanInfo.java,v
 <--  GeneralVcsSettingsBeanInfo.java
new revision: 1.14; previous revision: 1.13

RCS file:
/cvs/vcscore/src/org/netbeans/modules/vcscore/settings/AnnotationModePropertyEditor.java,v

/cvs/vcscore/src/org/netbeans/modules/vcscore/settings/AnnotationModePropertyEditor.java,v
 <--  AnnotationModePropertyEditor.java
initial revision: 1.1