fenix icon indicating copy to clipboard operation
fenix copied to clipboard

[Search] PBM search bar gradient doesn't match when moved to top

Open AmyYLee opened this issue 6 years ago • 11 comments

Steps to reproduce:

  1. Go to Settings -> Customize -> Select "Top"
  2. Go to Private browsing homescreen

Expected: Private browsing search bar background colour blends with private browsing homescreen background colour when set to top.

Actual: Search bar has the background gradient to match private browsing homscreen if the search bar is set to bottom.

Screenshot_20200218-125629

┆Issue is synchronized with this Jira Task

AmyYLee avatar Feb 18 '20 18:02 AmyYLee

Hello @AmyYLee. I added a screenshot. Please tell me if this is ok.

b-8491-toolbar-top

ValentinTimisica avatar Mar 17 '20 10:03 ValentinTimisica

Hello @AmyYLee. I added a screenshot. Please tell me if this is ok.

b-8491-toolbar-top

@ValentinTimisica Hi, I am still seeing the gradient background (faintly) in the search bar. It should blend with the gradient background of the full screen. Thanks

It should look like this search

AmyYLee avatar Mar 17 '20 16:03 AmyYLee

Hello @AmyYLee, I made some changes. How does it looks?

b-8491-toolbar-top-new

ValentinTimisica avatar Mar 18 '20 07:03 ValentinTimisica

Hello @AmyYLee, I made some changes. How does it looks?

b-8491-toolbar-top-new

Hi @ValentinTimisica

It still looks like there's 2 different shades of purple. Is it possible to make the search bar background transparent so the full screen background gradient is seamlessly blended behind the search bar?

AmyYLee avatar Mar 18 '20 17:03 AmyYLee

I used a gradient (45 degree angle - starting from bottom left and ending in top right) with the colors from the image you posted above (I used a color picker to get the color from each corner of the searchBar, but maybe it's not that accurate). Can you give me the right color codes?

Regarding your question, yes, it is possible to make the search bar background transparent, but on scroll the private browsing icon will appear under the search bar (see video here). And I don't know if this will introduce any regressions. @ekager any thoughts on this?

ValentinTimisica avatar Mar 18 '20 18:03 ValentinTimisica

@ValentinTimisica I think if the full background gradient ended prior to the search bar then we can have a solid colour there. If this is getting too complex then we can leave it as is.

AmyYLee avatar Mar 18 '20 20:03 AmyYLee

@AmyYLee, if we are to use a solid color for the urlBar background I think the differences between this and the larger background which has a gradient would be even more obvious" As such based on all of the above I think the solution demoed in my last screenshot is the best we can get. It looks good and there are no chances of regressions.

ValentinTimisica avatar Mar 19 '20 08:03 ValentinTimisica

Hi, I've re-checked this matter on the latest Nightly Build #20830607 from 3/23 using the following devices: • Google Pixel 3a (Android 10) • Huawei Mate 20 Lite (Android 8.1.0) • Samsung Galaxy S6 (Android 7) • OnePlus A3 (Android 6.0.1)

From my point of view the URL bar still doesn't match with the background gradient, on some devices it's quite obvious. Nevertheless, @AmyYLee - could you please review the bellow screenshots and share your thoughts? ☺️

Screenshots (▼ dropdown ▼)

○ Google Pixel 3a

rsz_screenshot_20200323-092402

○ Huawei Mate 20 Lite

rsz_screenshot_20200323-092504

○ Samsung Galaxy S6

rsz_1584948811267

○ OnePlus A3

rsz_screenshot_20200323-092430

I'll remove the QA needed label until further notice.

AndiAJ avatar Mar 23 '20 07:03 AndiAJ

@AmyYLee, note that for the toolbar background I used the solid color #383372 (to the whole toolbar, no gradient) from the onboarding design page.

ValentinTimisica avatar Mar 23 '20 08:03 ValentinTimisica

@AndiAJ @ValentinTimisica - Hi, can we revert back to the original? Apologies, the original ask was that the search bar background blends in with the homescreen background. If we are unable to do this (or it requires a lot more work) then my preference is to revert back to the original. Having it "similar" feels like it is a mistake. Thank you for the time in trying this out.

AmyYLee avatar Mar 23 '20 15:03 AmyYLee

Closing this because the patch has been reverted in #9359.

ValentinTimisica avatar Mar 24 '20 13:03 ValentinTimisica