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 183900 - Invalid rendering of StyleConstants.StrikeThrough attribute
Summary: Invalid rendering of StyleConstants.StrikeThrough attribute
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: -S1S-
Hardware: All All
: P1 normal (vote)
Assignee: issues@editor
URL:
Keywords: REGRESSION
: 183735 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-04-12 12:29 UTC by Miloslav Metelka
Modified: 2010-04-14 09:53 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Miloslav Metelka 2010-04-12 12:29:01 UTC
The code renders the strikethrough even if the value is Boolean.FALSE.
Comment 1 J Bachorik 2010-04-12 12:42:59 UTC
*** Bug 183735 has been marked as a duplicate of this bug. ***
Comment 2 Alexandr Scherbatiy 2010-04-12 12:52:29 UTC
Affects the NB JavaFX plugin.
Comment 3 Miloslav Metelka 2010-04-12 14:53:10 UTC
http://hg.netbeans.org/jet-main/rev/0493dc7257ad
Comment 4 Quality Engineering 2010-04-13 17:30:47 UTC
Integrated into 'main-golden', will be available in build *201004131450* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/0493dc7257ad
User: Miloslav Metelka <mmetelka@netbeans.org>
Log: #183900 - Invalid rendering of StyleConstants.StrikeThrough attribute.
Comment 5 Alexandr Scherbatiy 2010-04-14 08:30:32 UTC
Affects the NB 6.9 full bundle with the JavaFX plugin:
netbeans/6.9/beta/2010-04-12_22-01-23-javafx/bundles


The fix should be integrated into NetBeans 6.9 Beta repository.
Comment 6 Alexandr Scherbatiy 2010-04-14 08:57:54 UTC
Some more comments.

I added the -J-Dorg.netbeans.editor.linewrap=true property because of the issue 180980

In this case I do not see the BadLocationException exception but all variable names are crossed out.
Comment 7 Miloslav Metelka 2010-04-14 09:53:57 UTC
IMO you should not run Beta with linewrap=true since there are still issues with repainting etc. and these issues will only be fixed in the trunk. Therefore it makes little sense to propagate this issue into Beta. If you want to test the new view hierarchy please use dev builds.
Once fix of issue 180980 gets propagated into the Beta (in a couple of minutes) there should be no BLEs and Beta should work fine with the original view hierarchy.