Select elements fail to display dropdown in RDM
Categories
(DevTools :: Responsive Design Mode, defect, P1)
Tracking
(firefox-esr60 unaffected, firefox-esr68 unaffected, firefox68 unaffected, firefox69+ verified, firefox70 verified)
Tracking | Status | |
---|---|---|
firefox-esr60 | --- | unaffected |
firefox-esr68 | --- | unaffected |
firefox68 | --- | unaffected |
firefox69 | + | verified |
firefox70 | --- | verified |
People
(Reporter: miker, Assigned: miker)
References
(Blocks 1 open bug, Regression)
Details
(Keywords: regression)
Attachments
(3 files)
285.47 KB,
video/webm
|
Details | |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
482 bytes,
text/html
|
Details |
STR
- Open https://bugzilla.mozilla.org/attachment.cgi?id=9083314
- Open RDM.
- Click the select element.
Expected
A dropdown should appear.
Actual
No dropdown appears.
Comment 1•5 years ago
|
||
Brad, could you get a regression window please?
Assignee | ||
Updated•5 years ago
|
Comment 2•5 years ago
|
||
Regression window:
https://hg.mozilla.org/integration/autoland/pushloghtml?fromchange=5b1724bafc9387044cc794e9f69c31f151b26fd0&tochange=ffde2ba5b8c65039dea5d8de24ea9af111c35713
Regressed by: ffde2ba5b8c65039dea5d8de24ea9af111c35713 Abdoulaye O. Ly — Bug 1533958 - Make <select> works with Fission. r=NeilDeakin
Comment 3•5 years ago
|
||
Thank you so much for the regression window.
So fission refactorings in Firefox tend to break RDM because of the way RDM is architectured. We do want to fix this by re-building the RDM UI differently in bug 1549775, but fixing this bug will take a long time.
In the meantime, we should either make the fission changes to Firefox behind the fission pref if possible, or find a work around for RDM.
Assignee | ||
Comment 4•5 years ago
|
||
The problem appears to be that RDM now requires it's own xul:menulist
. I think that we can add this and just include the global styles... it all depends if adding a new XUL element to the mix causes and problems inside RDM.
Updated•5 years ago
|
Assignee | ||
Comment 5•5 years ago
|
||
Assignee | ||
Comment 6•5 years ago
|
||
Updated•5 years ago
|
Comment 7•5 years ago
•
|
||
With Fission, we have a direct communication channel between window Actors that are lazily created for each frame. So tunneling messages may not be a good idea since that will add an overhead of messages and instances of Actor. But, we may need to get the outer browser from the actors which can only access to the inner browser directly. To fix that, maybe we can expose the outer browser via the inner one in swap.js@start function with
Object.defineProperty(innerBrowser, "outerBrowser", {
get() {
return tab.linkedBrowser;
},
configurable: true,
enumerable: true,
});
So that in SelectParent.jsm receiveMessage function we can do something like this:
let topBrowsingContext = this.manager.browsingContext.top;
let browser = topBrowsingContext.embedderElement;
if (browser.outerBrowser) {
// We are in RDM mode
browser = browser.outerBrowser;
}
All we will need to do after that is to remove "Forms" related messages in tunnel.js.
Comment 8•5 years ago
|
||
[Tracking Requested - why for this release]: This is a fairly important regression that will make using webpages within RDM impossible in certain cases.
Updated•5 years ago
|
Updated•5 years ago
|
Assignee | ||
Comment 9•5 years ago
|
||
I'll remove more messages from tunnel.js in bug 1572712
Updated•5 years ago
|
Comment 11•5 years ago
|
||
Comment 12•5 years ago
|
||
bugherder |
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 13•5 years ago
|
||
Comment on attachment 9083313 [details]
Bug 1569570 - Select elements fail to display dropdown in RDM r?layely!
Beta/Release Uplift Approval Request
- User impact if declined: They will not be able to use dropdowns whenever RDM is open.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: Yes
- If yes, steps to reproduce: 1. Open https://bug1569570.bmoattachments.org/attachment.cgi?id=9083314
Tools
->Web Developer
->Responsive Design Mode
- Check that clicking the select box opens a dropdown.
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): It is just a very simple change.
- String changes made/needed: None
Assignee | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 14•5 years ago
|
||
Comment on attachment 9083313 [details]
Bug 1569570 - Select elements fail to display dropdown in RDM r?layely!
Fix for broken dropdowns when RDM is active. Approved for 69.0b14.
Comment 15•5 years ago
|
||
bugherder uplift |
Updated•5 years ago
|
Comment 16•5 years ago
|
||
Reproduced the initial issue using an old Nightly build: 20190729095501
Verified - fixed on latest Nightly 70.0a1 (Build id: 20190813215212) on Windows 10, Ubuntu 18.04 and Mac OS 10.14
Waiting for Beta 69.0b14 to verify.
Comment 17•5 years ago
|
||
Verified - fixed on latest Beta 69.0b14 (Build id: 20190815163925) on Windows 10, Ubuntu 18.04 and Mac OS 10.14
Updated•3 years ago
|
Description
•