Closed Bug 369075 Opened 19 years ago Closed 18 years ago

Add permanent button for restarting Firefox to Add-ons Mgr

Categories

(Toolkit :: Add-ons Manager, defect, P2)

defect

Tracking

()

VERIFIED FIXED
mozilla1.9alpha6

People

(Reporter: dao, Assigned: dao)

References

(Depends on 1 open bug)

Details

(Whiteboard: PRD:ADD-003b)

Attachments

(3 files, 1 obsolete file)

Attached patch patch (obsolete) — Splinter Review
From the wiki: > Should always be a "Restart Firefox" button available. > Design TBD. Leaving as a P1. This has annoyed me for some time, so here's my proposal: The button is always enabled and always visible, except for the "update-only" case (i.e. when starting Firefox). The "Get Extensions" resp. "Get Themes" link is moved to the center, since it looked unbalanced and the button was moving when switching panels. (Alternatively, the link could stay right-aligned, but on the button's left.)
Flags: blocking-firefox3?
Attachment #253743 - Flags: ui-review?(beltzner)
Priority: -- → P1
Target Milestone: --- → Firefox 3
Would be nice if it didn't login everywhere automatically after restarting. I have currently a button that does this. That's the reason why I don't use it very often.
(In reply to comment #1) > I guess that's Bug 345345.
The button should not be available when an installation is being performed as well.
(In reply to comment #4) > The button should not be available when an installation is being performed as > well. or warn the user and provide the option to not restart.
yes, I went over the top. I'll revert the change in updateGlobalCommands().
looks like gExtensionManager doesn't notify gDownloadManager when the initial state for a new download is set. Hence, an extra updateGlobalCommands() for each gExtensionManager.addDownloads(...), except for the case where showView("installs") gets already called (it includes updateGlobalCommands()). besides, the logics of updateGlobalCommands() seemed weird to me, so I changed that.
Attachment #253743 - Attachment is obsolete: true
Attachment #253818 - Flags: ui-review?(beltzner)
Attachment #253818 - Flags: review?(robert.bugzilla)
Attachment #253743 - Flags: ui-review?(beltzner)
Comment on attachment 253818 [details] [diff] [review] patch, hopefully unraveled Could you attach a screenshot of the add-ons mgr. with the patch applied? Thanks
Attached image screenshots
Comment on attachment 254398 [details] screenshots beltzner: can you think of a better way to lay this out or are you fine with it?
Attachment #254398 - Flags: ui-review?(beltzner)
Attachment #253818 - Flags: ui-review?(beltzner)
beltzner: how about putting the link in the same place as the search engine mgr? We should probably show a link all of the time if this is done since the list height would change when changing views to locales, plugins, etc. which don't have an url but I think that would be cleaner.
Priority: P1 → P2
Whiteboard: PRD:ADD-003b
Comment on attachment 253818 [details] [diff] [review] patch, hopefully unraveled clearing review until ui review has been performed
Attachment #253818 - Flags: review?(robert.bugzilla)
Flags: blocking-firefox3? → blocking-firefox3+
Whiteboard: PRD:ADD-003b → PRD:ADD-003b needs ui-review beltzner
Is 300414 actually a duplicate of this bug? If this bug is about adding the button to the Add-on window, can it be renamed to "Add permanent button for restarting Firefox to Add-on window"? Otherwise, it is unclear. If there are other windows that the "Restart Firefox" button should appear in, can they be listed out in this bug? What is the window shown in the screen shot? Is it an old window? Is it Windows only? If that window still exists in Firefox, how does one get to it?
(In reply to comment #14) > Is 300414 actually a duplicate of this bug? It is > If this bug is about adding the > button to the Add-on window, can it be renamed to "Add permanent button for > restarting Firefox to Add-on window"? Done > Otherwise, it is unclear. If there are > other windows that the "Restart Firefox" button should appear in, can they be > listed out in this bug? Then it would be filed under a different component but I agree with changing the summary so the point is moot. > What is the window shown in the screen shot? Is it an old window? Is it Windows > only? If that window still exists in Firefox, how does one get to it? The theming is just different between Mac OS X and Windows / Linux
Summary: Add permanent button for restarting Firefox → Add permanent button for restarting Firefox to Add-ons Mgr
Target Milestone: Firefox 3 → Firefox 3 alpha6
Comment on attachment 254398 [details] screenshots To be honest, I'd rather we pull the "Get Extensions" text out entirely rather than center it. Let's deal with that in a separate bug, though.
Attachment #254398 - Flags: ui-review?(beltzner) → ui-review+
(In reply to comment #11) > beltzner: how about putting the link in the same place as the search engine > mgr? We should probably show a link all of the time if this is done since the > list height would change when changing views to locales, plugins, etc. which > don't have an url but I think that would be cleaner. To be honest, I think I'd rather have a better way of promoting getting extensions. Do we know how many people click on this link? I can't remember if we added something to the URI target or not, but if we can pull that info out of Urchin, it'd be great.
Whiteboard: PRD:ADD-003b needs ui-review beltzner → PRD:ADD-003b
Attachment #253818 - Flags: review?(robert.bugzilla)
Well, I think pulling stats for how many people link directly there (ie: no referrer URL) instead of to the AMO front page will give us some idea.
Comment on attachment 253818 [details] [diff] [review] patch, hopefully unraveled Thanks!
Attachment #253818 - Flags: review?(robert.bugzilla) → review+
Filed bug 385394 to cover the replacement of the links.
Whiteboard: PRD:ADD-003b → PRD:ADD-003b [checkin needed]
Checking in extensions.js; /cvsroot/mozilla/toolkit/mozapps/extensions/content/extensions.js,v <-- extensions.js new revision: 1.120; previous revision: 1.119 done Checking in extensions.xul; /cvsroot/mozilla/toolkit/mozapps/extensions/content/extensions.xul,v <-- extensions.xul new revision: 1.56; previous revision: 1.55 done
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: PRD:ADD-003b [checkin needed] → PRD:ADD-003b
I don't like this. I'm worried that users will click the button accidentally, or worse, think that the only way to leave the Add-ons Manager window is to restart Firefox.
On the Mac this is not a problem because every window has a close button and everyone knows what it is. Is this more of a problem on other platforms?
regarding comment 24, can we add a pop up confirmation dialog asking users if they really want to restart firefox? It'd be even nice to use the quit confirmation dialog from Bug 383760
nevermind, looks like that quit confirmation dialog is there. i was testing on a funky profile where the setting was getting ignored.
(In reply to comment #27) This might change with bug 385425 though (see also bug 385582 comment #0). (In reply to comment #24) > I'm worried that users will click the button accidentally, What about disabling the button until the user makes a change which would require a restart (enabling/disabling/uninstalling an extension or changing/uninstalling a theme)? Or is that restart button the official way to restart an application even for non-extension related issues?
(In reply to comment #28) > What about disabling the button until the user makes a change which would > require a restart (enabling/disabling/uninstalling an extension or > changing/uninstalling a theme)? Or is that restart button the official way to > restart an application even for non-extension related issues? To be honest that is what I thought this PRD was meant to do. I had assumed the patch did this given the disabled button in the screenshot but it looks like that's only during installs.
(In reply to comment #29) > (In reply to comment #28) > > What about disabling the button until the user makes a change which would > > require a restart (enabling/disabling/uninstalling an extension or > > changing/uninstalling a theme)? Or is that restart button the official way to > > restart an application even for non-extension related issues? > > To be honest that is what I thought this PRD was meant to do. I had assumed the > patch did this given the disabled button in the screenshot but it looks like > that's only during installs. > (In reply to comment #0) > Created an attachment (id=253743) [details] > patch > > From the wiki: > > > Should always be a "Restart Firefox" button available. > > Design TBD. Leaving as a P1. > > This has annoyed me for some time, so here's my proposal: > > The button is always enabled and always visible, except for the "update-only" > case (i.e. when starting Firefox). The "Get Extensions" resp. "Get Themes" link > is moved to the center, since it looked unbalanced and the button was moving > when switching panels. (Alternatively, the link could stay right-aligned, but > on the button's left.) I prefer the only available when applicable but both bug summary and comment #0 are pretty clear about it being permanently available. Bueller??? I mean Beltzner???
(In reply to comment #28) > (In reply to comment #27) > This might change with bug 385425 though (see also bug 385582 comment #0). > > (In reply to comment #24) > > I'm worried that users will click the button accidentally, > > What about disabling the button until the user makes a change which would > require a restart (enabling/disabling/uninstalling an extension or > changing/uninstalling a theme)? We don't know all possible actions, like changing extension prefs that need an restart. I'd rather swap "Find Updates" and "Restart Minfield". Since close/cancel buttons are generally on the bottom right, this would reduce the risk for accidental clicks. > Or is that restart button the official way to > restart an application even for non-extension related issues? Restarting makes sense for all kinds of customizations like changing hidden prefs or modifying userChrome.css, which isn't alien to the Add-ons metaphor. Also, it seems unlikely that there will be another way by default (e.g. File -> Restart). So yes, I'd say this is the official way.
(In reply to comment #31) > I'd rather swap "Find Updates" and "Restart Minfield". Since close/cancel > buttons are generally on the bottom right, this would reduce the risk for > accidental clicks. However, the Restart button _is_ kind of a confirmation button, as in "restart to apply the changes". Placing it on the right side seems more intuitive to me.
Verified the fix on trunk. Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.9a6pre) Gecko/20070625 Minefield/3.0a6pre
Status: RESOLVED → VERIFIED
Depends on: 385787
Depends on: 386670
FYI, bug 408116 is going to change the way this button gets shown and where. I like it how it currently is. :(
Depends on: 414961
Bug 408116 is going to block this one. Moving it to the notification bar makes it non-permanent.
This issue has been reopened as bug 414961 (due to #408116 being fixed).
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: