Closed Bug 1441974 Opened 6 years ago Closed 6 years ago

3 Pane toggle fires twice

Categories

(DevTools :: Inspector, defect, P2)

defect

Tracking

(firefox-esr52 unaffected, firefox58 unaffected, firefox59 unaffected, firefox60 fixed)

RESOLVED FIXED
Firefox 60
Tracking Status
firefox-esr52 --- unaffected
firefox58 --- unaffected
firefox59 --- unaffected
firefox60 --- fixed

People

(Reporter: jryans, Assigned: jryans)

References

(Blocks 1 open bug)

Details

(Keywords: regression)

Attachments

(1 file)

STR:

1. Set the following prefs:

devtools.inspector.split-sidebar-toggle: true
devtools.inspector.split-rule-enabled: false

2. Try to use the 3 Pane toggle to enable 3 Pane mode

ER:

Rules moves to a new pane.

AR:

3 rules panels appear in the existing sidebar pane.

Cause:

Bug 1420130 removed the React monkeypatch, which seems to have led to some event being fired twice.  In this case, the sidebar toggle gets 2 click events, so it toggle off and on very fast.
Comment on attachment 8954890 [details]
Bug 1441974 - Avoid duplicate clicks in sidebar toggle.

https://reviewboard.mozilla.org/r/224050/#review230058
Attachment #8954890 - Flags: review+
Pushed by jryans@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/853caeaad89b
Avoid duplicate clicks in sidebar toggle. r=gl
https://hg.mozilla.org/mozilla-central/rev/853caeaad89b
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: