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 150810 - Unreadable tabs with certain system colors
Summary: Unreadable tabs with certain system colors
Status: RESOLVED WONTFIX
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P4 blocker (vote)
Assignee: David Simonek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-10-21 07:27 UTC by putte_xvi
Modified: 2009-11-02 10:59 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Unreadable tabs. (101.80 KB, image/png)
2008-10-21 07:32 UTC, putte_xvi
Details
Shows how NetBeans applies the system colors. (91.13 KB, image/png)
2008-10-21 07:34 UTC, putte_xvi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description putte_xvi 2008-10-21 07:27:25 UTC
The file-selection tabs in the main GUI (pseudo-MDI) use the system color for inactive titlebars as background, but the 
color of the text is hardcoded as black. This results in completely unreadable tabs with certain color settings.

To reproduce:
Configure Windows to have inactive titlebars use a dark blue background color and a white foreground color. Start 
NetBeans.

Expected results:
The tabs should either use the system's colors for both foreground and background (dark blue with white text in this 
case), or set its own colors for both foreground and background.

Actual results:
The tabs use black text on a dark blue background.
Comment 1 putte_xvi 2008-10-21 07:32:11 UTC
Created attachment 72347 [details]
Unreadable tabs.
Comment 2 putte_xvi 2008-10-21 07:34:15 UTC
Created attachment 72348 [details]
Shows how NetBeans applies the system colors.
Comment 3 Jana Maleckova 2008-10-24 16:27:30 UTC
reassign to windows system for evaluation
Comment 4 lkishalmi 2008-11-03 14:28:09 UTC
Happens on Linux as well. Tested on Ubuntu Intrepid Dark Room theme.
Comment 5 Lukas Hasik 2008-11-19 13:44:53 UTC
afaik, NB doesn't support custom windows colors. 
Comment 6 putte_xvi 2008-11-20 07:33:32 UTC
The issue is that you are forcing black text on a background of undetermined color. Since any other background color 
than 0x808080 (the Windows default) is apparently unsupported, why not force the background to the supported value?

Foreground and background must be contrasting colors. To ensure contrast, you must set either *none* or *both* colors.
Comment 7 Quality Engineering 2009-11-02 10:59:51 UTC
NetBeans.org Migration: changing resolution from LATER to WONTFIX