Closed Bug 1055278 Opened 11 years ago Closed 9 years ago

Re-connect to app after a restart

Categories

(DevTools Graveyard :: WebIDE, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kgrandon, Unassigned)

References

Details

We need a better way of reconnecting to an app after a restart. STR: 1 - Connect to a device, then connect to an app and debug it. 2 - Restart the device, notice the devtools go away, but the app is still selected. WebIDE also gets disconnected from the device. 3 - When the phone is restarted, connect to the device again. You're now in a state where the app is displayed, but without any devtools. To debug the current app you need to select another app (launching it) and change back. This is extremely frustrating, and the app details should either go away and revert to the default state, or the devtools should come back. I would prefer the devtools to come back in this case.
This seems doable, though the toolbox would be entirely reset, so you'd lose any state you may have had within the tools. I suppose that not really surprising if you've just restarted the device though.
With bug 1055666, bug 1045660, and bug 1055279 done, we're very close to this all working automatically. I have a patch to support this device restart case, but it causes connection to fail if your device shows the connection prompt (the default). However, for the moment, if you first close WebIDE before restarting the device, then when you reopen it, you'll be right back at the same app with the toolbox open. I'll think more about how to support this even when the device has to prompt.
I think this UX issue has been fixed a long time ago with the new refresh behavior that doesn't restart the app completely as well as auto-connect+auto-select of apps. See all bugs mentioned in comment 2.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Product: Firefox → DevTools
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.