Inspecting an element with Touch Simulation enabled in RDM triggers click
Categories
(DevTools :: Responsive Design Mode, defect)
Tracking
(Not tracked)
People
(Reporter: Harald, Assigned: bradwerth)
References
Details
(Keywords: regression, Whiteboard: [dt-q])
Reproduced on Nightly/OSX.
What were you doing?
- Open RDM and Inspector on https://firefox-devtools-dont-click-this-button.glitch.me/
- Make sure to enable touch simulation in RDM
- Using the Inspector's Inspect button, inspect the element
What happened?
Click is triggered on the button.
What should have happened?
Just inspection, no click being fired.
Works as expected in Firefox 66 and Chrome. Breaks element in RDM, as inspection changes the UI.
First seen via https://twitter.com/drybones_5/status/1110936717945655298 .
Comment 2•5 years ago
|
||
FWIW, I can't reproduce on Linux Nightly. Maybe this is platform-specific?
I tried inspecting via:
- right-click + "inspect",
- left-clicking the picker tool, and then left-clicking the button.
Neither of those caused the button to be clicked.
Reporter | ||
Comment 3•5 years ago
|
||
Trying on a fresh profile, I also can't see it. Need to dissect what else is going in my default profile.
Reporter | ||
Comment 4•5 years ago
•
|
||
Found it, Enable Touch Simulation
Comment 5•5 years ago
|
||
Thanks, I can reproduce with that. The bug reproduces in Firefox 66 as well, so probably not a regression from recent RDM work.
(I'm guessing comment 0's "Works as expected in Firefox 66" was in a profile where you hadn't turned on touch simulation.)
Reporter | ||
Updated•5 years ago
|
Comment 6•5 years ago
|
||
Regression range:
Last good revision: fe895421dfbe1f1f8f1fc6a39bb20774423a6d74 (2016-08-17)
First bad revision: 97a52326b06a07930216ebefa5af333271578904 (2016-08-18)
Pushlog:
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=fe895421dfbe1f1f8f1fc6a39bb20774423a6d74&tochange=97a52326b06a07930216ebefa5af333271578904
Likely regression from this commit:
https://hg.mozilla.org/mozilla-central/rev/831107a4950a
Benoit Chabod — Bug 1285566 - Create an EmulationActor and use per-tab API for touch simulator, r=jryans
Updated•5 years ago
|
Comment 7•5 years ago
|
||
Imho a duplicate of bug 1386796. I marked it as see also for now.
Comment 8•5 years ago
|
||
Yes this is definitely a duplicate of that one, and not a regression. It's an unfortunate limitation of our touch simulation actor. It might actually not be too bad to fix. I'll try to take a quick look at the code involved in this today and report back any findings.
Comment 10•5 years ago
|
||
(In reply to Patrick Brosset <:pbro> from comment #8)
Yes this is definitely a duplicate of that one, and not a regression.
Oops, I transferred regression keyword/bug to that bug before seeing this. Feel free to revert that as-appropriate.)
(I don't understand the "not a regression" classification, though... It went from working-correctly to not-working-correctly, with an identified regression-range, and that sounds like a regression. :))
Description
•