Bug 30204 - [Qt] Highlight text in a drop-down have wrong text color
Summary: [Qt] Highlight text in a drop-down have wrong text color
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Windows XP
: P2 Normal
Assignee: Nobody
URL:
Keywords: Qt, QtTriaged
Depends on:
Blocks:
 
Reported: 2009-10-08 03:34 PDT by qt-info
Modified: 2014-01-28 20:30 PST (History)
5 users (show)

See Also:


Attachments
Text has wrong color (6.27 KB, image/png)
2009-10-08 03:34 PDT, qt-info
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description qt-info 2009-10-08 03:34:31 PDT
Created attachment 40862 [details]
Text has wrong color

We are having a problem with drop-down fields in html using the Qt demo browser. 
When the field is selected, the background is correctly being shown in blue, but the foreground color does not change to white, it remains as black, and thus you can't read the text. 


Example Html:

<HTML>
<BODY>
<SELECT NAME='TEST'>
<OPTION>ITEM1</OPTION>
<OPTION>ITEM2</OPTION>
<OPTION>ITEM3</OPTION>
</SELECT>
</BODY>
</HTML>
Comment 1 Jocelyn Turcotte 2010-03-10 04:15:53 PST
This is probably linked to the system's colors.
Could you try playing with system colors to help define the problem more precisely?

This might be another manifestation of bug #22123
Comment 2 Tor Arne Vestbø 2010-03-16 03:28:15 PDT
Reproducible in trunk with -style windowsxp

data:text/html,<select><option>this is black text on a colored background when selected</option></select><br/>But the text should be white (compare to Qt's style example)
Comment 3 Simon Hausmann 2010-03-18 15:43:08 PDT
Any reason why this is flagged as security issue? :)
Comment 4 Eric Seidel (no email) 2012-08-03 00:47:34 PDT
Clearly not. :)