Closed Bug 1399180 Opened 7 years ago Closed 7 years ago

Select tool on mousedown rather than on click

Categories

(DevTools :: General, enhancement, P3)

enhancement

Tracking

(firefox57 fixed)

RESOLVED FIXED
Firefox 57
Tracking Status
firefox57 --- fixed

People

(Reporter: jdescottes, Assigned: jdescottes)

Details

Attachments

(1 file)

We lose a few hundred ms of perceived user performance by waiting for a click event when selecting a toolbox tab.

As a reference, browser tabs are switching on mousedown (in Firefox, in Chrome they are switching on click). Chrome devtools tabs are also switching on mousedown.

The code driving this is at http://searchfox.org/mozilla-central/rev/51eae084534f522a502e4b808484cde8591cb502/devtools/client/framework/components/toolbox-tab.js#56
Comment on attachment 8907151 [details]
Bug 1399180 - select devtools tab on mousedown rather than on click;

https://reviewboard.mozilla.org/r/178838/#review183996
Attachment #8907151 - Flags: review?(gl) → review+
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2a131a0c2d11
select devtools tab on mousedown rather than on click;r=gl
https://hg.mozilla.org/mozilla-central/rev/2a131a0c2d11
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 57
Product: Firefox → DevTools
You need to log in before you can comment on or make changes to this bug.