Closed Bug 1175195 Opened 9 years ago Closed 6 years ago

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

Categories

(DevTools Graveyard :: Graphic Commandline and Toolbar, defect)

defect
Not set
normal

Tracking

(firefox41 affected)

RESOLVED INCOMPLETE
Tracking Status
firefox41 --- affected

People

(Reporter: mstange, Unassigned)

Details

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.
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
Closed: 6 years ago
Resolution: --- → INCOMPLETE
Product: DevTools → DevTools Graveyard
You need to log in before you can comment on or make changes to this bug.