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 176717 - details stack view has many blank lines
Summary: details stack view has many blank lines
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Profile (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P1 normal (vote)
Assignee: Andrew Krasny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-12 11:37 UTC by Thomas Preisler
Modified: 2009-12-03 04:55 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
view 1 (62.79 KB, image/jpeg)
2009-11-12 11:38 UTC, Thomas Preisler
Details
view 2 (63.75 KB, image/jpeg)
2009-11-12 11:39 UTC, Thomas Preisler
Details
still some garbage (3.99 KB, image/png)
2009-11-14 13:29 UTC, Andrew Krasny
Details
proposed fix (9.20 KB, application/octet-stream)
2009-12-02 00:22 UTC, Andrew Krasny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Preisler 2009-11-12 11:37:08 UTC
Only a few methods in the profiler details stack view are visible. Others appear as blank lines. The methods in the 'blank' lines appear when the line is selected. See attached screenshots.
Comment 1 Thomas Preisler 2009-11-12 11:38:21 UTC
Created attachment 90938 [details]
view 1
Comment 2 Thomas Preisler 2009-11-12 11:39:14 UTC
Created attachment 90939 [details]
view 2
Comment 3 Thomas Preisler 2009-11-12 11:40:20 UTC
I should say I'm running OpenSolaris.
Comment 4 Andrew Krasny 2009-11-12 12:34:21 UTC
Will take care of this.
Comment 5 Thomas Preisler 2009-11-12 12:50:45 UTC
I think the problem are the dlc/elc colors. elc is null in my case. The other color dlc is [255, 255, 255].
Comment 7 Andrew Krasny 2009-11-14 13:29:11 UTC
Created attachment 91046 [details]
still some garbage
Comment 8 Andrew Krasny 2009-11-14 13:32:27 UTC
third image is wrongly attached to this IZ ;(
Comment 9 Quality Engineering 2009-11-16 03:18:56 UTC
Integrated into 'main-golden', will be available in build *200911160201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ca193fdb16b7
User: Andrew Krasny <akrasny@netbeans.org>
Log: IZ#176717 details stack view has many blank lines
Comment 10 Andrew Krasny 2009-12-02 00:20:59 UTC
Looks like Thomas has a case when this doesn't work... perhaps because of OpenSolaris' jdk... 

Guys, I have a possible fix (will attach)... Could you, please, review and, if it is OK, proceed with required procedures.. [I have to leave right now]

I'm sure that there should be more graceful way to ensure that text is visible on a background, but don't know this way ;( 

I have tested the fix with all L&F and with 1.5/1.6 jdks. But have no access to the OpenSolaris installation...
Comment 11 Andrew Krasny 2009-12-02 00:22:37 UTC
Created attachment 91969 [details]
proposed fix
Comment 12 Alexander Simon 2009-12-02 01:24:24 UTC
Proposed fix has a warnings in log:
WARNING [org.openide.awt.HtmlRenderer]: Illegal hexadecimal color text: gray'> in HTML string
WARNING [org.openide.awt.HtmlRenderer]:   <html><font color='gray'><b>_write</b>&nbsp;</font></html> 
WARNING [org.openide.awt.HtmlRenderer]:                     ^
WARNING [org.openide.awt.HtmlRenderer]:  Full HTML string:<html><font color='gray'><b>_write</b>&nbsp;</font></html> 
WARNING [org.openide.awt.HtmlRenderer]: Unresolvable html color: gray'> in HTML string 
WARNING [org.openide.awt.HtmlRenderer]:   
WARNING [org.openide.awt.HtmlRenderer]:   <html><font color='gray'><b>_write</b>&nbsp;</font></html> 
WARNING [org.openide.awt.HtmlRenderer]:         ^
WARNING [org.openide.awt.HtmlRenderer]:  Full HTML string:<html><font color='gray'><b>_write</b>&nbsp;</font></html>
Comment 13 soldatov 2009-12-02 02:37:24 UTC
(In reply to comment #10)
> I have tested the fix with all L&F and with 1.5/1.6 jdks. But have no access to
> the OpenSolaris installation...
Host: amkar
Build: /opt/netbeans-6.8rc1
Comment 14 Alexander Pepin 2009-12-02 03:19:20 UTC
In fact I observed the similar situation but in my case the text in the disabled lines was just very pale but it was readable.
Comment 15 Alexander Pepin 2009-12-02 03:38:59 UTC
Probably it should be "grey" instead of "gray".
Comment 16 Vladimir Kvashin 2009-12-02 03:40:27 UTC
I tried Andrews last fix on Mac with avaliable LAFs, it works ok.
Comment 17 Alexander Simon 2009-12-02 03:46:33 UTC
Fix works on Windows and Solaris
Comment 18 Leonid Lenyashin 2009-12-02 03:49:12 UTC
Is it a showstopper?
Comment 19 Alexey Vladykin 2009-12-02 04:02:40 UTC
The fix works for me on Linux with GTK, Motif and Metal LAFs. But I see
warnings too. Probably the color should be in double quotes, rather than in
single quotes.
Comment 20 Alexander Pepin 2009-12-02 04:05:41 UTC
The defect depends on color depth enabled for the display. It appears for 24bit and is not reproducible for 16bit and 32bit.
Comment 21 Alexander Pepin 2009-12-02 09:02:53 UTC
I verified the fix provided in org-netbeans-modules-dlight-visualizers.jar on Windows, Linux (where comment#14 was found), Open Solaris (where the bug was found) and MacOS. The fix works fine on all mentioned platforms. 
Please review the fix.
If this fix is safe then I believe it should be integrated into release68 as a showstopper.
Comment 22 Alexander Simon 2009-12-02 09:12:24 UTC
I have reviewed fix. It safe and fixes problem.
Comment 23 Thomas Preisler 2009-12-02 10:18:54 UTC
verified the fix on my Open Solaris system (where the bug was reported).
Comment 24 Alexander Simon 2009-12-02 10:35:16 UTC
fixed in release68:
changeset:   154120:e47f7ba9affd
Comment 25 Quality Engineering 2009-12-03 04:52:48 UTC
Integrated into 'main-golden', will be available in build *200912030200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8b532279c68a
User: Andrew Krasny <akrasny@netbeans.org>
Log: IZ#176717 - details stack view has many blank lines
Comment 26 Alexander Pepin 2009-12-03 04:55:45 UTC
Verified in RC2 build 2009-12-02_22-00-34