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 112026 - Strange 'Versioning Labels' in 'Show opening Document List'
Summary: Strange 'Versioning Labels' in 'Show opening Document List'
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: Stanislav Aubrecht
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-06 11:15 UTC by tomzi
Modified: 2009-11-02 10:57 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Strange Versioning Labels (14.96 KB, image/png)
2007-08-06 11:16 UTC, tomzi
Details
BugInVersioningLablesSVN (67.52 KB, application/x-shockwave-flash)
2007-08-17 11:29 UTC, tomzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tomzi 2007-08-06 11:15:50 UTC
See attachment, 
.) some Versioning labels only have open brackets '['
.) some lack the closing bracket ']'
.) only 'Modified' labels are shown
.) not even all 'Modified' are shown.
Comment 1 tomzi 2007-08-06 11:16:42 UTC
Created attachment 46186 [details]
Strange Versioning Labels
Comment 2 tomzi 2007-08-06 11:17:41 UTC
(Product Version: NetBeans IDE Dev (Build 200707240000) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System:
Windows XP version 5.1 running on x86; Cp1252; de_AT (nb))
Comment 3 Jana Maleckova 2007-08-10 14:04:31 UTC
reassign for evaluation
Comment 4 Petr Blaha 2007-08-10 14:48:47 UTC
Janie, why did you assign this to visualweb? It seems as VCS bug.
Comment 5 Jana Maleckova 2007-08-10 14:57:34 UTC
sorry this should be assigned for version control module .. it's my fault .. 
Comment 6 Maros Sandor 2007-08-13 14:54:19 UTC
What label format do you use? Please copy/paste from Tools/Options/Misc/Versioning/CVS options tab. Please also try to
only open files with shorter names whether the problem would still be present.
Comment 7 tomzi 2007-08-17 11:29:49 UTC
Created attachment 46784 [details]
BugInVersioningLablesSVN
Comment 8 tomzi 2007-08-17 11:32:51 UTC
It seems that when the mouse hovers over the entries, the lables are displayed correctly....
BTW I'm using SVN: 
Tools/Options/Misc/Versioning/CVS: [{status}; {tag}]
Tools/Options/Misc/Versioning/SVN: [{status} {folder}]
Comment 9 Maros Sandor 2007-08-17 12:01:41 UTC
Seems to me like a rendering issue in document switcher.
Comment 10 David Simonek 2007-08-17 14:15:05 UTC
msandor and tomzi: What options should I set to display tags as text informations after document name? I 'm just getting
different colors for modified files (blue) etc.
Comment 11 Peter Pis 2007-08-17 14:41:27 UTC
In main menu "View | Show Versioning Labels". If you want to see branch/tag annotations your working copy should point
to sources in branch/tag.
Comment 12 David Simonek 2007-08-17 18:16:05 UTC
ppis thanks. Would you believe that I searched for the option for 10 minutes in options and versioning menu? :-)
Comment 13 Peter Pis 2007-08-17 19:46:16 UTC
You are welcome, and the answer for your question: No, I wouldn't. ;-)
Comment 14 tomzi 2007-09-05 11:20:21 UTC
Only if the Versioning label fits within the box then it is displayed correctly. (2.)

If the filename+versioning label is larger than the box it will not be displayed (1.) -> maybe label font color is set
to white since hovering with the mouse overit displayes it white on blue background.

Eg.

| Component.java[       | 1.
| DAO.java[MyBranch]    | 2.
Comment 15 David Simonek 2007-09-07 11:35:48 UTC
This is regression caused by Standa's fix for 110012. Passing to Standa - I don't know why original fix for 110012 was
to remove text in [ ] but it causes all described problems. Selected text is returned shorter (without [ ] part) which
also causes preferred size being computed wrongly and items won't fit in.  

Comment 16 Stanislav Aubrecht 2007-09-11 09:58:59 UTC
the problem is that some labels are too wide so the default renderer is cutting the text at words level.
highlighted/selected items have all html tags removed so the renderer is able to cut the text at character level.
Comment 17 Stanislav Aubrecht 2008-11-21 10:00:22 UTC
i don't know how to truncate html formatted text at character level
Comment 18 Quality Engineering 2009-11-02 10:57:26 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX