The search bar's suggestion pop-up appears behind the URL bar when the search bar customized to place on menubar
Categories
(Firefox :: Search, defect, P1)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox-esr115 | --- | unaffected |
| firefox-esr140 | --- | unaffected |
| firefox146 | --- | disabled |
| firefox147 | --- | disabled |
| firefox148 | --- | disabled |
| firefox149 | --- | verified |
| firefox150 | --- | verified |
People
(Reporter: alice0775, Assigned: mbeier)
References
(Regression)
Details
(Keywords: nightly-community, regression, Whiteboard: [sng])
Attachments
(4 files)
Steps to reproduce:
- Enable Menu bar
- Customize the search bar to be placed in the menu bar
- Restart browser
- Type search text into the search bar. e.g.,
Firefox
Actual results:
The search bar's suggestion pop-up appears behind the URL bar
Expected results:
The search bar's suggestion pop-up should appear at the top most window
| Reporter | ||
Updated•8 months ago
|
Comment 1•8 months ago
|
||
:dao, since you are the author of the regressor, bug 2006632, could you take a look? Also, could you set the severity field?
For more information, please visit BugBot documentation.
| Reporter | ||
Comment 2•8 months ago
|
||
Alternatively, if you customize the search bar to be placed on the bookmarks toolbar, the URL bar suggestion pop-up will appear behind the search bar.
Steps to reproduce 2:
- Enter Customize toolbar mode
- Set Bookmarks toolbar
Always show - Customize the search bar to be placed on the bookmark toolbar
- Restart browser
- Type something into urlbar
Updated•8 months ago
|
Updated•8 months ago
|
| Assignee | ||
Updated•8 months ago
|
Updated•8 months ago
|
| Reporter | ||
Comment 4•8 months ago
•
|
||
The issue of STR comment#1 was fixed by Bug 2007341.
However, the issue of STR comment#2 is still reproduced.
| Reporter | ||
Comment 5•7 months ago
|
||
About the issue of STR comment#2, execute setTimeout(() => { gURLBar._on_uidensitychanged(); }, 1500); in Console fix the issue.
| Assignee | ||
Comment 6•7 months ago
|
||
The reason this happens is that both the urlbar and searchbar are now popovers and the order in which they are displayed is the order in which they called showPopover.
An easy fix would be to do showPopover when opening the results panel and hidePopover when closing it so only one of the two is a popover at a time, but calling showPopover while selecting text messes with the selection (nothing gets selected).
Emilio, do you have an idea how to solve this issue?
Comment 7•7 months ago
|
||
Obvious approach would be to make them popovers only on focus (very similar, but not quite the same to what you suggested), is that possible?
but calling showPopover while selecting text messes with the selection (nothing gets selected).
Can you elaborate, do you have a screencast or something? You mean just text selection or the url highlighting which uses custom stuff (the one to un-highlight subdomains and such).
Comment 8•7 months ago
|
||
If it's regular text selection, it should reproduce on a regular website, and it should be fixable in any case.
| Assignee | ||
Comment 9•7 months ago
|
||
| Assignee | ||
Comment 10•7 months ago
|
||
Yes, regular text selection. I can also reproduce it on regular websites when calling showPopover on mousedown and hidePopover on mouseup (and display: block)
Comment 11•7 months ago
|
||
Can you file it separately please? Core :: Selection for the component :)
It probably reproduces when switching display type as well (e.g. if instead of showPopover() you change display to e.g. flex).
Comment 12•7 months ago
|
||
Maybe doing it on focus works, tho?
| Assignee | ||
Comment 13•7 months ago
|
||
Yeah it also happens when switching display type. I filed bug 2014481 and attached an example there.
| Assignee | ||
Comment 14•7 months ago
|
||
Comment 15•6 months ago
|
||
Comment 16•6 months ago
|
||
| bugherder | ||
Updated•6 months ago
|
Comment 17•6 months ago
|
||
Verified as fixed using Firefox 149 beta 6 and latest Nightly 150.0a1 under Win 11, Ubuntu 24 and macOS 15.
Description
•