Bug 1701799 - MATE Menu Bar often has unreadable text depending on theme
Summary: MATE Menu Bar often has unreadable text depending on theme
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: mate-panel
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Wolfgang Ulbrich
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-22 01:44 UTC by Ian Laurie
Modified: 2019-04-27 21:27 UTC (History)
2 users (show)

Fixed In Version: mate-panel-1.22.1-1.fc30
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-04-27 21:27:53 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Rawhide panel text unreadable (27.24 KB, image/png)
2019-04-22 01:44 UTC, Ian Laurie
no flags Details
Fedora 29 panel text appearing correctly (24.95 KB, image/png)
2019-04-22 01:46 UTC, Ian Laurie
no flags Details

Description Ian Laurie 2019-04-22 01:44:27 UTC
Created attachment 1557068 [details]
Rawhide panel text unreadable

Description of problem: 
The Menu Bar often has unreadable text depending on the selected theme.


Version-Release number of selected component (if applicable):
mate-panel-1.22.0-3.fc31.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Use default "Menu Bar" (aka custom menu bar)
2. Select Adwaita theme
3. Depending on screen background, text for the menu bar in the panel may be unreadable.

Actual results:
Menu bar text appears as white (for example) on very light backgrounds making the text unreadable.  The clock text however appears black and is readable.

Expected results:
Menu bar text should be readable, as it is in Fedora 29.

Additional info:
The "MATE Menu" (aka Advanced MATE Menu) doesn't have this problem.  Not all themes have this problem, but Adwaita, Mist & Clearlooks do, while Menta doesn't.

I have attached a screen cap showing the panel text as it appears in Fedora 29 (working) and Rawhide (not working).

Comment 1 Ian Laurie 2019-04-22 01:46:16 UTC
Created attachment 1557069 [details]
Fedora 29 panel text appearing correctly

Comment 2 Wolfgang Ulbrich 2019-04-22 07:44:55 UTC
Adwaita them don't support mate-panel.
Please choose another theme, eg. the MATE default theme BlueSubmarine.
It has a reason that we ship our own theme.....

Comment 3 Wolfgang Ulbrich 2019-04-22 09:08:39 UTC
You add this to your user config.

[rave@mother ~]$ cat ~/.config/gtk-3.0/gtk.css 
/* mate-display-manager */
foo-scroll-area:selected,
foo-scroll-area:selected:focus,
foo-scroll-area:selected:backdrop {
	background-color: @theme_selected_bg_color;
}

/*mate-panel menubar */
.mate-panel-menu-bar menubar > menuitem > label:backdrop {
    color: @theme_fg_color;
}

This overrides every theme setting or helps fixing missing theme settings.

MATE-1.22 supports the backdrop state now. For some reasons the panel menubar use always the backdrop state.
Our MATE themes aren't updated to support this new state yet, so you don't see that with them.
If you think this is a MATE issue than please file out a report at https://github.com/mate-desktop/mate-panel/issues
I can't fix that here for third-party themes like adwaita.

Comment 4 Ian Laurie 2019-04-23 01:10:48 UTC
(In reply to Wolfgang Ulbrich from comment #3)

> [rave@mother ~]$ cat ~/.config/gtk-3.0/gtk.css 
> /* mate-display-manager */
> foo-scroll-area:selected,
> foo-scroll-area:selected:focus,
> foo-scroll-area:selected:backdrop {
> 	background-color: @theme_selected_bg_color;
> }
> 
> /*mate-panel menubar */
> .mate-panel-menu-bar menubar > menuitem > label:backdrop {
>     color: @theme_fg_color;
> }

Thanks, that has fixed the issue for me.

Comment 5 Fedora Update System 2019-04-25 14:26:28 UTC
mate-panel-1.22.1-1.fc30 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0ac2428bbe

Comment 6 Fedora Update System 2019-04-25 15:37:49 UTC
mate-panel-1.22.1-1.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0ac2428bbe

Comment 7 Fedora Update System 2019-04-27 21:27:53 UTC
mate-panel-1.22.1-1.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.