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: | details stack view has many blank lines | ||
---|---|---|---|
Product: | cnd | Reporter: | Thomas Preisler <thp> |
Component: | Profile | Assignee: | Andrew Krasny <akrasny> |
Status: | VERIFIED FIXED | ||
Severity: | normal | CC: | apepin |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | Sun | ||
OS: | Solaris | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
view 1
view 2 still some garbage proposed fix |
Description
Thomas Preisler
2009-11-12 11:37:08 UTC
Created attachment 90938 [details]
view 1
Created attachment 90939 [details]
view 2
I should say I'm running OpenSolaris. Will take care of this. I think the problem are the dlc/elc colors. elc is null in my case. The other color dlc is [255, 255, 255]. Created attachment 91046 [details]
still some garbage
third image is wrongly attached to this IZ ;( 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 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... Created attachment 91969 [details]
proposed fix
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> </font></html> WARNING [org.openide.awt.HtmlRenderer]: ^ WARNING [org.openide.awt.HtmlRenderer]: Full HTML string:<html><font color='gray'><b>_write</b> </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> </font></html> WARNING [org.openide.awt.HtmlRenderer]: ^ WARNING [org.openide.awt.HtmlRenderer]: Full HTML string:<html><font color='gray'><b>_write</b> </font></html> (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 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. Probably it should be "grey" instead of "gray". I tried Andrews last fix on Mac with avaliable LAFs, it works ok. Fix works on Windows and Solaris Is it a showstopper? 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. The defect depends on color depth enabled for the display. It appears for 24bit and is not reproducible for 16bit and 32bit. 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. I have reviewed fix. It safe and fixes problem. verified the fix on my Open Solaris system (where the bug was reported). fixed in release68: changeset: 154120:e47f7ba9affd 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 Verified in RC2 build 2009-12-02_22-00-34 |