Closed Bug 1908312 Opened 2 months ago Closed 2 months ago

Update settings UI to clarify that PPA is disabled when telemetry is disabled

Categories

(Firefox :: Settings UI, defect, P1)

defect

Tracking

()

VERIFIED FIXED
130 Branch
Tracking Status
firefox-esr128 --- verified
firefox128 --- verified
firefox129 --- verified
firefox130 --- verified

People

(Reporter: Gijs, Assigned: Gijs)

References

(Blocks 2 open bugs)

Details

Attachments

(3 files, 2 obsolete files)

Right now in the Firefox settings, the UI state for PPA remains checked and active even when the main telemetry setting is disabled. This is confusing UX, since DAP submission is disabled when telemetry is disabled. IOW, transmitting PPA is disabled when telemetry is disabled, and the UI should reflect that.

Right now the UI state for PPA remains checked and active even when the main telemetry
setting is disabled. This is confusing UX, since DAP submission is disabled when
telemetry is disabled.

Also migrate off the deprecated toolkit-private isTelemetryEnabled() accessor to the normal pref check.

Pushed by gijskruitbosch@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/5ebe73cc1ef3
Make it clear in about:preferences that PPA is disabled when telemetry is disabled, r=bgrins,settings-reviewers,firefox-desktop-core-reviewers ,mossop
Pushed by smolnar@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b72f696abcba
add missing define for staticprefs, rs=bustage
Flags: qe-verify+
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch

Verified fixed using Firefox Nightly 130.0a1 (20240717212306) on MacOS 14.4, Windows 10 and Ubuntu 24.04.

Cc["@mozilla.org/private-attribution;1"].getService(Ci.nsIPrivateAttributionService).wrappedJSObject.isEnabled() returns the correct value according to the checkbox's state.

Right now the UI state for PPA remains checked and active even when the main telemetry
setting is disabled. This is confusing UX, since DAP submission is disabled when
telemetry is disabled.

Also migrate off the deprecated toolkit-private isTelemetryEnabled() accessor to the normal pref check.

Original Revision: https://phabricator.services.mozilla.com/D216801

Attachment #9413493 - Flags: approval-mozilla-beta?
Attachment #9413493 - Attachment is obsolete: true
Attachment #9413493 - Flags: approval-mozilla-beta?

Right now the UI state for PPA remains checked and active even when the main telemetry
setting is disabled. This is confusing UX, since DAP submission is disabled when
telemetry is disabled.

Also migrate off the deprecated toolkit-private isTelemetryEnabled() accessor to the normal pref check.

Original Revision: https://phabricator.services.mozilla.com/D216801

Attachment #9413548 - Flags: approval-mozilla-beta?

Right now the UI state for PPA remains checked and active even when the main telemetry
setting is disabled. This is confusing UX, since DAP submission is disabled when
telemetry is disabled.

Also migrate off the deprecated toolkit-private isTelemetryEnabled() accessor to the normal pref check.

Original Revision: https://phabricator.services.mozilla.com/D216801

Attachment #9413551 - Flags: approval-mozilla-beta?
Attachment #9413548 - Attachment is obsolete: true
Attachment #9413548 - Flags: approval-mozilla-beta?

beta Uplift Approval Request

  • User impact if declined: Confusion in settings
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: https://docs.google.com/document/d/1EYNh71lTnoHJ4CDC5nCBT0HbAIjnZowMVqOx12rhdK4/edit
  • Risk associated with taking this patch: Low
  • Explanation of risk level: This is a relatively straightforward change to settings
  • String changes made/needed: No
  • Is Android affected?: no

Right now the UI state for PPA remains checked and active even when the main telemetry
setting is disabled. This is confusing UX, since DAP submission is disabled when
telemetry is disabled.

Also migrate off the deprecated toolkit-private isTelemetryEnabled() accessor to the normal pref check.

Original Revision: https://phabricator.services.mozilla.com/D216801

Attachment #9413568 - Flags: approval-mozilla-release?

release Uplift Approval Request

  • User impact if declined: Confusion in settings
  • Code covered by automated testing: no
  • Fix verified in Nightly: yes
  • Needs manual QE test: yes
  • Steps to reproduce for manual QE testing: https://docs.google.com/document/d/1EYNh71lTnoHJ4CDC5nCBT0HbAIjnZowMVqOx12rhdK4/edit
  • Risk associated with taking this patch: Low
  • Explanation of risk level: This is a relatively straightforward change to settings
  • String changes made/needed: no
  • Is Android affected?: no
Attachment #9413551 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Blocks: 1907791
QA Whiteboard: [qa-triaged]
Attachment #9413568 - Flags: approval-mozilla-release? → approval-mozilla-release+

Comment on attachment 9413568 [details]
Bug 1908312 - Make it clear in about:preferences that PPA is disabled when telemetry is disabled,

Approved for 128.1esr.

Attachment #9413568 - Flags: approval-mozilla-esr128+

Verified the fix using Firefox 128.0.2, Firefox 128.1.0esr and Firefox 129.0b6. Tests were performed on MacOS 14.5, Windows 11 and Ubuntu 24.04.

Cc["@mozilla.org/private-attribution;1"].getService(Ci.nsIPrivateAttributionService).wrappedJSObject.isEnabled() returns the correct value according to the checkbox's state.

Status: RESOLVED → VERIFIED
QA Whiteboard: [qa-triaged]
Flags: qe-verify+
Blocks: 1909735
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: