Closed Bug 334462 Opened 18 years ago Closed 17 years ago

Text on hovered combobox is invisible on high contrast inverse theme.

Categories

(Firefox :: Disability Access, defect)

Sun
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 3 beta3

People

(Reporter: tim.miao, Assigned: twanno)

References

Details

(Keywords: access)

Attachments

(2 files, 2 obsolete files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050607 Firefox/1.0.4
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.9a1) Gecko/20060416 Firefox/3.0a1

This bug makes this combobox invisible, please fix it.

Reproducible: Always

Steps to Reproduce:
1. Change gnome theme settings, select Launch bar->Desktop->Preferences->Theme,
select High ContrastInverse theme, then click Theme Details button. Select
Controls tab and set HighContrastLargePrintInverse, select Icon tab and set
HighContrastInverse. Then close these two setting dialog.
2. Open preferences dialog and go to Advanced tab.
3. In General tab, click Edit Languages button.
4. Move mouse cursor above Select a languate to add... combobox.

Actual Results:  
The combobox turned white, the text label on it is not visible.

Expected Results:  
The label should be visible in this kind of theme settings.

This bug can be reproduced on vermillion_09/svn_36 with Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.9a1) Gecko/20060416 Firefox/3.0a1.
Keywords: access
OS: Other → Solaris
Hardware: Other → Sun
Attached image Screenshot
*** Bug 335316 has been marked as a duplicate of this bug. ***
WFM, Bon Echo 2006-05-15 build and Minefield 2006-05-17 build.
Status: UNCONFIRMED → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
This bug is still reproducible in following tabs:
  Main Tab: Show my homepage combobox
  Content Tab: Font combobox, Font Size combobox and in the Advanced font setting
  Privacy Tab: They expire combobox
  Security Tab: Google combobox
  Advanced Tab: General Tab->Choose Language combobox
Status: RESOLVED → UNCONFIRMED
OS: Solaris → Linux
Resolution: WORKSFORME → ---
Summary: Languages combobox is not compliant with theme settings. → Combobox is not compliant with theme settings.
Version: unspecified → Trunk
confirmed
Status: UNCONFIRMED → NEW
Ever confirmed: true
Attached patch patch (obsolete) — Splinter Review
I noticed that the same problem is also visible for tree/list headers, so I included that as well in this patch.

This patch copies the colors used for toolbar buttons: the color ButtonText for active comboboxes and tree/list headers, and the color -moz-button-hovertext for hover over the same widgets.

Note that this doesn't fix this issue for buttons and comboboxes in HTML. I'll file another bug for that (since that requires CSS that effects all platforms).
Assignee: nobody → twanno
Status: NEW → ASSIGNED
Attachment #299079 - Flags: review?(myk)
Adjusting the summary so it better describes the issue.
Summary: Combobox is not compliant with theme settings. → Text on hovered combobox is invisible on high contrast inverse theme.
Blocks: themea11y
Comment on attachment 299079 [details] [diff] [review]
patch

CVS reports "malformed patch at line 136", but manually applying the patch works fine and fixes the cases I tested. r=myk
Attachment #299079 - Flags: review?(myk) → review+
Attached patch patch against latest revisions (obsolete) — Splinter Review
This is the same patch, but against the latest revisions of the files involved. I hope that will prevent the CVS error.
Attachment #299079 - Attachment is obsolete: true
Attachment #299192 - Flags: approval1.9?
Sorry, I just noticed that the previous patch was the wrong one. This is the correct patch
Attachment #299192 - Attachment is obsolete: true
Attachment #299238 - Flags: approval1.9?
Attachment #299192 - Flags: approval1.9?
Comment on attachment 299238 [details] [diff] [review]
patch against latest revisions

a=beltzner for 1.9 assuming this is the right patch :)
Attachment #299238 - Flags: approval1.9? → approval1.9+
Keywords: checkin-needed
(In reply to comment #12)
> (From update of attachment 299238 [details] [diff] [review])
> a=beltzner for 1.9 assuming this is the right patch :)
> 
Just to take away any uncertainties: yes it is.
Thanks for the fix!

Checking in toolkit/themes/gnomestripe/global/menulist.css;
/cvsroot/mozilla/toolkit/themes/gnomestripe/global/menulist.css,v  <--  menulist.css
new revision: 1.8; previous revision: 1.7
done
Checking in toolkit/themes/gnomestripe/global/tree.css;
/cvsroot/mozilla/toolkit/themes/gnomestripe/global/tree.css,v  <--  tree.css
new revision: 1.11; previous revision: 1.10
done
Checking in toolkit/themes/gnomestripe/global/listbox.css;
/cvsroot/mozilla/toolkit/themes/gnomestripe/global/listbox.css,v  <--  listbox.css
new revision: 1.6; previous revision: 1.5
done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3 M11
See Also: → 1531338
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: