Closed Bug 1701901 Opened 3 years ago Closed 3 years ago

Search mode chiclet is missing X button in closed state

Categories

(Firefox :: Address Bar, defect, P2)

Firefox 89
defect
Points:
3

Tracking

()

VERIFIED FIXED
90 Branch
Tracking Status
firefox-esr78 --- unaffected
firefox86 --- unaffected
firefox87 --- unaffected
firefox88 --- unaffected
firefox89 --- verified
firefox90 --- verified

People

(Reporter: phorea, Assigned: daisuke)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [proton-address-bar][priority:2c] [proton-uplift])

Attachments

(2 files)

Affected versions

  • Fx89.0a1 20210329214331

Affected platforms

  • Windows 10 64-bit
  • Ubuntu 18.04
  • Mac OSX 11.2.3

Preconditions
The following prefs are enabled in about:config:

  • browser.proton.enabled
  • browser.proton.toolbar.enabled
  • browser.proton.urlbar.enabled

Steps to reproduce

  1. Launch Firefox and focus the address bar.
  2. Select a search shortcut to enter search mode
  3. Focus something in page
  4. Observe the search mode button and it's styling

Expected result

  • Close button [x] is present and it reflects the closed state styling figma

Actual result

  • Close button [x] is not present when the address bar is out of focus

Regression range

  • This is not a regression

Interesting, it's the first time I notice that. We use the label box in this state and that box doesn't have the X button, we may have to use the search mode chiclet instead in both modes.

Points: --- → 3
Priority: -- → P2
Whiteboard: [proton-address-bar] → [proton-address-bar][priority:2c]
Assignee: nobody → daisuke
Status: NEW → ASSIGNED
Pushed by dakatsuka.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/aacc94d35e60
Show urlbar-search-mode-indicator always upon search mode. r=adw,harry

Daisuke, could you please file a follow-up bug blocking Bug 1698882 to remove the code driving the old label box solution once Proton is released, since we won't use it anymore.

Once this merges we should also ask for uplift.

Flags: needinfo?(daisuke)
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch

Thank you very much for your direction, Marco.
I will do them.

Flags: needinfo?(daisuke)

Comment on attachment 9217324 [details]
Bug 1701901: Show urlbar-search-mode-indicator always upon search mode.

Beta/Release Uplift Approval Request

  • User impact if declined: As the close button is not displayed, will not be Proton behavior we intended.
  • Is this code covered by automated tests?: Yes
  • Has the fix been verified in Nightly?: Yes
  • Needs manual test from QE?: No
  • If yes, steps to reproduce:
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Because this patch changes only CSS.
  • String changes made/needed: none
Attachment #9217324 - Flags: approval-mozilla-beta?
See Also: → 1708067
Whiteboard: [proton-address-bar][priority:2c] → [proton-address-bar][priority:2c] [proton-uplift]

Comment on attachment 9217324 [details]
Bug 1701901: Show urlbar-search-mode-indicator always upon search mode.

Approved for 89 beta 6, thanks.

Attachment #9217324 - Flags: approval-mozilla-beta? → approval-mozilla-beta+

verified fix on windows10 64bit, ubuntu 20 and MacOs 10.14 using firefox nightly 90.0a1 and Beta 89.0b7

i will open a new bug since i noticed that the search mode box under ubuntu is grey while on windows and Mac it is white.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: