Closed Bug 1949180 Opened 15 days ago Closed 8 days ago

Switching panels while one is loading can end up displaying the wrong panel

Categories

(DevTools :: Netmonitor, defect)

defect

Tracking

(firefox-esr128 unaffected, firefox135 unaffected, firefox136 unaffected, firefox137 fixed)

RESOLVED FIXED
137 Branch
Tracking Status
firefox-esr128 --- unaffected
firefox135 --- unaffected
firefox136 --- unaffected
firefox137 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

(Regression)

Details

(Keywords: regression)

Attachments

(1 file)

Most likely a regression from bug 1943543, but I didn't verify.

STR:

  • run firefox with chaos mode
  • open devtools on netmonitor
  • quickly open the styleeditor while netmonitor is still loading and quickly select netmonitor back

After a few seconds, the styleditor will be shown while you selected the netmonitor.

The Bugbug bot thinks this bug should belong to the 'DevTools::Netmonitor' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: General → Netmonitor

The call to selectSingleNode has been delayed in bug 1943543 to be done after the full loading
of the panel in order to prevent glitches and reflows while the panel is loading.

But this highlight that we should be cautious about the async loadTool step
and bail out if we already moved to another panel.

Keywords: regression
Regressed by: 1943543

Set release status flags based on info from the regressing bug 1943543

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED
Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/5d409daae0d6 [devtools] Prevent showing slow loading panel if we already moved to another panel. r=nchevobbe,devtools-reviewers
Status: ASSIGNED → RESOLVED
Closed: 8 days ago
Resolution: --- → FIXED
Target Milestone: --- → 137 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: