Available Updates are not remembered if Firefox is restarted

RESOLVED INACTIVE

Status

()

Toolkit
Add-ons Manager
RESOLVED INACTIVE
7 years ago
2 days ago

People

(Reporter: Alan Baxter, Unassigned)

Tracking

({regression})

5 Branch
x86
Windows XP
regression
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

7 years ago
If an update is listed in the Available Updates pane of the Add-ons Manager and Firefox is subsequently restarted, then the Available Updates pane is no longer listed.  I have to select Check for Updates all over again to get the update listed again.  It would be more convenient if once the Add-ons Manager knows about an available update, it continues to remember that fact after Firefox is restarted.

Steps to reproduce:
- Create a new test profile.
- Open the Add-ons Manager with Tools > Add-ons.
- Uncheck Update Add-ons Automatically from the gear in the Add-ons Manager.
- Install FlashGot 1.3.0.2, an old version.  Restart Firefox to finish the installation.
- Open the Add-ons Manager with Tools > Add-ons.
- Select Check for Updates from the gear in the Add-ons Manager.
Result: the Available Updates pane is listed on the left side under Plugins.
- Select the Available Updates pane.  The most recent version of FlashGot is displayed as an update.
- Exit Firefox and Restart.
- Open the Add-ons Manager with Tools > Add-ons.

Actual result:
- The Add-ons Manager opens with the Available Updates pane displayed.
- The pane says "No updates found".

Expected result:
- The Available Updates pane still lists the most recent version of FlashGot.

Variation:
- After selecting the Available Updates pane and seeing the current version of FlashGot displayed as an update, select the Extensions pane before exiting Firefox.
- Exit Firefox and Restart.
- Open the Add-ons Manager with Tools > Add-ons.

Actual result:
- The Add-ons Manager opens with the Extensions pane displayed.
- Available Updates is not listed on the left side under Plugins.

Expected result:
- Available Updates is listed on the left side under Plugins.
- Opening the Available Updates pane lists the most recent version of FlashGot.
(Reporter)

Comment 1

7 years ago
STR done using Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0
(Reporter)

Comment 2

7 years ago
Bug exists in the current Aurora and Nightly builds too.
Mozilla/5.0 (Windows NT 5.1; rv:7.0a2) Gecko/20110712 Firefox/7.0a2
Mozilla/5.0 (Windows NT 5.1; rv:8.0a1) Gecko/20110712 Firefox/8.0a1
Alan, does that also happen with Firefox 4.0?
It should happen in Firefox 4 too, it is a choice we made when switching to automatic updates for the most part, right now the availability of manual updates aren't persisted across restarts.
Status: UNCONFIRMED → NEW
Ever confirmed: true
(Reporter)

Comment 5

7 years ago
Dave, since the availability of manual updates does persist across restarts in Fx 3.6.x, should I mark it as a regression?
(Reporter)

Comment 6

7 years ago
(In reply to comment #3)
> Alan, does that also happen with Firefox 4.0?

Yes, I just checked.  As Dave predicted, it happens in Fx 4.0.1 too.
Mozilla/5.0 (Windows NT 5.1; rv:2.0.1) Gecko/20100101 Firefox/4.0.1
(Reporter)

Comment 7

7 years ago
Adding regression keyword since Fx 3.6.x remembers available updates after Firefox is restarted.
Keywords: regression
Is this WONTFIX?

The way I understand it, with the "new" (Toolkit 2.0 and later i.e Fx4, Sm2.1, etc.) add-ons manager, it goes as follows:
- If you have automatic updates, and one is available, then it will be installed at the next restart.
- If you have manual updates (not the default), and one is found, then if you confirm it, it will be downloaded immediately, and installed at the next restart.
- If you have manual updates, then any available updates that you haven't confirmed are forgotten at closedown, but will be found again if you "Check for Updates" after restart
(Reporter)

Comment 9

7 years ago
(In reply to comment #8)
> Is this WONTFIX?

I hope not.  Since Fx 3.6 always notified you about any available updates the next time the browser was restarted, it didn't have the problem where the user didn't know that updates were available unless updates were checked manually.  Since extension updates have the potential to change the behavior of Firefox in unexpected ways, many users choose to uncheck Update Add-ons Automatically so they know what changed the behavior.  I bet there are other use cases as well, but that's mine.

It's reasonable that Fx 4.0 and newer support some form of reliable notification when Update Add-ons Automatically is unchecked.  As it stands now, the user must manually check for updates if Update Add-ons Automatically is unchecked, which makes checking Tools > Options > Advanced > Update > Add-ons pretty much useless in that configuration.

Something like "A patch would be considered if provided" would make more sense than a final WONTFIX.  In the meantime, there are a couple of workarounds:
- Manually check for updates with the Add-ons Manager periodically.
- Configure the Addon Update Checker extension to automatically check for updates.  It provides a reliable notification.
https://addons.mozilla.org/en-US/firefox/addon/addon-update-checker/

> The way I understand it, with the "new" (Toolkit 2.0 and later i.e Fx4,
> Sm2.1, etc.) add-ons manager, it goes as follows:
> - If you have automatic updates, and one is available, then it will be
> installed at the next restart.

Unless it's restartless.  In that case it's installed immediately.

> - If you have manual updates (not the default), and one is found, then if
> you confirm it, it will be downloaded immediately, and installed at the next
> restart.

Since there is no asynchronous notification that an update is available, the problem is that the user doesn't know that an update found automatically needs to be confirmed unless the Add-ons Manager is opened before the next restart.

> - If you have manual updates, then any available updates that you haven't
> confirmed are forgotten at closedown, but will be found again if you "Check
> for Updates" after restart

Since Available Updates are forgotten until the next 24 hour check, the only reliable way to know about them is to manually "Check for Updates".
If they were remembered, then a quick peek at the Add-ons Manager every day or so is sufficient.
(In reply to comment #8)
> Is this WONTFIX?

I don't think so.

> - If you have manual updates, then any available updates that you haven't
> confirmed are forgotten at closedown, but will be found again if you "Check
> for Updates" after restart

You did this check manually and we retrieve update information. The update information is locally available and should be stored so no further manual check would be necessary after a restart.

The situation I'm not clear about is how would that work if another add-on update has been released after the check and now. Should we do a sanity check when selecting the available updates pane?
(In reply to comment #10)
> The situation I'm not clear about is how would that work if another add-on
> update has been released after the check and now. Should we do a sanity
> check when selecting the available updates pane?

We never did before and we don't now.

Comment 12

2 days ago
Per policy at https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Inactive_Bugs. If this bug is not an enhancement request or a bug not present in a supported release of Firefox, then it may be reopened.
Status: NEW → RESOLVED
Last Resolved: 2 days ago
Resolution: --- → INACTIVE
You need to log in before you can comment on or make changes to this bug.