Closed Bug 1701756 Opened 5 years ago Closed 5 years ago

images for search bar setting in about:preferences are stretched

Categories

(Firefox :: Settings UI, defect, P3)

defect
Points:
2

Tracking

()

VERIFIED FIXED
89 Branch
Iteration:
89.1 - Mar 22 - Apr 4
Tracking Status
firefox-esr78 --- unaffected
firefox87 --- unaffected
firefox88 --- wontfix
firefox89 --- verified

People

(Reporter: soeren.hentzschel, Assigned: adw)

References

(Regression)

Details

(Keywords: regression)

Attachments

(4 files)

STR:

  1. open the search settings

Expected:

The images for search bar settings in about:preferences looks good.

Actual:

The images for search bar settings in about:preferences are stretched. This is a regression from bug 1697003. Removing the "Show Firefox Suggest in the address bar (suggested and sponsored results)" row via Inspector fixes the images.

Flags: needinfo?(dharvey)
Attached image screenshot
Attached image expected look

Bug 1697003 may have triggered this because it made the string longer, but the real regressing problem is adding the checkbox in the first place in bug 1693123.

Assignee: nobody → adw
Severity: -- → S4
Status: NEW → ASSIGNED
Iteration: --- → 89.1 - Mar 22 - Apr 4
Points: --- → 2
Flags: needinfo?(dharvey)
Priority: -- → P3
Has Regression Range: --- → yes

We just need to set align=start on #searchBarVisibleGroup. There are a
couple of things to note about this:

  • The images are stretched only when the Quick Suggest checkbox is visible,
    which it isn't unless the Quick Suggest pref is enabled
  • This is broken even without the Quick Suggest checkbox because the two images
    shrink when the window is narrow
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/a5a265c2b2a5 Fix stretched navbar images in the search bar preferences UI. r=Gijs,preferences-reviewers
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → 89 Branch

Please nominate this for Beta approval when you get a chance.

Flags: needinfo?(adw)
Flags: qe-verify+
Flags: in-testsuite-

Comment on attachment 9212952 [details]
Bug 1701756 - Fix stretched navbar images in the search bar preferences UI.

Beta/Release Uplift Approval Request

  • User impact if declined: The only problem that will happen for users on 88 is that the navbar images in about:preferences#search shrink horizontally when the window is narrow. This goes back to at least 80, so it's not a new problem.
  • Is this code covered by automated tests?: No
  • Has the fix been verified in Nightly?: No
  • Needs manual test from QE?: Yes
  • If yes, steps to reproduce: Please see comment 0. In addition to that, also try making the window very narrow; the navbar images should not shrink, and instead all the text and images on about:preferences should simply overflow the window width and not be shrunk or squished.
  • List of other uplifts needed: None
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): The patch adds a single attribute to the search-related UI in about:preferences and any potential problems should be easy to spot -- and I don't see any. On the other hand, since the image-shrinking problem goes back to at least 80, and the other problem mentioned in comment 0 will not be encountered by users on 88, there's no urgent need to uplift this.
  • String changes made/needed:
Flags: needinfo?(adw)
Attachment #9212952 - Flags: approval-mozilla-beta?
QA Whiteboard: [qa-triaged]
Attached image Nightly89.jpg

I've looked over this using latest 89.0a1 Nightly build and noticed that the icons are still shrinking/getting squished when the window gets narrower.

Same results on Windows 10 x64, macOS 10.15 and Ubuntu 18.04.
Tested with both "en-US" and "de" locales.

Attaching a screenshot.

Flags: needinfo?(adw)

You're right, thanks. I swear the patch fixed the shrinking problem when I first tested it, but now that I try again, I see it doesn't. I went back and tried an older base mozilla-central revision in case something else changed between the time I wrote the patch and the time I landed it, but no, the images shrink there too. I must have been testing with quick suggest enabled and not realized it. With it enabled, the images do not shrink.

Are you able to verify comment 0 is fixed at least? It is for me -- hopefully I'm right this time. :-)

Flags: needinfo?(adw)

Comment on attachment 9212952 [details]
Bug 1701756 - Fix stretched navbar images in the search bar preferences UI.

There's no need to uplift this because it doesn't fix anything on 88 after all. The problem in comment 0 is due to quick suggest, and quick suggest is scheduled for 89.

Attachment #9212952 - Flags: approval-mozilla-beta?

Are you able to verify comment 0 is fixed at least? It is for me -- hopefully I'm right this time. :-)

Yes, the issue described in comment 0 is fixed. :-)

Reproduced the issue from comment 0 using old Nightly build from 2021-03-29 with pref browser.urlbar.quicksuggest.enabled enabled. Verified that the issues described in comment 0 and comment 9 are no longer reproducible using latest Firefox 89.0 across platforms (Windows 10, macOS 11.3 and Ubuntu 18.04).

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: