Closed Bug 1625963 Opened 4 years ago Closed 4 years ago

Remove the extension is controlling the default search engine setting warning notice

Categories

(Firefox :: Search, defect, P3)

defect
Points:
3

Tracking

()

VERIFIED FIXED
84 Branch
Iteration:
84.1 - Oct 19 - Nov 01
Tracking Status
firefox78 --- wontfix
firefox84 --- verified
firefox85 --- unaffected

People

(Reporter: prathiksha, Assigned: standard8)

References

Details

Attachments

(3 files, 1 obsolete file)

When an extension is controlling a setting in Firefox, we always show a string (see attachment) and a "Disable Extension..." button next to it. It looks like this button is missing for the default search setting. We could select a different default search engine from the drop down below the string as seen in the attachment, but it doesn't really disable the extension.

Also, looking at the code here[0], the description element is controlling a "disableDefaultSearchExtension" element that doesn't exist AFAICT.

[0] https://searchfox.org/mozilla-central/rev/9c6e7500c0015a2c60be7b1b888261d95095ce27/browser/components/preferences/in-content/search.inc.xhtml#31

Blocks: 1507619
Priority: -- → P3

I think we didn't include the disable button since you can change the controlled pref here without disabling the extension. Does this seem expected, Jorge?

Flags: needinfo?(jorge)

Yes, that seems to be expected. An extension can do more than add a search engine, so making it non-default and disabling it should be separate actions.

Flags: needinfo?(jorge)

Looks like this is expected and we probably don't need to change it. I think we want to move away from the disable-only option and prefer something like this where the user can change the preference in the general case as well.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID

So not entirely sure we want to close this, we let arbitrary webextensions set the default to a built in engine (without a prompt) but we could still let the user disable the extension that set is_default (not the built in engine) here

FWIW I agree, especially for search there might be not-so-wanted add-ons overwriting this and the user could be unclear on how to remove the add-on otherwise. Also, are we sure that the user choice will persistently be honored after that and there's no way for the add-on to creep back to their default?

And to add another point, I would claim that the majority of users who switch away from DuckDuckGo in the above presented case would actually like to do both, uninstall the add-on and reset their search engine, and we're doing them a disservice by keeping the add-on around in the background when they switched away from the default search engine.

Mark, any major concerns with opening this back up?

Flags: needinfo?(mstriemer)

I don't see any reason why we can't have the option to disable as well.

(In reply to Johann Hofmann [:johannh] from comment #5)

[...] Also, are we sure that the user choice will persistently be honored after that and there's no way for the add-on to creep back to their default?

That sounds like it would be a serious problem. If there's a real concern here that should probably get looked into.

Status: RESOLVED → REOPENED
Flags: needinfo?(mstriemer)
Resolution: INVALID → ---

Ok, thanks for confirming!

I can take on this bug.

Mark, can you mentor this bug?

Flags: needinfo?(mstriemer)
Severity: normal → S3

If you still want to pick up this bug I can probably help out our Jorge, do you want me to asssign it to you?

Flags: needinfo?(mstriemer) → needinfo?(jgabitto1792)

(In reply to Dale Harvey (:daleharvey) from comment #11)

If you still want to pick up this bug I can probably help out our Jorge, do you want me to asssign it to you?

Hey Dale yes I'm still interested in working on this bug!

Flags: needinfo?(jgabitto1792)

ok assigned, feel free to needinfo me or catch me on matrix (daleharvey) if you have any questions, cheers

Assignee: nobody → jgabitto1792

Stepping in late here because I only just found out about this bug.

The choice to include disable here is opposite of the direction we're going in general with addon settings. While we haven't had the bandwidth to address UI throughout, the backend has been updated to support UI that allows user control and selection of settings that addons do, rather than forcing the disable/removal of an addon to regain control of a setting.

Before we make further changes I'd like to be really clear from the search team about the behaviors and rules around the search default.

To free up work and progress here, I'd propose that the direction changes to removing the "extension has control" block completely. The dropdown allows the user to choose which engine is default. All engines (eventually when opensearch is gone) are extensions, so that block is redundant anyway. In other preferences we are intending a similar approach[1].

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1548700#c5

An additional note, per the bug I linked to in comment 16, we could choose to differentiate user-installed extensions vs. builtin extensions in the dropdown if that were desirable.

dropdown
-> [icon] $extension-name (extension)
-> [icon] $extension-name

The (extension) text denotes a non-builtin extension that has added a search engine.

The pop-up changes would be a possibility, but I'm not sure it covers all the requirements that we have. I think this needs a discussion with Product + UX for search before we go further here.

(In reply to Mark Banner (:standard8) from comment #18)

The pop-up changes would be a possibility, but I'm not sure it covers all the requirements that we have. I think this needs a discussion with Product + UX for search before we go further here.

Sorry for the stop-energy here. I'm going to put together a doc for what we need and then likely sort out a meeting so that we can figure this out with all the information together.

Flags: needinfo?(standard8)

An update: Shane and I just had a discussion, and we agree between ourselves that removing the information about the add-on is a reasonable way to go (as per comment 16). I need to check that with UX and product, but hopefully I should have confirmation soon.

Things have picked up at work and I can't dedicate the time to continue working on this bug. How can I unassign myself from this bug?

(In reply to Jorge from comment #21)

Things have picked up at work and I can't dedicate the time to continue working on this bug. How can I unassign myself from this bug?

If you edit the bug (button near the top), you can just remove your email from the assignee field.

I'm sorry I didn't get you an answer sooner. Now I'm back from PTO, I hope to discuss with product & UX this week.

Assignee: jgabitto1792 → standard8
Flags: needinfo?(standard8)

I've just had a discussion and confirmed that removing the warning seems to be the right way to go. We prompt the user for any add-on that isn't setting to one of the default search engines, and so they've already accepted to have changed the default engine. Additionally, they can change the default engine again regardless of the state of the add-on by simply changing the value in the list.

Hence we don't need to have the warning, as it isn't really serving a useful purpose.

Attachment #9153186 - Attachment is obsolete: true
Pushed by mbanner@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/3054c5649912
Remove the warning for the default search engine being 'controlled' by an extension as it isn't useful for users. r=jaws,fluent-reviewers,preferences-reviewers
Iteration: --- → 84.1 - Oct 19 - Nov 01
Points: --- → 3
Status: REOPENED → RESOLVED
Closed: 4 years ago4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 84 Branch

Updating subject to what we actually did.

Flags: qe-verify-
Summary: Disable extension button is missing when an extension is controlling the default search engine setting → Remove the extension is controlling the default search engine setting warning notice
Attached image some warning

(In reply to Mark Banner (:standard8) from comment #23)

Hence we don't need to have the warning, as it isn't really serving a useful purpose.

Hi, based on this, I verified that on FF nightly I did not get the extra warning of the image attached. Also, when removing the extension, I only got the usual "Remove Bing Search Engine from Firefox?" This is the expected behavior that we are setting with this bug, right?

Regards, Flor.

Flags: needinfo?(standard8)

(In reply to Florencia Di Ciocco from comment #28)

(In reply to Mark Banner (:standard8) from comment #23)

Hence we don't need to have the warning, as it isn't really serving a useful purpose.

Hi, based on this, I verified that on FF nightly I did not get the extra warning of the image attached.

Yes that's the right warning you should no longer get.

Also, when removing the extension, I only got the usual "Remove Bing Search Engine from Firefox?" This is the expected behavior that we are setting with this bug, right?

That sounds right, that should be unchanged from previous behaviour.

Flags: needinfo?(standard8)

Thanks Mark, I've updated the bug accordingly.

Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: