Closed
Bug 944453
Opened 12 years ago
Closed 12 years ago
Collect UITelemetry on menubar usage
Categories
(Firefox :: Toolbars and Customization, defect)
Tracking
()
RESOLVED
FIXED
Firefox 29
People
(Reporter: mconley, Assigned: mconley)
References
Details
(Whiteboard: [Australis:P-][fixed-in-holly][qa-])
Attachments
(2 files, 1 obsolete file)
2.04 KB,
patch
|
Gijs
:
review+
|
Details | Diff | Splinter Review |
3.36 KB,
patch
|
Gijs
:
review+
bajaj
:
approval-mozilla-aurora+
bajaj
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
We're interested in collecting:
1) A boolean for whether or not the menubar is displayed by default
2) A count of how many times the menubar is used
3) A count of which default menuitems are being used
Updated•12 years ago
|
Whiteboard: [Australis:P-]
Assignee | ||
Comment 1•12 years ago
|
||
Small adjustment on the description for the sake of time - we still want 1 and 2, but not 3.
Assignee | ||
Comment 2•12 years ago
|
||
Note that I'm constraining this *just* to mouse clicks. This is not going to record keyboard access activity.
Assignee | ||
Comment 3•12 years ago
|
||
Assignee | ||
Comment 4•12 years ago
|
||
Tested on a machine with actual menubars. This appears to work.
Attachment #8361714 -
Attachment is obsolete: true
Assignee | ||
Comment 5•12 years ago
|
||
Comment on attachment 8361753 [details] [diff] [review]
Patch v1 - for Australis
I swear we're almost done with these.
Attachment #8361753 -
Flags: review?(gijskruitbosch+bugs)
Comment 6•12 years ago
|
||
Comment on attachment 8361753 [details] [diff] [review]
Patch v1 - for Australis
Review of attachment 8361753 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good, two nits below.
::: browser/modules/BrowserUITelemetry.jsm
@@ +301,5 @@
> case "PlacesChevron":
> this._PlacesChevronMouseUp(aEvent);
> break;
> + case "menubar-items":
> + this._menubarMouseUp(aEvent);
I'm assuming this thing (y u no context, splinter?) catches mouseups in the descendants of the menu, so that mousedown->dragdown-in-menu->mouseup still gets caught?
@@ +328,5 @@
>
> + _menubarMouseUp: function(aEvent) {
> + let target = aEvent.originalTarget;
> + let tag = target.localName
> + let result = (tag == "menu" || tag == "menuitem") ? tag : "other";
Why the distinction between menus and menuitems? Is that valuable? Or can we just log 'menu' ?
Attachment #8361753 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Assignee | ||
Comment 8•12 years ago
|
||
(In reply to :Gijs Kruitbosch from comment #6)
> Comment on attachment 8361753 [details] [diff] [review]
> Patch v1 - for Australis
>
> Review of attachment 8361753 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Looks good, two nits below.
>
> ::: browser/modules/BrowserUITelemetry.jsm
> @@ +301,5 @@
> > case "PlacesChevron":
> > this._PlacesChevronMouseUp(aEvent);
> > break;
> > + case "menubar-items":
> > + this._menubarMouseUp(aEvent);
>
> I'm assuming this thing (y u no context, splinter?) catches mouseups in the
> descendants of the menu, so that mousedown->dragdown-in-menu->mouseup still
> gets caught?
>
Yep, that should work.
> @@ +328,5 @@
> >
> > + _menubarMouseUp: function(aEvent) {
> > + let target = aEvent.originalTarget;
> > + let tag = target.localName
> > + let result = (tag == "menu" || tag == "menuitem") ? tag : "other";
>
> Why the distinction between menus and menuitems? Is that valuable? Or can we
> just log 'menu' ?
UX is interested in whether or not people are actually opening things from the menu, as well as just looking at items in the menus. An increase in "menu" usage, but not in "menuitem" usage might indicate that users are looking for (and not finding) things. I thought that might be valuable.
Assignee | ||
Comment 9•12 years ago
|
||
Comment on attachment 8362550 [details] [diff] [review]
Patch v1 - for non-Australis
Pretty much a straight port.
Attachment #8362550 -
Flags: review?(gijskruitbosch+bugs)
Assignee | ||
Comment 10•12 years ago
|
||
Thanks Gijs! Australis patch landed on fx-team:
remote: https://hg.mozilla.org/integration/fx-team/rev/2bc82c3b8dcd
Comment 11•12 years ago
|
||
Comment on attachment 8362550 [details] [diff] [review]
Patch v1 - for non-Australis
Review of attachment 8362550 [details] [diff] [review]:
-----------------------------------------------------------------
This looks almost mergable. In those cases, please feel free to carry over r+. :-)
Attachment #8362550 -
Flags: review?(gijskruitbosch+bugs) → review+
Assignee | ||
Comment 12•12 years ago
|
||
Comment on attachment 8362550 [details] [diff] [review]
Patch v1 - for non-Australis
[Approval Request Comment]
Bug caused by (feature/regressing bug #):
None. This gives us the ability to count clicks on menu and menuitems - things that UX and UR is interested in.
User impact if declined:
None.
Testing completed (on m-c, etc.):
Just local testing on Windows, OS X and Linux.
Risk to taking this patch (and alternatives if risky):
Very low.
String or IDL/UUID changes made by this patch:
None.
Attachment #8362550 -
Flags: approval-mozilla-beta?
Attachment #8362550 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 13•12 years ago
|
||
Landed non-Australis patch on Holly:
remote: https://hg.mozilla.org/projects/holly/rev/abe39130e6ff
Whiteboard: [Australis:P-] → [Australis:P-][fixed-in-fx-team][fixed-in-holly]
Comment 14•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [Australis:P-][fixed-in-fx-team][fixed-in-holly] → [Australis:P-][fixed-in-holly]
Target Milestone: --- → Firefox 29
Comment 15•12 years ago
|
||
Comment on attachment 8362550 [details] [diff] [review]
Patch v1 - for non-Australis
just in time for our final beta's :-| to squeeze in a change like this. No end user impact and low-risk approving for uplift.
Attachment #8362550 -
Flags: approval-mozilla-beta?
Attachment #8362550 -
Flags: approval-mozilla-beta+
Attachment #8362550 -
Flags: approval-mozilla-aurora?
Attachment #8362550 -
Flags: approval-mozilla-aurora+
Assignee | ||
Comment 16•12 years ago
|
||
Thanks bajaj - these were the last ones. :)
https://hg.mozilla.org/releases/mozilla-aurora/rev/164d5ef28143
https://hg.mozilla.org/releases/mozilla-beta/rev/f14cc0345552
status-firefox27:
--- → fixed
status-firefox28:
--- → fixed
Whiteboard: [Australis:P-][fixed-in-holly] → [Australis:P-][fixed-in-holly][qa-]
You need to log in
before you can comment on or make changes to this bug.
Description
•