User is unable to reach the Facebook User and Password fields after exiting RDM
Categories
(DevTools :: Responsive Design Mode, defect, P2)
Tracking
(firefox-esr68 unaffected, firefox72 wontfix, firefox73 wontfix, firefox74 verified)
| Tracking | Status | |
|---|---|---|
| firefox-esr68 | --- | unaffected |
| firefox72 | --- | wontfix |
| firefox73 | --- | wontfix |
| firefox74 | --- | verified |
People
(Reporter: rdoghi, Assigned: bradwerth)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file, 1 obsolete file)
|
3.23 MB,
video/mp4
|
Details |
[Affected versions]:
Nightly 74.0a1
[Affected platforms]:
Platforms: ALL
Steps :
- Open the Firefox Browser.
- Reach facebook.com.
- Hit Ctrl+Shift+M in order to start RDM.
- Select the iPad device or enable touch simulation.
- Exit RDM mode.
- Click the User or Password fields.
Expected Results :
The user should be able to click the fields.
Actual Results :
The User cannot enter the user or password fields, instead some text underneat the fields are highlighted.
Note : Please not that this issue only occurs on Facebook.com, this issue does not occur on Twitter or Reddit.
Please also note that this issue only occurs with devtools.responsive.metaViewport.enabled = true.
If the user Disables Touch Simulation before exiting RDM the issue does not occur.
| Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
I couldn't reproduce the exact problem at first, but I think that's because I had the "reload on ..." options turned on in RDM.
With those on, I had a slightly different, but related, problem where I couldn't click inside of fields while inside RDM. Almost like if there was an offset between where I clicked and where the event actually happened.
I switched off the reload options and then could reproduce the issue described. And there too, it feels like its an offset problem after leaving RDM.
This could either be due to the viewport scaling logic somehow, or the way we simulate events.
Brad and/or Micah should investigate to know more.
Comment 2•6 years ago
|
||
I am also able to reproduce this issue with the steps provided above.
Interestingly, the issue seems to go away when I have devtools.responsive.browserUI.enabled = true. I'll keep investigating.
| Assignee | ||
Comment 3•6 years ago
|
||
I'm narrowing it down a bit. In RDM, it's the transition off-to-on of touch simulation (meta viewport) that is the culprit. If you make this transition in RDM and reload or have auto-reload on, then the error is visible within RDM while the meta viewport is on. This shows up in the browser console:
TypeError: browsingContext.embedderElement.getTabBrowser is not a function SessionStore.jsm:2667:56
So a quick fix may be to throw a try/catch block around that if block. That doesn't explain the bad behavior, but it may shield us from it. I'll try that.
| Assignee | ||
Comment 4•6 years ago
|
||
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 5•6 years ago
|
||
This is a truly surprising regression -- Bug 1569475. Since the bug is a bit tricky to replicate, I'm not completely confident in it. I found the issue using mozregression and built a debug nightly with the patch reverted which did not seem to replicate the bug. I'm doing another regression now to triple-check.
If Bug 1569475 is the real cause, then this indicates that one of the callers to MVM::ClampZoom is doing a divide-by-zero, and that NaN value is causing further trouble down the line. If true, it's actually great to have a replication case for this odd calling pattern.
Updated•6 years ago
|
| Assignee | ||
Comment 6•6 years ago
|
||
A second mozregression confirmed Bug 1569475.
Updated•6 years ago
|
Updated•6 years ago
|
| Assignee | ||
Comment 7•6 years ago
|
||
Timing issues in debug make this very difficult for me to reproduce in a debug build. Specifically, the issue noted in Bug 1569626 always appears for me when trying to reproduce. I'm marking that bug as a blocker. It's possible they are related.
| Assignee | ||
Updated•6 years ago
|
| Assignee | ||
Comment 8•6 years ago
|
||
I can no longer reproduce this now that Bug 1569626 has landed. Is it still happening for you?
| Reporter | ||
Comment 9•6 years ago
|
||
Nope this issue no longer occurs in 74.0a1 (2020-01-21), when we exit RDM everything goes back to normal, but we did notice that while in RDM its hard to click inside the fields from the sign up form, while in iPad mode for instance we would have to click underneath the First name field in order to select it. Should we add a different issue for that ? is it already logged ?
| Assignee | ||
Comment 10•6 years ago
|
||
(In reply to Rares Doghi from comment #9)
Nope this issue no longer occurs in 74.0a1 (2020-01-21), when we exit RDM everything goes back to normal, but we did notice that while in RDM its hard to click inside the fields from the sign up form, while in iPad mode for instance we would have to click underneath the First name field in order to select it. Should we add a different issue for that ? is it already logged ?
I don't have this other issue. Please file a bug with as specific a steps to reproduce as you can provide.
| Assignee | ||
Updated•6 years ago
|
| Reporter | ||
Comment 11•6 years ago
|
||
I can no longer reproduce the issue on my side either, if it reoccurs ill add a different defect.
Comment 12•6 years ago
|
||
We know what fixed this, so FIXED is the correct resolution for this bug.
Updated•6 years ago
|
| Reporter | ||
Comment 13•6 years ago
|
||
This issue is Verified as fixed In our latest Beta 74.0b2 on Windows 10, Mac 10.14, and Ubuntu 18.04.
Updated•6 years ago
|
Description
•