"Highlight painted area" button has wrong mousedown state when active

RESOLVED INCOMPLETE

Status

RESOLVED INCOMPLETE
3 years ago
2 hours ago

People

(Reporter: mstange, Unassigned)

Tracking

Firefox Tracking Flags

(firefox41 affected)

Details

(Reporter)

Description

3 years ago
STR:
 1. Enable the "highlight painted area" button in the devtools settings.
 2. Click on the button and wait for it to turn blue.
 3. Hold your mouse down on the button.

Actual results:
The button loses its blue color during the mousedown state.

Expected results:
The button should stay blue (or at the most get a little darker blue).
This doesn't affect just the paintflashing button, but all other buttons in the developer toolbar. It's just about the color and transparency in the button bitmap, e.g. 

./browser/themes/shared/devtools/images/command-paintflashing.png

Certainly not related to bug 1169667.

A little visual glitch in the buttons behavior:
1. Turn paintflashing to on.
2. Mousedown on the button to start turning it off, color changes.
3. Mouseup to finish the turn-off action
4. The button turns back to 'on' state, and only after a while is turned 'off'.

Happens because it takes a while to finish the turn-off action (it's async, communicates to the content process) and the state is switched to 'off' only after the action is finished.

Updated

3 months ago
Product: Firefox → DevTools
Per bug 1491875, this component has been closed, and the affected code is being removed from Firefox. Closing this bug as incomplete.
Status: NEW → RESOLVED
Last Resolved: 7 days ago
Resolution: --- → INCOMPLETE

Updated

2 hours ago
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.