Responsive design mode triggers touch events when inspecting
Categories
(DevTools :: Responsive Design Mode, defect, P1)
Tracking
(firefox-esr60 wontfix, firefox56 wontfix, firefox57 wontfix, firefox58 wontfix, firefox59 wontfix, firefox66 wontfix, firefox67 wontfix, firefox68 verified, firefox69 verified)
People
(Reporter: dev, Assigned: pbro)
References
(Blocks 1 open bug)
Details
(Keywords: regression, Whiteboard: [rdm-mvp] [dt-q])
Attachments
(1 file)
Updated•8 years ago
|
Comment 2•8 years ago
|
||
Comment 4•8 years ago
|
||
Updated•7 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 9•6 years ago
|
||
Comment 3 sounds like the general way to go, but there is a complication that might make this harder:
RDM has its own DebuggerServer (that's because it can run without DevTools being open).
So when you open both RDM and DevTools, you really end up with 2 different servers.
When you try to access the inspector actor from RDM's target, you do get one, because the inspector actor is a top-level actor that always exists. But it's just not the same instance as the one the DevTools toolbox also uses.
So there's no way for RDM to know whether we are currently picking an element or not.
I suggest another way:
in DevTools, when the picker is started, get the RDM UI instance via the RDM manager (this is a singleton that's guaranteed to be the right one).
Once we have the object, send a message to its server saying that the picker is started for that particular tab.
So that means introducing new actor methods, but I don't see any other way.
I'll give it a try.
Assignee | ||
Comment 11•6 years ago
|
||
My suggestion in comment 9 should work, but it requires accessing the RDM manager from the node picker, and that might be made easier with bug 1539764.
Assignee | ||
Comment 12•6 years ago
|
||
Updated•6 years ago
|
Comment 13•6 years ago
|
||
(transferring regression info from dupe bug 1539636 comment 6)
Comment 14•6 years ago
|
||
Comment 15•6 years ago
|
||
bugherder |
Updated•6 years ago
|
Updated•6 years ago
|
Comment 16•6 years ago
|
||
This issue is verified as Fixed in Nightly 69.0a1 (2019-06-03).
Updated•6 years ago
|
Comment 17•6 years ago
|
||
Hi Patrick, we didnt notice this issue before but it seems after we refresh the page and we click the red Div from https://jsfiddle.net/qyx5qccm/ we are actually triggering some events in console. Should we add a new bug for it ? should we reopen this one ? this only happens after we refresh the page.
Comment 18•6 years ago
|
||
Rares, I think you are experiencing a different issue. This bug refers to using "Inspector element" only, which did trigger events before. I cannot reproduce this on the link you provided.
However, I do see that something is wrong. Please file a new bug :)
Comment 19•6 years ago
|
||
(In reply to Martin Balfanz [:mbalfanz] from comment #18)
Rares, I think you are experiencing a different issue. This bug refers to using "Inspector element" only, which did trigger events before. I cannot reproduce this on the link you provided.
However, I do see that something is wrong. Please file a new bug :)
Here is the new bug logged for the issue that Rares asked in comment 17:
https://bugzilla.mozilla.org/show_bug.cgi?id=1565160
Description
•