Closed Bug 961848 Opened 11 years ago Closed 11 years ago

Disable pointer events when doing customize mode transition

Categories

(Firefox :: Toolbars and Customization, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
Firefox 29

People

(Reporter: mconley, Assigned: mikedeboer)

References

Details

(Whiteboard: [Australis:P-])

Attachments

(1 file, 1 obsolete file)

mikedeboer mentioned this during the Paris 20140 workweek, and I think it sounds like a fine idea. Basically, we can forgo any pointer events during the customization transition. Such events might be hover events in the menu panel - which isn't so unlikely, considering that the menu panel is usually directly under the mouse cursor during the majority of the frames of the transition. Setting P- since the bug we're blocking is already being tracked.
Mike, what do you think of this? If this is OK, should we switch `this._transitioning` to using the attribute throughout CustomizeMode.jsm?
Assignee: nobody → mdeboer
Status: NEW → ASSIGNED
Attachment #8362896 - Flags: feedback?(mconley)
Blocks: 962023
Comment on attachment 8362896 [details] [diff] [review] Patch v1: disable pointer events when doing customize mode transition Review of attachment 8362896 [details] [diff] [review]: ----------------------------------------------------------------- Thanks for looking at this mikedeboer! Thankfully, we've already got some attributes to indicate when we're transitioning, so we can just use those instead. ::: browser/themes/shared/customizableui/customizeMode.inc.css @@ +2,5 @@ > * License, v. 2.0. If a copy of the MPL was not distributed with this > * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ > > /* Customization mode */ > +#main-window[customize-transitioning] #tab-view-deck { We already have an attribute to indicate that we're transitioning (customize-entering and customize-exiting). I think we should use those instead here: #main-window:-moz-any([customize-entering], [customize-exiting]) #tab-view-deck { pointer-events: none; } I *think* that should do it.
Attachment #8362896 - Flags: feedback?(mconley) → feedback-
Thanks! You're right, the attributes are already there. I just took this route because it'd disable pointer events during all the shaky, janky side-effects before and after the transition. But these are just different bugs that'll get fixed in their own time, so adding just this rule is more than enough :)
Attachment #8362896 - Attachment is obsolete: true
Attachment #8363027 - Flags: review?(mconley)
Comment on attachment 8363027 [details] [diff] [review] Patch v1.1: disable pointer events when doing customize mode transition Review of attachment 8363027 [details] [diff] [review]: ----------------------------------------------------------------- Let's take it. Thanks mikedeboer!
Attachment #8363027 - Flags: review?(mconley) → review+
np, mconley!
Hardware: x86 → All
Whiteboard: [Australis:P-] → [Australis:P-][fixed-in-fx-team]
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P-][fixed-in-fx-team] → [Australis:P-]
Target Milestone: --- → Firefox 29
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: