Improve UX when picking elements on remote browsers
Categories
(DevTools :: about:debugging, enhancement, P3)
Tracking
(firefox65 unaffected, firefox66 unaffected, firefox67 wontfix, firefox97 fixed)
Tracking | Status | |
---|---|---|
firefox65 | --- | unaffected |
firefox66 | --- | unaffected |
firefox67 | --- | wontfix |
firefox97 | --- | fixed |
People
(Reporter: hyacoub, Assigned: nchevobbe)
References
(Blocks 2 open bugs)
Details
(Whiteboard: dt-webcompat)
Attachments
(2 files, 4 obsolete files)
[Affected versions]:
Nightly 67.0a1
[Affected platforms]:
Platforms: Windows 10 x 64, Mac OS X 10.14, and Ubuntu 16.04 x64.
[Steps to reproduce]:
- Make sure that you are connected to a mobile device using about:debugging, following these steps:
a. In about:config set:- devtools.aboutdebugging.network -> true
- devtools.aboutdebugging.new-enabled -> true
b. Enable remote debugging in the device -> https://developer.mozilla.org/en-US/docs/Tools/WebIDE/Troubleshooting
- From "about:debugging" make sure to be connected to a mobile device.
- On your mobile device open many tabs (ex. reddit.com, amazon.com) and make sure this is reflected in the Desktop UI.
- Inspect any of the opened tabs.
- Click on "Pick an element from the page".
[ Expected result]:
Should remove the feature.
Future plans: Show the UI of the Device in about:devtools-toolbox
[Actual result]:
It's not possible to pick an element from the page when you are connected via USB
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 1•6 years ago
|
||
I suppose this was discussed in the standup, but the idea for now is just to hide the feature in about:devtools-toolbox.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 2•6 years ago
|
||
My plan here would be to only disable/remove the feature when the debugged target is on a remote browser. It can still be helpful when debugging a local addon for instance, so completely removing it doesn't sound great.
We should still decide whether it's best to hide the icon completely or to disable it with a tooltip (eg "Unavailable when debugging a remote browser").
Comment 3•6 years ago
|
||
Comment 4•6 years ago
|
||
Depends on D28065
Using split("-") was clashing with the connection type "this-firefox".
Renamed to "this_firefox" for now.
Added unit test for remote-client-manager.
Comment 5•6 years ago
|
||
Depends on D28066
Comment 6•6 years ago
|
||
Is it really broken?
I've not tested with a device, but it still works when debugging a "remote" firefox.
When you click on "pick an element", we expect you to click on the element you want to inspect on the remote.
On a remote firefox, you have to click on an element in the debugged tab, you will see the highlighter working.
On a remote device, you have to touch your screen, on the debugged tab to select an element. The highlighter should display the selected element.
Now. It isn't working like chrome devtools which replicated the device screen, but it still works and is useful.
Updated•6 years ago
|
Updated•6 years ago
|
Comment 7•6 years ago
|
||
Indeed it works! Just tried with a device, and yes if you touch the screen of the device after clicking on the element picker button you will select it in the inspector.
The lack of user feedback and explanations make it feel broken to me. I wonder if this feels intuitive to others?
I won't push further for disabling the button, but I think we should have some user feedback here. Maybe a message saying "click or touch the element you want to select in your remote browser" displayed in the toolbox? Or maybe a message in the remote browser (although it may hide the element you actually want to touch so maybe not a great idea...)
I will cancel the review requests here, I will just spawn another bug to fix the remote-client-manager bug I spotted while writing the patches here.
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Comment 8•6 years ago
|
||
Comment on attachment 9059270 [details]
Bug 1531311 - THIS_FIREFOX connection type is not recognized;r=ladybenko
Revision D28066 was moved to bug 1545482. Setting attachment 9059270 [details] to obsolete.
Updated•6 years ago
|
Updated•4 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Updated•3 years ago
|
Assignee | ||
Comment 9•3 years ago
|
||
First thing that came to my mind was that we could put an highlighter on the remote debuggee to indicate the node picker was initiated, with a way to close it in case the user wants to pick something underneath (see screenshot)
Assignee | ||
Comment 10•3 years ago
|
||
The images will be used in the RemoteNodePickerNotice (later in this patch queue),
so we need those both on the client and the server.
Depends on D132224
Assignee | ||
Comment 11•3 years ago
|
||
Depends on D132704
Updated•3 years ago
|
Updated•3 years ago
|
Comment 12•3 years ago
|
||
Comment 13•3 years ago
|
||
bugherder |
Updated•3 years ago
|
Updated•3 years ago
|
Description
•