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 58049 - Turn on nb.tabnames.html by default
Summary: Turn on nb.tabnames.html by default
Status: RESOLVED DUPLICATE of bug 47290
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: jrojcek
URL:
Keywords: UI
Depends on:
Blocks: 50354 4753
  Show dependency tree
 
Reported: 2005-04-19 16:22 UTC by Jesse Glick
Modified: 2009-08-10 16:10 UTC (History)
3 users (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 Jesse Glick 2005-04-19 16:22:34 UTC
Has been mentioned several times, but no one does anything about it. Please turn
on -J-Dnb.tabnames.html=true by default, i.e. mark modified files in bold rather
than using " *" suffix. It already works fine from a user perspective, I'm not
sure what still remains to be done.
Comment 1 Jan Lahoda 2005-04-21 19:02:27 UTC
Looks really nice, but in the Documents ("Shift-F4") window, the html code is
shown (instead rendering it).
Comment 2 _ tboudreau 2005-04-21 20:45:33 UTC
Should be a 1-3 line fix to make the documents window use org.openide.awt.HtmlRenderer instead of 
what it uses now, as the cell renderer.
Comment 3 David Simonek 2005-04-27 11:48:02 UTC
Not a good idea IMO. Using " *" seems to be well known principle, at least
Eclipse uses it. Why is bold text better? We use bold texts in various places
for different things and this will just confuse users, think about it...

Anyway, I'm not the right person to decide this, so passing to HIEs to decide.
Comment 4 Jesse Glick 2005-04-27 16:56:15 UTC
Making the text bold is less disruptive to the scrolling tab bar and just looks
better, I think. Easier to quickly pick out modified files visually.
Comment 5 _ tboudreau 2005-04-27 17:54:56 UTC
It's very learnable - you modify a file, the tab name becomes bold; greyed out "disabled" is quite self 
evident too.  The "*" convention is because traditional tab controls couldn't do something like this.  We 
can;  we should.  Appending "*" is pretty a non-obvious programmer-only-friendly hack anyway - people 
may be used to it, but something easily learnable as this is will work too.
Comment 6 David Simonek 2005-04-27 22:11:01 UTC
I tend to agree with Jesse's arguments...but not Tim's one, they are just
personal feelings IMO. Unfortunately my english isn't good enough to compete in
long stories with Tim, so I'm giving up, do what you want :-(
Comment 7 jrojcek 2005-05-31 12:30:38 UTC
FYI. We will use tab name colors for indicating CVS status in CVS-light module. The colors we would 
use:

* green - modified
* red - contains conflict
* grey - ignored

http://ui.netbeans.org/nonav/docs/hi/promoF/vcs-spec.html#Projects_Window
Comment 8 _ tboudreau 2005-06-03 16:20:56 UTC
Looks like the colors are being used for items in explorer, not for tab names.  If we want to we can have 
both - use italic instead of gray to indicate read-only state; bold/non-bold indicates modified state, so 
color is not affected by this.  

FWIW, if possible it might be nice to include textual VCS status of the edited file in the main window 
title bar - that's one place there is definitely enough space to fit the information, and it means even if 
the file is not visible in explorer, the status info is always available (it definitely doesn't belong in 
textual form in tab titles).
Comment 9 joelrsimpson 2009-07-23 09:00:26 UTC
Please be careful deciding to use "only" colors to indicate status.  Personally, I prefer the method, but there are lot
of people out there who can't tell the difference between colors.
Comment 10 Ondrej Langr 2009-07-23 10:30:26 UTC
Seems obsolete to me. 

Now colors are used to indicate versioning status, appending " *" for unsaved changes. 

Haven't seen any complaints about this, closing as FIXED, please reopen if you disagree.   
Comment 11 Jesse Glick 2009-07-23 14:22:53 UTC
How is this FIXED? Please reread the initial description. This has nothing to do with color marking by VCS; that is
orthogonal. This is about using italics & bold for r/o and modified statuses, which is enabled by nb.tabnames.html.
Comment 12 Jesse Glick 2009-08-10 16:10:27 UTC

*** This issue has been marked as a duplicate of 47290 ***