Closed Bug 1461650 Opened 6 years ago Closed 3 years ago

Hard-to-read background tabs with CSD under KDE Plasma

Categories

(Core :: Widget: Gtk, defect, P2)

60 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1562507

People

(Reporter: lykkeleg, Unassigned)

References

(Blocks 2 open bugs)

Details

Attachments

(2 files)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID: 20180509235650

Steps to reproduce:

Choose Menu button → Customize … →uncheck Titlebar and choose Apply.

- With Default Theme (light and dark themes are unaffected)


Actual results:

Background (or 'inactive') tabs get dark text, making them hard to read.

Also affects Nightly (as of 15th May).

Reproduced under a new user profile.


Expected results:

Text should be readable – use whiter text colour?
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Build ID:20180516032328

I couldn't reproduce the issue on Ubuntu 16.04 x64 with the steps provided in the report. However, I'm assigning a component in order to involve the development team to have a proper review on the issue.
Component: Untriaged → Toolbars and Customization
OS: Unspecified → Linux
Hardware: Unspecified → x86_64
Thanks, Mr. Babos. I forgot to mention that I am using Plasma 5.12.5 (and KDE Neon, but it's basically Ubuntu 16.04 with newer KDE packages).
Component: Toolbars and Customization → Theme
Blocks: gtktitlebar
Component: Theme → Widget: Gtk
Product: Firefox → Core
That's a bug related to the Breeze GTK theme. It seems like text color in the background tabs is the same as the text color in menubar. See https://gist.github.com/zzag/fa29ccb5ad842c172a8126ae73a8d507#file-gtk-css-L3757

Just so you know, Chrome with the same theme doesn't have this issue.

I use KDE on Debian Testing with Breeze GTK theme and it looks fixed: Nightly 70

(In reply to Jan Andre Ikenmeyer [:darkspirit] from comment #8)

I use KDE on Debian Testing with Breeze GTK theme and it looks fixed: Nightly 70

AFAIK Debian doesn't use current Breeze-gtk theme (https://imgur.com/a/m7YtzH3). Maybe you could provide a screenshot?

This is still broken with Firefox 82 and Plasma 5.20. It makes the default theme unusable with Breeze window decorations. Mozilla, can we please get a fix?

Can you please attach a screenshot of an opened menu in Firefox as well as of the titlebar with inactive text items?
Thanks.

Flags: needinfo?(mozilla-bugzilla)
Priority: P5 → P2

Something like this?

Yes, Thanks. That's exactly what Dao is talking about:

Theoretically yes, titlebar and menubar can be styled differently, but generally both uses the same text color. I checked some themes (Ubuntu Ambiance, default Adwaita, KDE Arc) and all has the same colors for titlebar color and hearedbar color.

As the titlebar/menubar color can be (and it's) styled, it's IMHO better to use the menubartext as it matches the styling somehow. The 100% fix would be to add -moz-titlebartext color but we'd rather leave that for further bug.

So to properly fix that we may need to add -moz-titlebartext css style here.

Flags: needinfo?(mozilla-bugzilla)

If anyone is willing to help here I can provide a guide. It may be pretty a straightforward fix when we get proper style from titlebar widget:
https://searchfox.org/mozilla-central/source/widget/gtk/WidgetStyleCache.cpp#440
and export that to js code as -moz-titlebartext.

Heh, it seems like https://bugzilla.mozilla.org/show_bug.cgi?id=1562507 can be marked as a duplicate of this bug.

Status: UNCONFIRMED → RESOLVED
Closed: 3 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: