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 256872 - Wrong text color with Go To dialog match highlighting using Bold Font
Summary: Wrong text color with Go To dialog match highlighting using Bold Font
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Navigation (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-11-30 15:01 UTC by matthies
Modified: 2016-06-23 01:49 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Highlighting Using Bold Font (11.61 KB, image/png)
2015-11-30 15:01 UTC, matthies
Details
Highlighting Using Background Color (11.72 KB, image/png)
2015-11-30 15:01 UTC, matthies
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matthies 2015-11-30 15:01:23 UTC
Created attachment 157559 [details]
Highlighting Using Bold Font

When Go To dialog match highlighting is configured to use bold font, the highlighting sets the text color to black (or the default text color) within the selection instead of keeping the selection text color. See the screenshots
Comment 1 matthies 2015-11-30 15:01:46 UTC
Created attachment 157560 [details]
Highlighting Using Background Color
Comment 2 matthies 2015-11-30 15:15:49 UTC
Unfortunately, this also happens when highlighting is turned off (set to "Nothing" in the options), making the resolution of bug #256847 not working for me.
Comment 3 matthies 2015-11-30 15:16:01 UTC
Unfortunately, this also happens when highlighting is turned off (set to "Nothing" in the options), making the resolution of bug #256847 not working for me.
Comment 4 matthies 2015-11-30 15:19:17 UTC
Ok, setting Highlight to "Nothing" and Highight Using to "Background Color" keeps the correct text color, so that’s something I can work with. Still, there’s obviously a bug there.
Comment 5 Tomas Zezula 2016-06-22 09:01:38 UTC
Fixed jet-main 2213f46f8336

Removed HTMLRendered which for some reason ignores foreground color set by setForeground. Replaced by standard JLabel.
Comment 6 Quality Engineering 2016-06-23 01:49:38 UTC
Integrated into 'main-silver', will be available in build *201606230002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/2213f46f8336
User: Tomas Zezula <tzezula@netbeans.org>
Log: #256872:Wrong text color with Go To dialog match highlighting using Bold Font