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 166681 - Red/green bar has fixed width
Summary: Red/green bar has fixed width
Status: RESOLVED WONTFIX
Alias: None
Product: utilities
Classification: Unclassified
Component: Test Runner (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Victor Vasilyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-07 06:48 UTC by _ rkubacki
Modified: 2010-10-12 16:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
resized junit pane (6.61 KB, image/png)
2009-09-25 18:42 UTC, _ rkubacki
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ rkubacki 2009-06-07 06:48:04 UTC
NB6.7rc2, Linux, JDK6

I do not see why the red/green bar showing how many tests passed/failed has fixed width. It wastes some space that is
empty in default layout and looks even worse when it does not fit.
Comment 1 Victor Vasilyev 2009-09-25 17:49:56 UTC
Please, look at this bar in 6.8 again.
Comment 2 _ rkubacki 2009-09-25 18:42:45 UTC
Created attachment 88381 [details]
resized junit pane
Comment 3 _ rkubacki 2009-09-25 18:46:42 UTC
I still see it in 6.8M1.

It has fixed width and when I resize the left side it can hide the resulting numbers or waste the space if I make it
wider. Picture is worth thousand words so I attached one.
Comment 4 _ rkubacki 2009-09-28 00:22:47 UTC
I forgot to reopen with last comment
Comment 5 Victor Vasilyev 2009-09-28 10:14:19 UTC
Could you please, give me more info about your configuration to be possible to reproduce it.

* What a Linux distribution has been used: Ubuntu, Fedora...? Release?
What have been started:
* GNOME, KDE, ...?
* Sun JDK, Open JDK, ...? Please, publish a result of the command java -version
* What is Look & Feel do you use? A default one? GTK? If a direct answer is difficult for you then, please, provide a
picture of whole IDE window (a big resolution is not required).

Probably, the Issue 172772 has a relation to this issue.
Comment 6 Victor Vasilyev 2009-09-28 10:30:15 UTC
Also, please, try to start the IDE with the options "-J-Dnb.useSwingHtmlRendering=true" and publish results here.
Comment 7 _ rkubacki 2009-09-30 23:18:06 UTC
Customized version of Ubuntu, GNOME, Sun's jdk 1.6.0_14, server VM, GTK L&F

Note that I see a different problem on Mac w/ 6.7.1 - the bar fills whole width of left pane though when it gets wider
the percentage numbers disappear (their are painted into some cropped region or something is painted over the label).
Comment 8 Victor Vasilyev 2009-11-09 08:49:16 UTC
It is a valid issue. 
The implementation of the class org.netbeans.modules.gsf.testrunner.ResultBar should be improved. 

Probably, there is the same issue in the implementation of the class org.netbeans.modules.gsf.codecoverage.CoverageBar
Comment 9 Victor Vasilyev 2010-10-12 16:40:05 UTC
Sorry, we have no plans to fix this in the near future. Patches are welcome.