Closed Bug 1269523 Opened 8 years ago Closed 8 years ago

Main menu items don't change their view after selecting (GTK3)

Categories

(Core :: Widget: Gtk, defect)

46 Branch
x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1248974

People

(Reporter: t6zm3v62fkp7fe5, Unassigned)

References

Details

Attachments

(2 files)

Attached image gtk3-comparison-of-programs.png (deleted) —
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/49.0.2623.108 Chrome/49.0.2623.108 Safari/537.36

Steps to reproduce:

In my self-made theme on GTK3, the points in main menu don't change itself after selecting (GTK3). They don't change their highlighting, font color and borders.
Other programs on GTK3 work correct, like DeaDBeeF and Transmission.
For showing that's the problem is not in my theme, I made the screenshot of comparison these programs on GTK3.
--
OS: Lubuntu 16.04 x64.
I can give my theme if it's necessary.
Component: Untriaged → Menus
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Component: Menus → Theme
Component: Theme → Menus
Summary: Main menu doesn't change itself after selecting (GTK3) → Main menu items don't change their view after selecting (GTK3)
Blocks: gtk3
Component: Menus → Theme
Can you paste the CSS specific to highlighting the menuitems, please?

What version of GTK are you testing with?
(In reply to Karl Tomlinson (ni?:karlt) from comment #1)
> Can you paste the CSS specific to highlighting the menuitems, please?
> 
> What version of GTK are you testing with?

Karl, I believe that's a general problem and it's caused by gtk style save we use on the menuitem, when it looses the hover state.
Status: UNCONFIRMED → NEW
Ever confirmed: true
We need to remove gtk_style_context_save() from moz_gtk_menu_item_paint() and also adjust text color for the menu. I'll try to create a patch for it.
Component: Theme → Widget: Gtk
Product: Firefox → Core
(In reply to Karl Tomlinson (ni?:karlt) from comment #1)
> Can you paste the CSS specific to highlighting the menuitems, please?
> 
> What version of GTK are you testing with?

OS: Lubuntu 16.04, GTK 3.18.
I attached my theme (gtk3-theme.zip) for helping developers.
Attached file gtk3-theme.zip (deleted) —
Looks like a dupe of 1248974.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: