Touch-tapping twice on "show/hide toolbars" button in customize view has button glitch




Panning and Zooming
9 months ago
9 months ago


(Reporter: kats, Unassigned)


55 Branch

Firefox Tracking Flags

(firefox55 affected)


(Whiteboard: [gfx-noted])

Spinoff from bug 1343977 comment 19:

(In reply to Petruta Rasa [QA] [:petruta] from comment #19)
> On the other hand, "Show/Hide Toolbars" button from Customize page has a
> short flicker on second tap - it becomes white, then gray and back to white.
> Also, more rarely, although the pop-up is closed the button remains selected
> (pressed).

I noticed that the latter scenario (button remains in the pressed state) happens if you long-tap the button when the menu is open.

I'm not sure what's causing this bug - it might be platform, it might be front-end. Parking with me until I have a chance to dig into it.


9 months ago
Priority: -- → P3
Whiteboard: [gfx-noted]
The glitch happens because of the synthetic mouse click that lands on the button. i.e.:

- tap once to open: the [open] CSS rule is activated
- tap to close: none of the CSS rules are activated
- synthetic mouse click happens: the :hover:active rule is activated
- mouse click done: none of the CSS rules are activated

The CSS rules in question are at [1]. The third step above is what the visual glitch is. If we reduce the second step to 0 length that would probably fix it too.

I tried skipping the delay on the single-tap firing, by forcing the code down the path at [1] but that didn't really help. I can't think of any other way to fix without introducing a new CSS state or something.



9 months ago
Assignee: bugmail → nobody
You need to log in before you can comment on or make changes to this bug.