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 - [70cat]deprecated modules bold in Suite Properties/Libraries tab
Summary: [70cat]deprecated modules bold in Suite Properties/Libraries tab
Status: VERIFIED FIXED
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks: 183322
  Show dependency tree
 
Reported: 2010-11-25 20:22 UTC by alied
Modified: 2010-12-03 07:08 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Project Properties dialog in Libraries tab (37.21 KB, image/png)
2010-11-25 20:23 UTC, alied
Details

Note You need to log in before you can comment on or make changes to this bug.
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.