Change Search Settings label from Search Bar exceeds the button on narrow windows
Categories
(Firefox :: Search, defect, P2)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr78 | --- | unaffected |
firefox88 | --- | unaffected |
firefox89 | --- | wontfix |
firefox90 | --- | wontfix |
firefox91 | --- | verified |
People
(Reporter: phorea, Assigned: daisuke)
References
(Blocks 2 open bugs, Regression)
Details
(Keywords: regression, Whiteboard: [proton-address-bar] [priority:2c])
Attachments
(6 files, 1 obsolete file)
Affected versions
- Fx90.0a1 2021-05-04
- Firefox 89 beta 7
Affected platforms
- Windows 10 64-bit
- OSX 11.2.3
- Ubuntu 18.04 64-bit
Steps to reproduce
- Launch Firefox and go to about:preferences
- Tick the option to add search bar in toolbar
- Reduce the browser width to a minimum where the search bar is still visible (not hidden by the overflow menu)
- Click on the search bar and press the Up arrow key
Expected result
- "Change Search Settings" label is centered
Actual result
- "Change Search Settings" label exceeds the button
Regression range
- Introduced with bug 1705507. Before, the label was centered and this issue was only spotted in older Ubuntu versions.
Comment 1•3 years ago
|
||
In my opinion we should just move the search bar to the compact view of these buttons, like the Address Bar.
Updated•3 years ago
|
Reporter | ||
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 2•3 years ago
|
||
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D115771
Comment 4•3 years ago
|
||
Marco, the compact search settings button doesn't translate directly to a narrow search bar. See comment https://phabricator.services.mozilla.com/D115771#3770586. What did you have in mind when suggesting we use it? Maybe we could just list it at the end of the list of engines, without any kind of special offset? Although then it might be confused for an engine.
Comment 5•3 years ago
|
||
No, we should not just make the button compact, we should make the search bar one-offs identical to the urlbar one-offs, included the add search engine buttons becoming compact.
That should allow us to also share the code more easily.
I discussed this briefly in the Search Slack channel some weeks ago (https://mozilla.slack.com/archives/CFLFWM98V/p1620147344104800) and also made some quick patch to do it, but of course this is just a test patch, where I didn't remove the no more necessary code, I didn't port the compact add engine buttons implementation, and there's a bug where for certain widths we miscalculate the one-offs area height, so the second row disappears.
Comment 6•3 years ago
|
||
To breakdown the work, I'd actually suggest to start by porting the add engine compact buttons, those should not change the layout by much. Then enlarge the min-width to include 4 buttons instead of 3 (I think there's a bug in the current implementation regarding min panel width, maybe related to a wrong css rule, and padding not being accounted). Then we should be able to put the compact settings button in the 4th column (visually), so we'll have 3 columns with engines (like now) and a new 4th column for the settings button.
Assignee | ||
Comment 7•3 years ago
|
||
Thank you very much for the direction, Marco.
I see, we should apply a compact design to not only settings button but add engine button.
I try to implement along with the above one by one.
Assignee | ||
Comment 8•3 years ago
|
||
Assignee | ||
Comment 9•3 years ago
|
||
Depends on D116057
Assignee | ||
Comment 10•3 years ago
|
||
Depends on D116068
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Updated•3 years ago
|
Comment 11•3 years ago
|
||
Comment 12•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/f080102d86e6
https://hg.mozilla.org/mozilla-central/rev/5084fef21424
https://hg.mozilla.org/mozilla-central/rev/740a98a07d37
https://hg.mozilla.org/mozilla-central/rev/a5c85f93707c
Comment 13•3 years ago
|
||
The patch landed in nightly and beta is affected.
:daisuke, is this bug important enough to require an uplift?
If not please set status_beta
to wontfix
.
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•3 years ago
|
Comment 14•3 years ago
|
||
Verified as fixed with Fx Nightly 91.0a1 on Windows 10x64, macOS 10.12.6 and Ubuntu 16.4.
Updated•3 years ago
|
Updated•3 years ago
|
Description
•