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 192494

Summary: [70cat]deprecated modules bold in Suite Properties/Libraries tab
Product: apisupport Reporter: alied <alied>
Component: ProjectAssignee: Jesse Glick <jglick>
Status: VERIFIED FIXED    
Severity: normal CC: mentlicher, tboudreau
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 183322    
Attachments: Project Properties dialog in Libraries tab

Description alied 2010-11-25 20:22:16 UTC
When setting the 6.9 platform for my projects (I still want to deploy
with 6.9), I noticed that deprecated modules appear in bold, instead
of strikeout. Is this as intended? historically, bold has been used
for new/modified/selected items, not for obsoleted/deprecated ones.

Product Version = NetBeans IDE Dev (Build 201011250001)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.6.0_22
Runtime = Java HotSpot(TM) Client VM 17.1-b03
Comment 1 alied 2010-11-25 20:23:41 UTC
Created attachment 103344 [details]
Project Properties dialog in Libraries tab
Comment 2 Jesse Glick 2010-11-29 20:29:32 UTC
It seems that HtmlRenderer, newly used in 7.0 for the outline view, treats <strike> like <strong>. The complicated loop in _renderHTML clearly does not handle unexpected tags very robustly. It seems that <s> is expected, so I will use that.
Comment 3 Jesse Glick 2010-11-29 20:30:05 UTC
core-main #421777a1f024
Comment 4 _ tboudreau 2010-11-29 20:52:06 UTC
HtmlRenderer was never intended to support the full HTML spec - I think I documented the subset that it uses.  Just use <b> for bold, <s> for strikethrough.
Comment 5 Jesse Glick 2010-11-29 21:23:39 UTC
(In reply to comment #4)
> HtmlRenderer was never intended to support the full HTML spec

The problem is that OutlineView _did_ until it switched to using HtmlRenderer, i.e. this was an incompatible change.
Comment 6 Quality Engineering 2010-12-01 06:39:04 UTC
Integrated into 'main-golden', will be available in build *201012010001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/421777a1f024
User: Jesse Glick <jglick@netbeans.org>
Log: #192494: [70cat]deprecated modules bold in Suite Properties/Libraries tab
Comment 7 mienamoo 2010-12-03 07:08:53 UTC
Verified in 201012020001.