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 200183

Summary: Customizer error/warning has no color
Product: platform Reporter: Tomas Mysik <tmysik>
Component: Dialogs&WizardsAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED INVALID    
Severity: normal CC: jglick
Priority: P3 Keywords: L&F, UI
Version: 7.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: screenshot

Description Tomas Mysik 2011-07-16 08:12:56 UTC
Created attachment 109465 [details]
screenshot

See attached screenshot.

Product Version: NetBeans IDE Dev (Build 20110715-47f8d9d37cc2)
Java: 1.6.0_24; Java HotSpot(TM) 64-Bit Server VM 19.1-b02
System: Linux version 2.6.38-10-generic running on amd64; UTF-8; cs_CZ (nb)
Comment 1 Jesse Glick 2011-07-18 13:07:44 UTC
UIManager.getColor("nb.errorForeground") is wrong sometimes on GTK. I think this is a duplicate of something but not sure.
Comment 2 Tomas Mysik 2011-07-18 15:41:48 UTC
Please notice that I don't have GTK L&F, I have the default one (Metal).

Also, I don't really think that this is a P4 since it is quite hard to discover that something is wrong if the panel is a bit more "full" (because the color is the same).

Thanks.
Comment 3 Stanislav Aubrecht 2011-07-21 13:43:56 UTC
- this has nothing to do with dialogs & wizard module. php project properties is based on CustomizerPanel from projectuiapi

- the screenshot shows that the Ok button is enabled, so the entered data are valid so there's no need for error color foreground
Comment 4 Tomas Mysik 2011-07-21 14:12:12 UTC
(In reply to comment #3)
> - this has nothing to do with dialogs & wizard module. php project properties
> is based on CustomizerPanel from projectuiapi

Right, I have reported it against Project UI (see history of this issue).

> - the screenshot shows that the Ok button is enabled, so the entered data are
> valid so there's no need for error color foreground

Right, it is not an error but a warning so I would expect some color specified for warning as well.

However, I don't plan to reopen this issue.
Comment 5 Stanislav Aubrecht 2011-07-21 14:18:18 UTC
default warning color is 'dark gray'

dialogs & wizard panels add error/warning icons to such messages, maybe project ui might do the same...
Comment 6 Tomas Mysik 2011-07-21 14:33:05 UTC
(In reply to comment #5)
> default warning color is 'dark gray'

Aha, then it's (kind of ;) OK.

> dialogs & wizard panels add error/warning icons to such messages, maybe project
> ui might do the same...

Good idea, I have reported it as issue #200289.

Thanks.
Comment 7 Jesse Glick 2011-07-22 00:30:21 UTC
*** Bug 200289 has been marked as a duplicate of this bug. ***
Comment 8 Jesse Glick 2011-07-22 00:42:42 UTC
(In reply to comment #5)
> default warning color is 'dark gray'

That is surprising. Warnings should be yellow.
Comment 9 Tomas Mysik 2011-07-22 03:38:19 UTC
(In reply to comment #8)
> That is surprising. Warnings should be yellow.

I have expected the same (or orange or similar). That's why I have reported this issue.