Bug 136907
Summary: | [OOo] [KDE] Wrong colors in openoffice menubars | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Carlos Rodrigues <cefrodrigues> | ||||||
Component: | openoffice.org | Assignee: | Dan Williams <dcbw> | ||||||
Status: | CLOSED ERRATA | QA Contact: | |||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 2 | CC: | caolanm | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | athlon | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | 1.1.2-11 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-11-15 15:27:41 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Carlos Rodrigues
2004-10-23 00:08:55 UTC
Created attachment 105681 [details]
openoffice menubar with wrong colors
This screenshot shows OpenOffice (in the foreground) with the wrong colors, and
Firefox (in the back) with the correct ones.
What theme are you using? Can you attach that theme's .gtkrc file? Created attachment 105700 [details]
my theme's gtkrc
I don't know if its worthy of a separate bug report because it is related to this but, since the background color of the highlighted menu item is always blue, themes with a blue shade for the highlighted item's text make the text almost impossible to read. This can be easily seen by using the "Simple" theme that comes bundled with GNOME 2.6. Ok, menu bar color confirmed. We don't grab and use separate values fro the menu and menu bar colors. vcl/unx/gtk/window/gtkframe.cxx: gtk_widget_ensure_style( pMenu ); gtk_widget_ensure_style( pMenuItem ); GtkStyle* pMenuStyle = gtk_rc_get_style( pMenu ); GtkStyle* pMenuItemStyle = gtk_rc_get_style( pMenuItem ); GtkStyle* pMenuTextStyle = gtk_rc_get_style( gtk_bin_get_child( GTK_BIN( pMenuItem ))); aBackColor = getColor( pMenuStyle->bg[GTK_STATE_NORMAL] ); -> aStyleSet.SetMenuColor( aBackColor ); -> aStyleSet.SetMenuBarColor( aBackColor ); the menu bar color will hopefully be fixed in 1.1.2-11 Another thing I just found. A similar problem (menubar colors) also happens while running OO.org inside KDE. But in this case, both the menu color and the menubar color are wrong, they are both picking up the "Push Button" color definition (just change that to red or something and restart OO.org, the menu and menubar get red). GTK fix is in -11. 1.1.2-11 is out now, this confirmed to be working ? Yes, it is working. |