Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

[Bug] Newly-available addons that were installed before Preview cannot be enabled #9994

Closed
BeeeWall opened this issue Apr 16, 2020 · 14 comments
Assignees
Labels
🐞 bug Crashes, Something isn't working, .. Feature:WebExtensions

Comments

@BeeeWall
Copy link

BeeeWall commented Apr 16, 2020

Steps to reproduce

  1. Using a pre-Fenix version of Nightly, install a few addons that are now available, like Dark Reader and HTTPS Everywhere, as well as uBlock Origin.
  2. (For comparison) Install the build of Fenix where uBlock got enabled. It worked fine.
  3. Install the latest update and try to enable HTTPS Everywhere and Dark Reader.
  4. (For comparison) Install another newly-available addon, such as NoScript.

Expected behavior

They will enable fine and work, just like the uBlock update did if you had uBlock previously, and just like newly-installed addons do.

Actual behavior

The addon says it's enabled, but it does not move to the Enabled section, and does not work when browsing. If the app is closed and reopened, the addon page shows it as disabled again.

Device information

  • Android device: Samsung Galaxy S10e on the Android 10-based One UI 2.1
  • Fenix version: 200416 8:30 (Build #2015734851)

┆Issue is synchronized with this Jira Task

@Amejia481
Copy link
Contributor

This will be fixed after this pr lands mozilla-mobile/android-components#6693 and Fenix picks the new version on AC that contains it

@BeeeWall
Copy link
Author

Oops, didn't realize an issue had been filed over there already. Didn't think to check.

Thanks for fixing it so quickly!

@BeeeWall BeeeWall changed the title [Bug] Newl-available addons that were installed before Preview cannot be enabled [Bug] Newly-available addons that were installed before Preview cannot be enabled Apr 16, 2020
@csadilek csadilek removed the needs:triage Issue needs triage label Apr 16, 2020
@Amejia481 Amejia481 added the eng:qa:needed QA Needed label Apr 17, 2020
@Amejia481
Copy link
Contributor

This should be fixed in master, @AndiAJ would you mind taking a look? :)
Related issue mozilla-mobile/android-components#6685

Be aware that now we are enabling the newly supported add-ons when the notification is shown.

@AndiAJ
Copy link
Collaborator

AndiAJ commented Apr 22, 2020

Hi @Amejia481 , I've just checked this matter using a Google Pixel 3a (Android 10) using the following scenarios:

1st scenario

Fennec → Fenix GV 76 from 4/6 → Fenix GV 77 from 4/16 →Latest Fenix GV 77 from 4/22

► Video after migrating from Fenix GV 76 from 4/6 → Fenix GV 77 from 4/16

20200422-183212

The Add-ons are disabled after the migration
❌ If you enable them, each time you re-open them they are enabled over and over
❌ The notification is displayed each time you open Fenix
❓ Bumped into a "Failed to querry Add-ons!"error after closing Fenix and resuming it.
Due to this no notification get's displayed

► Video after migrating from Fenix GV 77 from 4/16 →Latest Fenix GV 77 from 4/22

20200422-184805

The Add-ons are disabled after the migration
❌ If you enable them, each time you re-open them they are enabled over and over
No notification is displayed
❓ Bumped into a "Failed to querry Add-ons!"error after closing Fenix and resuming it.

2nd scenario

Fennec → Fenix GV 77 from 4/16 →Latest Fenix GV 77 from 4/22

► Video after migrating Fennec → Fenix GV 77 from 4/16

20200422-192354

✔️ The Add-ons are enabled after the migration
✔️ The enable/disable state is properly displayed
✔️ No notification is displayed (as they are installed)
❓ Bumped into a "Failed to querry Add-ons!"error after closing Fenix and resuming it.

► Video after Fenix GV 77 from 4/16 →Latest Fenix GV 77 from 4/22

20200422-192523
✔️ The Add-ons are enabled after the migration
✔️ The enable/disable state is properly displayed
✔️ No notification is displayed (as they are installed)
❓ Bumped into a "Failed to querry Add-ons!"error after closing Fenix and resuming it.

Please review and share your thoughts. ☺️
I'll remove the QA needed label until further notice.

@AndiAJ AndiAJ removed the eng:qa:needed QA Needed label Apr 22, 2020
@BeeeWall
Copy link
Author

It seems to have been fixed (at least for me) so I'm gonna close this.

@Amejia481
Copy link
Contributor

Sorry, @AndiAJ would you mind re-testing. Test the latest build from master, as it will have the fix. Also be aware, if you have a previous open instance of Fenix, you have kills from the task switcher and open it again.

@Amejia481 Amejia481 reopened this Apr 22, 2020
@Amejia481
Copy link
Contributor

@BeeeWall Thanks for verifying :)
I opened it again as we need QA verifies the issue in multiple devices.

@Amejia481 Amejia481 added the eng:qa:needed QA Needed label Apr 22, 2020
@BeeeWall
Copy link
Author

Oops, my bad then.

@AndiAJ
Copy link
Collaborator

AndiAJ commented Apr 23, 2020

Hi, verified as fixed after updating to the latest Nightly Build #2015736177 from 4/23 using the following devices:
• Google Pixel 3a (Android 10)
• Huawei Mate 20 Lite (Android 9)
• Samsung Galaxy S7 (Android 7)

Performed the following updates:
Fennec → Fenix GV 76 from 4/6 → Fenix GV 77 from 4/16 →Latest Fenix GV 77 from 4/23

► Video after migrating Fenix GV 77 from 4/16
20200423-150525

► Video after migrating to the latest Fenix GV 77 from 4/23 ✔️
20200423-150640

Great job @Amejia481 ! ☺️

@Amejia481 Amejia481 reopened this Jun 9, 2020
@Amejia481
Copy link
Contributor

We receive a report of this issue. It would be pretty helpful if QA can help us to determine if this still an issue.

The user was using 77.0.0-beta.2

@Amejia481 Amejia481 added eng:qa:needed QA Needed and removed eng:qa:verified QA Verified labels Jun 9, 2020
@Amejia481
Copy link
Contributor

It will be ideal if we can test on Xiaomi devices, as it was the device where the user is experiencing the issue.

@sflorean
Copy link
Contributor

sflorean commented Jun 16, 2020

Tested this with Xiaomi Redmi Note 8T (Android 9) on Nightly and Beta channels, and couldn't reproduce the issue.
For Fennec - Fenix 77.0.0-beta2 -> followed this scenarios :

  • disable the addons > migrate > enable them;
  • enable > migrate > disable/enable.

For Fennec > Fenix GV 76 from 4/6 > Fenix GV 77 from 4/16 >Latest Fenix GV 77 from 4/22 > latest Beta 76.0.0-beta2 - addons were enabled on the last build.

@sflorean sflorean removed the eng:qa:needed QA Needed label Jun 16, 2020
@Amejia481
Copy link
Contributor

It will be ideal if we can test on Xiaomi devices, as it was the device where the user is experiencing the issue.

We can close this issue, as we discovered that the reported bug is not related to add-ons, it's due to some devices that are not able to run WorkManager, we are going to open a new issue for it.

@csadilek
Copy link
Contributor

csadilek commented Jul 8, 2020

It's due to some devices that are not able to run WorkManager, we are going to open a new issue for it:

mozilla-mobile/android-components#7659

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Crashes, Something isn't working, .. Feature:WebExtensions
Projects
None yet
Development

No branches or pull requests

6 participants