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 233618 - [dark][nimbus] Textfields in "New breakpoints" dialog have gray background and a text selection isn't visible
Summary: [dark][nimbus] Textfields in "New breakpoints" dialog have gray background an...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 7.4
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Miloslav Metelka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-29 21:17 UTC by markiewb
Modified: 2013-08-03 02:06 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Shows the issue (232.45 KB, image/png)
2013-07-29 21:17 UTC, markiewb
Details
Happens also in "New Watch Expression" (18.37 KB, image/png)
2013-07-30 18:26 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2013-07-29 21:17:01 UTC
Created attachment 137965 [details]
Shows the issue

* Open "New Breakpoint" dialog 

ACTUAL:
some textfields (most of them provide code completion I guess) in the dialog have gray background and when a text within the field is selected you cannot see the selection - see screenshot

EXPECTED:
textfields (which provide code completion) also use the default dark textfield background color AND when a text within the field is selected you can see the selection
---
Dark Nimbus
Product Version: NetBeans IDE Dev (Build 201307262300)
Java: 1.7.0_25; Java HotSpot(TM) 64-Bit Server VM 23.25-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_25-b16
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 1 markiewb 2013-07-29 22:26:02 UTC
Happens only using Dark Nimbus LAF. Dark Metal looks good.
Comment 2 Martin Entlicher 2013-07-30 06:23:11 UTC
When I comment out line editor.lib/src/org/netbeans/editor/Utilities.java:1527
// editorPane.putClientProperty("AsTextField", Boolean.TRUE);
the background changes to editor default.
Therefore this switch is likely setting the wrong background.
Moving to editor for evaluation.
Comment 3 markiewb 2013-07-30 18:26:48 UTC
Created attachment 138014 [details]
Happens also in "New Watch Expression"

BTW the issue also happens in the "New Watch Expression" dialog using Dark Nimbus. See screenshot.
Comment 4 Martin Entlicher 2013-07-31 12:45:25 UTC
Please do not return back to me without any relevant comment.
Thanks.
Comment 5 Milutin Kristofic 2013-07-31 15:43:35 UTC
http://hg.netbeans.org/jet-main/rev/0a7d10ca9e7d
Comment 6 Quality Engineering 2013-08-03 02:06:34 UTC
Integrated into 'main-silver', will be available in build *201308022300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/0a7d10ca9e7d
User: Milutin Kristofic <mkristofic@netbeans.org>
Log: #233618 - [dark][nimbus] Textfields in "New breakpoints" dialog have gray background and a text selection isn't visible