Closed Bug 1638275 Opened 5 years ago Closed 5 years ago

The search panel one offs container is not hidden after removing several search engines

Categories

(Firefox :: Address Bar, defect)

defect
Points:
3

Tracking

()

VERIFIED FIXED
Firefox 79
Iteration:
78.2 - May 18 - May 31
Tracking Status
firefox-esr68 --- unaffected
firefox76 --- wontfix
firefox77 --- wontfix
firefox78 --- verified
firefox79 --- verified

People

(Reporter: emilghitta, Assigned: bugzilla)

References

(Regression)

Details

(Keywords: regression)

Attachments

(2 files)

Attached image Address bar search.gif

Affected versions

  • Firefox 76.0.1 (BuildId:20200507114007)
  • Firefox 77.0b6 (BuildId:20200514211331)
  • Firefox 78.0a1 (BuildId:20200514211114)

Unaffected versions

  • Firefox 68.8.0esr (BuildId:20200429190206)

Affected platforms

  • macOS 10.14
  • Windows 10 64bit
  • Ubuntu 18.04 64bit

Steps to reproduce

  1. Launch Firefox.
  2. Access the about:preferences#search page.
  3. Click the “Add search bar in toolbar” radio button.
  4. Type a random string inside the search bar.
  5. Remove several Search Engines (from the “One-Click Search Engines” section inside the about:preferences#search page) until you only have one left.
  6. Type a random string inside the search bar.

Expected result

  • The search panel one offs container is hidden.

Actual result

  • The search panel one offs container is displayed which causes unused extra space inside the PopupSearchAutoComplete panel.

Regression Range
This seems to be a regression:

Notes

  • This issue is not reproducible if the search engines are removed beforehand and the search bar is added after.
  • The search panel one offs container seems to get hidden only after a browser restart.

Hi Harry,

It seems that mozregression pointed out Bug 1561894 - Implement simplified one-off search button design. r=dao for causing this regression.

Can you please have a look?

Thanks!

Flags: needinfo?(htwyford)
Has Regression Range: --- → yes
Has STR: --- → yes

Thanks, I'll look into this.

Assignee: nobody → htwyford
Status: NEW → ASSIGNED
Iteration: --- → 78.2 - May 18 - May 31
Points: --- → 3
Flags: needinfo?(htwyford)
Pushed by htwyford@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3de491b80e70 Allow searchbar one-offs hidden attribute to override display:flex. r=dao
Pushed by htwyford@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/2275d4ff86aa Allow searchbar one-offs hidden attribute to override display:flex. r=dao
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 79
Flags: needinfo?(htwyford)

verified on win10 64bit, macos 10.15, and ubuntu 18.04 on latest nightly 79.

Status: RESOLVED → VERIFIED

Is this something we should consider nominating for uplift to Beta78?

Flags: needinfo?(htwyford)

Comment on attachment 9152118 [details]
Bug 1638275 - Allow searchbar one-offs hidden attribute to override display:flex. r?dao

Beta/Release Uplift Approval Request

  • User impact if declined: UI bug in the separate search bar when the user has just one search engine installed. This is particularly relevant for ESR, where users are more likely to have non-default search engine configurations installed by their workplace admins.
  • 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): One-line CSS change with a test. Already verified by QA.
  • String changes made/needed:
Flags: needinfo?(htwyford)
Attachment #9152118 - Flags: approval-mozilla-beta?

Comment on attachment 9152118 [details]
Bug 1638275 - Allow searchbar one-offs hidden attribute to override display:flex. r?dao

approved for 78.0b5

Attachment #9152118 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: