Open Bug 1897304 Opened 1 year ago Updated 1 year ago

Show only user-modified preferences

Categories

(Firefox :: Settings UI, enhancement, P5)

Firefox 126
enhancement

Tracking

()

Tracking Status
firefox128 --- affected

People

(Reporter: docorbit, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:126.0) Gecko/20100101 Firefox/126.0

Steps to reproduce:

  1. Go to about:config
  2. Check Show only modified preferences

Actual results:

All preferences that are not the default value are listed, whether modified by the user or by Firefox itself.

For example, app.normandy.startupRolloutPrefs.security.remote_settings.intermediates.downloads_per_poll is listed.

Expected results:

All preferences that the user has modified to not be the default value are listed. Firefox-modified preferences are not listed.

For example, app.normandy.startupRolloutPrefs.security.remote_settings.intermediates.downloads_per_poll is not listed.

If this is taken as a defect report, then the request is to produce the What should have happened result.

If this is taken as a feature request, then the request is to add an additional checkbox "Show only user-modified preferences" which produces the What should have happened result.

The Bugbug bot thinks this bug should belong to the 'Firefox::Settings UI' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → Settings UI

An alternative would be to replace the checkbox with a dropdown.

Show all preferences
Show only modified preferences
Show only Firefox-modified preferences
Show only user-modified preferences

It's unclear to me whether we know for certain whether a pref has been modified by an actual user. Regardless, it doesn't look like libpref offers a way to determine this, despite the naming of prefHasUserValue. :mconley would you possibly have more context here?

Severity: -- → S4
Flags: needinfo?(mconley)

Thank you for submitting this issue, I have managed to reproduce the issue with firefox 129.0a1(2024-06-06) on Ubuntu 22.04, MacOS 12.6 and Windows 10. Marking this issue as NEW in order to get our developers involved and provide a solution in further releases.

Have a nice day!

Status: UNCONFIRMED → NEW
Ever confirmed: true

Right - prefHasUserValue is how we detect if the preference has a value set via the user branch, and I'm afraid changes included in the user branch also include changes via privileged script to set, for example, the downloads_per_poll pref.

So I don't think we have a way of differentiating between the source of the pref changes in this case.

Type: defect → enhancement
Flags: needinfo?(mconley)
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.