Disable popup auto hide not working with the search bar
Categories
(Toolkit :: XUL Widgets, defect, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox73 | --- | fixed |
People
(Reporter: tallguyyo, Assigned: standard8)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Windows NT 6.2; Win64; x64; rv:68.0) Gecko/20100101 Firefox/68.0
Steps to reproduce:
web developer tool open up browser toolbox (ctrl + shift + alt + I), accepts connection. turn on "disable popup auto-hide". type anything in search bar to bring up list of results/history/bookmark etc. go back to browser toolbox and the popup/drop down closes itself.
Actual results:
search bar produces search history/results or from bookmark, proceeds to close itself after window focuses switches back to browser toolbox.
Expected results:
results stay open just like rest of all other menu/drop down such as address bar results, menu tool bar etc.
Comment 1•1 year ago
|
||
Thanks for filing. Indeed other popups remain on top with that option checked, but the address bar autocomplete popup does not.
Brian: you might know what the structural difference is between that popup and other popups that would explain this bug.
Comment 2•1 year ago
|
||
(In reply to Patrick Brosset <:pbro> from comment #1)
Thanks for filing. Indeed other popups remain on top with that option checked, but the address bar autocomplete popup does not.
Brian: you might know what the structural difference is between that popup and other popups that would explain this bug.
Some popups programmatically close themselves on blur, etc. We made some frontend changes to adapt the <select> popup to handle this in Bug 1584218 for instance: https://searchfox.org/mozilla-central/rev/3483fb259b4edbe4594cfcc3911db97d5441b67d/toolkit/actors/SelectChild.jsm#315.
Updated•1 year ago
|
Assignee | ||
Comment 3•1 year ago
|
||
Looking at the code, this is actually governed by the popup autocomplete controller, so I think we should handle this there.
Assignee | ||
Updated•1 year ago
|
Assignee | ||
Comment 4•1 year ago
|
||
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e38ba0703f0f Make autocomplete widgets respect devtools's 'disable popup auto-hide'. r=mak
Comment 6•1 year ago
|
||
Backed out changeset e38ba0703f0f for causing a11y failures in autocomplete-input.js
Backout link: https://hg.mozilla.org/integration/autoland/rev/eb68144fa7a37066d35a7941649267c56795c415
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=279296059&repo=autoland&lineNumber=3227
[task 2019-12-03T11:54:49.444Z] 11:54:49 INFO - TEST-UNEXPECTED-FAIL | accessible/tests/mochitest/states/test_expandable.xhtml | uncaught exception - ReferenceError: XPCOMUtils is not defined at AutocompleteInput@chrome://global/content/elements/autocomplete-input.js:24:7
[task 2019-12-03T11:54:49.444Z] 11:54:49 INFO - CustomElementConstructor*@chrome://global/content/elements/autocomplete-input.js:692:18
[task 2019-12-03T11:54:49.444Z] 11:54:49 INFO - @chrome://global/content/customElements.js:816:31
[task 2019-12-03T11:54:49.444Z] 11:54:49 INFO - CustomElementCreationCallback*@chrome://global/content/customElements.js:815:22
[task 2019-12-03T11:54:49.444Z] 11:54:49 INFO - @chrome://global/content/customElements.js:820:3
[task 2019-12-03T11:54:49.444Z] 11:54:49 INFO - observe@resource://gre/modules/CustomElementsListener.jsm:25:31
[task 2019-12-03T11:54:49.444Z] 11:54:49 INFO -
[task 2019-12-03T11:54:49.444Z] 11:54:49 INFO - simpletestOnerror@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1669:24
[task 2019-12-03T11:54:49.445Z] 11:54:49 INFO - OnErrorEventHandlerNonNull*@chrome://mochikit/content/tests/SimpleTest/SimpleTest.js:1649:1
[task 2019-12-03T11:54:49.445Z] 11:54:49 INFO - GECKO(1125) | JavaScript error: chrome://global/content/elements/autocomplete-input.js, line 24: ReferenceError: XPCOMUtils is not defined
Comment 7•1 year ago
|
||
Update: Also seeing other mochitests fail besides the accessibility ones: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=279293628&repo=autoland&lineNumber=22563
Assignee | ||
Comment 8•1 year ago
|
||
I'll have to have a look at this, we might be able to import XPCOMUtils into those scopes/tests, not sure yet.
There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:standard8, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Comment 10•1 year ago
|
||
Pushed by mbanner@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e7f7692887bd Make autocomplete widgets respect devtools's 'disable popup auto-hide'. r=mak
Comment 11•1 year ago
|
||
bugherder |
Assignee | ||
Updated•1 year ago
|
Updated•1 year ago
|
Description
•