Closed Bug 262807 Opened 20 years ago Closed 20 years ago

Updates button doesn't appear if using an old profile and having customized toolbars

Categories

(Toolkit :: Application Update, defect)

1.7 Branch
x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: steffen.wilberg, Assigned: bugs)

Details

(Keywords: fixed-aviary1.0)

Attachments

(1 file)

When using an old profile, which was created with a build not newer than August,
and having customized the toolbars, the Updates button doesn't appear when
updates are available.

The button was introduced on 2004-08-31 22:01. It is on the menubar on Windows
and Linux, and on the navigation toolbar on Mac.

1. Create a new profile with an old build. I used 0.9.2.
2. Exit Firefox.
3. Start a recent build.
4. Go to Tools-Options-Advanced-Software Update, click Check Now (so that
Firefox learns that updates are available).
Result: The Update button appears.

5. Create another new profile with an old build.
6. Customize the Toolbar (add a button).
7. Exit Firefox.
8. Start a recent build.
9. Go to Tools-Options-Advanced-Software Update, click Check Now.
Result: No Update button appears!

10. Go to Customize Toolbars, click on Restore Default Set.
Result: The Update button is added to the menubar.
Flags: blocking-aviary1.0?
Can we put the update icon back in the status bar?  I can't find the original
bug for moving it out of there; doesn't make sense for it to take up toolbar
space when 90% of the time it'll just be green.  Also doesn't make sense to let
users take it off the toolbar, for that 10% time when it won't be green.
Most of the time isn't the icon simply not there? Green indicates updates
available; after I updated all my extensions the icon went away completely.
(In reply to comment #2)
> Most of the time isn't the icon simply not there? Green indicates updates
> available; after I updated all my extensions the icon went away completely.

Ah.  I guess I should have clicked on it, it was green -- green indicates
"Everything's OK to me".
Wait, users have to click a button to get the icon to update? What's the point
then? You could just put up the dialog listing the avaiable updates straight
away, the user has asked for it explicitly after all. I thought the idea was to
magically show up and give a warning about critical updates to users who won't
know to click on a check-updates button.

In my case I don't recall ever customizing a toolbar (I did open the dialog, but
didn't see anything I wanted to add). I never got an update icon until after I
clicked "Check Now".
No, I meant that I added the button to my toolbar and saw that it was green, and
assumed that meant "everything's ok, no updates available".
The "update.severity" pref controls the color.
0: "Green" means there are Extension/Theme updates available, but not more than
a threshold specified in the pref "extensions.update.severity.threshold", which
defaults to 5.

1: "Blue" means there are Extension/Theme updates available, and their number is
larger than the threshold.

2: "Red" means an app update is available.

You can set that pref in about:config and open a new window if you want to see
how the colors look like. Green is probably a bit misleading. At least there's a
tooltip saying "Update(s) available".


I can only reproduce this if I customize my toolbar in an old build. The setting
is saved in localstore.rdf,
RDF:about="chrome://browser/content/browser.xul#nav-bar".
There's something else going on then; upon clicking the green button, I had an
app update, an extension update, theme updates, and optional components (both of
which I already had installed).  I installed the app update, and ffox is still
offering it to me (and the icon is still green).
Flags: blocking-aviary1.0? → blocking-aviary1.0+
Attached patch patchSplinter Review
programmatically add the updates item in the right place on mac and other
platforms - to ensure it can't be customized away.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
This broke the update notification. See bug 263606, which has a patch ready for
review.
Keywords: fixed-aviary1.0
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: