Open Bug 1677402 Opened 5 years ago Updated 4 years ago

Apply theme colors on findbar when header image is used

Categories

(WebExtensions :: Themes, defect, P3)

defect

Tracking

(firefox83 affected, firefox84 affected, firefox85 affected)

Tracking Status
firefox83 --- affected
firefox84 --- affected
firefox85 --- affected

People

(Reporter: juhyt80, Unassigned, NeedInfo)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:83.0) Gecko/20100101 Firefox/83.0

Steps to reproduce:

Setting FF theme with image included.
Manifest rule:

  • theme > images > theme_frame

Actual results:

Search box (when pressing Ctrl + F) appeared to be default white.

Expected results:

Search box should be some of these colors if image is included:
(As described here: https://developer.mozilla.org/en-US/docs/Mozilla/Add-ons/WebExtensions/manifest.json/theme)

toolbar
frame
frame_inactive

If you use only colors - everything working as expected.
This bug was reported to me by addon user.

Attached image Expected search box.
OS: Unspecified → All
Hardware: Unspecified → All
Component: Untriaged → Theme
Component: Theme → Themes
Product: Firefox → WebExtensions

Hello,

I’ve managed to reproduce the issue on the latest Nightly (85.0a1/20201122213806), Beta (84.0b4/20201122152513) and Release (83.0/20201112153044) under Windows 10 Pro and Ubuntu 16.04 LTS.
Applying a theme containing an image will leave the search bar the default color scheme while applying a theme not having an image included will properly set the color scheme to the search bar as well.

Status: UNCONFIRMED → NEW
Ever confirmed: true

Hey Tim, can you please take a look at this?

Flags: needinfo?(ntim.bugs)
Severity: -- → S4
Priority: -- → P3

Could you please add a link to an example affected theme(s) so I can take a look?

Flags: needinfo?(ntim.bugs) → needinfo?(juhyt80)
Summary: Search Box incorrectly sets color if image is used in theme → Apply theme colors on findbar when header image is used

This was an intentional decision in bug 1506913 to avoid contrast issues with themes, since most themes will be designed without necessarily checking the findbar. This is problematic with images, since we don't show them on the findbar, so color combinations may not be contrasting enough there.

It is possible to fix this, just with quite a bit of complexity added to the code. Things might change if the findbar is ever redesigned though.

:zombie, is this something your team wants to take on or leave this as a WONTFIX?

Flags: needinfo?(juhyt80) → needinfo?(tomica)
Regressed by: 1506913
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: