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.
Summary: | Turn on nb.tabnames.html by default | ||
---|---|---|---|
Product: | platform | Reporter: | Jesse Glick <jglick> |
Component: | Window System | Assignee: | jrojcek <jrojcek> |
Status: | RESOLVED DUPLICATE | ||
Severity: | blocker | CC: | dpavlica, dsimonek, tboudreau |
Priority: | P3 | Keywords: | UI |
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 50354, 4753 |
Description
Jesse Glick
2005-04-19 16:22:34 UTC
Looks really nice, but in the Documents ("Shift-F4") window, the html code is shown (instead rendering it). 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. 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. 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. 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. 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 :-( 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 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). 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. 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. 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. *** This issue has been marked as a duplicate of 47290 *** |