[Fission] Make <select> dropdowns work with Fission
Categories
(Toolkit :: XUL Widgets, enhancement, P2)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox69 | --- | fixed |
People
(Reporter: Felipe, Assigned: ablayelyfondou)
References
(Depends on 1 open bug)
Details
Attachments
(1 file)
Make the <select> drop-downs work with out-of-process iframes. This will likely involve changes to SelectChild.jsm (to convert it to a WindowActor) and to port SelectParentHelper.jsm to its parent-side window actor.
Updated•2 years ago
|
Updated•2 years ago
|
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Hey Neil, is the idea to try to get bug 1555138 fixed before this can land? Or can it land now?
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/239751330c09 Make <select> works with Fission. r=neil
Comment 4•2 years ago
|
||
Bug 1555138 only affects fission-enabled iframes and makes the popup appear at the wrong screen offset. So better than the current state where the popup doesn't appear at all.
Comment 5•2 years ago
|
||
Backed out changeset 239751330c09 (bug 1533958) for causing browser chrome leaks on browser_event_listener.js CLOSED TREE
Backout revision https://hg.mozilla.org/integration/mozilla-inbound/rev/b1d382dd18da4460ac88849c12049fa6d1a4cee2
Failure logs https://treeherder.mozilla.org/logviewer.html#?job_id=249439400&repo=mozilla-inbound
Abdoulaye O. LY can you please take a look?
Comment 6•2 years ago
|
||
From talking to rhunt, I think BrowserParent::TransformChildToParent would be helpful here for getting the correct coordinate to place the popup at.
| Assignee | ||
Comment 7•2 years ago
•
|
||
(In reply to Arthur Iakab [arthur_iakab] from comment #5)
Backed out changeset 239751330c09 (bug 1533958) for causing browser chrome leaks on browser_event_listener.js CLOSED TREE
Backout revision https://hg.mozilla.org/integration/mozilla-inbound/rev/b1d382dd18da4460ac88849c12049fa6d1a4cee2
Failure logs https://treeherder.mozilla.org/logviewer.html#?job_id=249439400&repo=mozilla-inbound
Abdoulaye O. LY can you please take a look?
Sure, I am working on it.
From talking to rhunt, I think BrowserParent::TransformChildToParent would be helpful here for getting the correct coordinate to place the popup at.
Yes, that seems like a better idea. Are you going to provide an API for this?
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ced634e12fc3 Make <select> works with Fission. r=NeilDeakin
Comment 9•2 years ago
|
||
Backed out changeset ced634e12fc3 (Bug 1533958) for xpcshell failures at test_ext_telemetry.js.
Backout: https://hg.mozilla.org/integration/autoland/rev/18063ec1930263ededd52922cdc8762e5039e7cc
Push that started the failures: https://treeherder.mozilla.org/#/jobs?repo=autoland&resultStatus=pending%2Crunning%2Csuccess%2Ctestfailed%2Cbusted%2Cexception&revision=ced634e12fc36a48b7778eb1b5c2770184fd0fb1&selectedJob=251686558
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=251686558&repo=autoland&lineNumber=2774
Comment 10•2 years ago
|
||
Pushed by neil@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ffde2ba5b8c6 Make <select> works with Fission. r=NeilDeakin
Comment 11•2 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•2 years ago
|
Comment 12•2 years ago
|
||
I thought since this bug was fixed you managed without additional API, but from our chat at the All Hands the positioning is still wrong. Can you file a new bug, needinfo me there, and note the number of that bug here?
| Assignee | ||
Comment 13•2 years ago
•
|
||
This is landed since it does not regress anything but the coordinates are not correct with fission. Bug 1560627 is filed for the positioning issue.
Comment 14•2 years ago
|
||
We just discovered that this bug regressed RDM. The select drop-downs do not appear anymore within the RDM viewport now. So that's a P1 we need to fix.
It would be great if a work around could be found and uplifted to 69 so we don't ship a broken RDM to all our users.
The better long term solution is to fix bug 1549775 so problems like these don't occur anymore, but it will take a long time.
Comment 15•2 years ago
|
||
I think RDM broke because it used to forward the Forms:DismissedDropDown messages through it's tunnel, but this message was probably removed in favor of new Actor code.
Comment 16•2 years ago
|
||
Abdoulaye, does any idea come to mind for how we might make RDM still work with your change?
| Assignee | ||
Comment 17•2 years ago
•
|
||
Whoops sorry for the mess introduced with this patch. I need to have a closer look at this.
Comment 18•2 years ago
•
|
||
@Neil and @Abdoulaye: Just for context, the regression we are experiencing is that that the RDM no longer shows the menulist on select elements. This is because devtools/client/responsive.html/index.xhtml now requires it's own xul:menulist. We could add this and include widgets.css but we are wondering if there is another way around this.
We have a partial fix in bug 1569570 but some way without adding our own xul:menulist would be great.
Just found Abdoulayes response in bug 1569570 so nothing needed here.
Description
•