Closed
Bug 328070
Opened 18 years ago
Closed 17 years ago
opt-in UI for data collection
Categories
(Toolkit Graveyard :: Data Collection/Metrics, defect, P5)
Toolkit Graveyard
Data Collection/Metrics
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: bryner, Assigned: pete)
References
Details
Attachments
(3 files, 1 obsolete file)
3.18 KB,
patch
|
janv
:
review+
|
Details | Diff | Splinter Review |
456 bytes,
text/plain
|
Details | |
529 bytes,
patch
|
janv
:
review+
|
Details | Diff | Splinter Review |
Updated•18 years ago
|
QA Contact: nobody → metrics
Reporter | ||
Updated•18 years ago
|
Priority: -- → P1
Reporter | ||
Updated•18 years ago
|
Priority: P1 → P5
Target Milestone: mozilla1.8.1 → ---
Comment 1•17 years ago
|
||
It seems like this should happen via the preference pane. Maybe under "Advanced / General"? Beltzner, any suggestions? Additionally, it would be neat to randomly prompt a set of beta users to toggle this on and off.
Comment 2•17 years ago
|
||
The setting should live under Preferences -> Privacy -> Private Data... still working on the message.
Comment 3•17 years ago
|
||
(In reply to comment #2) > The setting should live under Preferences -> Privacy -> Private Data... still > working on the message. We need a check box and the localizable message, "Help us make Firefox better by sending anonymous usage statistics". The check box should default to the current value of metrics.upload.enable, then toggle the pref as requested. It should be located directly under "Ask me before clearing private data", following the same form.
Assignee: nobody → pete
Assignee | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•17 years ago
|
||
Well, while implementing this I ran into a problem with adding an overlay to: chrome://browser/content/preferences/privacy.xul If I load the uri directly in the browser it works fine however, from the preferences dialog this is loaded in preferences.xml via document.loadOverlay http://lxr.mozilla.org/seamonkey/source/toolkit/content/widgets/preferences.xml#688 It seems when an overlay is loaded in this manor and there is an additional overlay for the document, it doesn't work. I get this exception: JavaScript error: , line 0: uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIDOMXULDocument.loadOverlay]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: chrome://global/content/bindings/preferences.xml :: showPane :: line 651" data: no] So this is a bug that will block the metrics UI implementation. I haven't searched bz yet for this bug to see if it is filed.
Assignee | ||
Comment 5•17 years ago
|
||
Yes looks like bug 330458 is the same problem described in comment #4
Comment 6•17 years ago
|
||
What is the work-around? Choosing a different location?
Assignee | ||
Comment 7•17 years ago
|
||
The work around is hooking into the UI where the overlay is not loaded via document.loadOverlay. Maybe Tools->Metrics menu ... I do think that the privacy pane is the right place for this.
Assignee | ||
Comment 8•17 years ago
|
||
I think what we should do is implement this UI control the way it is originally supposed to be. Since we are on the trunk, dealing w/ blocker bugs is just a way of life. Maybe we can help push the bug fix we need through or look at it ourselves to help expedite things ...
Comment 9•17 years ago
|
||
(In reply to comment #8) > I think what we should do is implement this UI control the way it is originally > supposed to be. Since we are on the trunk, dealing w/ blocker bugs is just a > way of life. The bug was nominated and rejected as a blocker... we'll have to route around the issue for now. > Maybe we can help push the bug fix we need through or look at it ourselves to > help expedite things ... If you think it would be very trivial to fix, let me know -- and we can discuss fixing that as a separate project. New plan for the UI: Just add the checkbox and message to Preferences of the extension itself. This should consist of a XUL window containing a checkbox, the message, and a close button.
Assignee | ||
Comment 10•17 years ago
|
||
> New plan for the UI:
>
> Just add the checkbox and message to Preferences of the extension itself. This
> should consist of a XUL window containing a checkbox, the message, and a close
> button.
Ok, will do ...
Assignee | ||
Comment 11•17 years ago
|
||
Alex, please apply and take a look at this patch to ensure it is what you are looking for. Afterwards I can get review and then land.
Comment 12•17 years ago
|
||
(In reply to comment #11) > Created an attachment (id=291503) [details] > metrics UI patch > > Alex, please apply and take a look at this patch to ensure it is what you are > looking for. Afterwards I can get review and then land. Looks good ... just make sure it uses "Help us make Firefox better by sending anonymous usage statistics" and is localizable if needed.
Assignee | ||
Comment 13•17 years ago
|
||
Attachment #291503 -
Attachment is obsolete: true
Assignee | ||
Comment 14•17 years ago
|
||
Jan, can I get a review on this patch which provides a UI hook to turn metrics on/off from Tools->Add-ons->Metrics->Preferences.
Updated•17 years ago
|
Attachment #291677 -
Flags: review+
Assignee | ||
Comment 15•17 years ago
|
||
Ok, UI patch has landed.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 16•17 years ago
|
||
forgot to include the jar manifest file ...
Assignee | ||
Comment 17•17 years ago
|
||
on OSX there shouldn't be a close button. As on windows OK and Cancel buttons are inserted in the dialog automatically where on OSX no buttons are added. If you look at the Firefox preferences panel, the dialog is closed via the OS "x" in the titlebar.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Updated•17 years ago
|
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 18•17 years ago
|
||
I also noticed that the prefs dialog is not turning the pref on and off on win32 but it is working fine on OSX. I need to test on Linux ...
Assignee | ||
Comment 19•17 years ago
|
||
I take that back it is working on win32 ...
Assignee | ||
Comment 20•17 years ago
|
||
Jan, can you review attachment 292607 [details] [diff] [review] UI change?
Updated•17 years ago
|
Attachment #292607 -
Flags: review+
Assignee | ||
Updated•17 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Comment 21•17 years ago
|
||
I just downloaded the latest hourly, and I see no UI to turn this on/off: Hidden Pref? Tools-?Options->Privacy right? Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9b3pre) Gecko/2008011015 Minefield/3.0b3pre Firefox/3.0 ID:2008011015
Comment 22•17 years ago
|
||
(In reply to comment #21) > I just downloaded the latest hourly, and I see no UI to turn this on/off: No moz builds include the extension. You would have to build it yourself and install it ... then you could find it under Add-ons > Metrics Collector > Preferences.
Comment 23•17 years ago
|
||
http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&subdir=mozilla/extensions/metrics&command=DIFF_FRAMESET&file=install.rdf&rev1=1.3&rev2=1.4&root=/cvsroot is wrong. If you want to make it available for all Firefox 3 versions, use "3.0.*". Reopening to get this fixed. See https://addons.mozilla.org/en-US/firefox/blog/4 for more details.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 24•17 years ago
|
||
Ok, I reverted install.rdf back ... <em:maxVersion>@FIREFOX_VERSION@</em:maxVersion>
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•