Closed
Bug 553631
Opened 15 years ago
Closed 14 years ago
Changing state of installed addon does not prompting a restart (enable, disable)
Categories
(Toolkit :: Add-ons Manager, defect, P2)
Toolkit
Add-ons Manager
Tracking
()
VERIFIED
FIXED
mozilla2.0b5
Tracking | Status | |
---|---|---|
blocking2.0 | --- | beta5+ |
People
(Reporter: tchung, Assigned: mossop)
References
Details
(Whiteboard: [rewrite][mozmill-test-needed])
Attachments
(1 file, 2 obsolete files)
Changing state of installed addon does not prompting a restart (enable, disable).
Repro:
1) install addons branch build: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.3a4pre) Gecko/20100319 Minefield/3.7a4pre
2) open addons manager
3) install 2 or more addons to the pane
4) Verify if you change the state of the addon (toggle enable, disable), there is not notification or text requiring the user to restart to accept changes.
Expected:
- a note saying restart required
Actual:
- no restart message.
Updated•15 years ago
|
Priority: -- → P1
I thought part of the point of the new backend was so that restart was not needed.
Assignee | ||
Comment 2•15 years ago
|
||
(In reply to comment #1)
> I thought part of the point of the new backend was so that restart was not
> needed.
Making traditional extensions work without restarts was never a goal of this rewrite.
Comment 3•15 years ago
|
||
Disabling and re-enabling will indeed require restart for traditional add-ons, and they should prompt the user to restart similarly to an add-on installation or removal. The attached image shows the case of disabling an add-on without a restart (jetpack case), and disabling and re-enabling with a restart (non-jetpack). Please note that the "success" message shown after restart is a placeholder for a newer notification system; the current method is the yellow drop-down notification bar.
Assignee | ||
Comment 4•15 years ago
|
||
(In reply to comment #3)
> Created an attachment (id=435031) [details]
> Diagram: Disabling an add-on with no restart, disabling an add-on with a
> restart, and re-enabling an add-on with a restart
>
> Disabling and re-enabling will indeed require restart for traditional add-ons,
> and they should prompt the user to restart similarly to an add-on installation
> or removal. The attached image shows the case of disabling an add-on without a
> restart (jetpack case), and disabling and re-enabling with a restart
> (non-jetpack). Please note that the "success" message shown after restart is a
> placeholder for a newer notification system; the current method is the yellow
> drop-down notification bar.
How does this cope with the case where you have multiple extensions waiting for a restart or you are looking at the appearance pane but only have extensions requiring a restart?
Reporter | ||
Comment 5•15 years ago
|
||
(In reply to comment #4)
> (In reply to comment #3)
> > Created an attachment (id=435031) [details] [details]
> > Diagram: Disabling an add-on with no restart, disabling an add-on with a
> > restart, and re-enabling an add-on with a restart
> >
> > Disabling and re-enabling will indeed require restart for traditional add-ons,
> > and they should prompt the user to restart similarly to an add-on installation
> > or removal. The attached image shows the case of disabling an add-on without a
> > restart (jetpack case), and disabling and re-enabling with a restart
> > (non-jetpack). Please note that the "success" message shown after restart is a
> > placeholder for a newer notification system; the current method is the yellow
> > drop-down notification bar.
>
> How does this cope with the case where you have multiple extensions waiting for
> a restart or you are looking at the appearance pane but only have extensions
> requiring a restart?
Kinda like bug 553460 that i describe.
Comment 6•15 years ago
|
||
(In reply to comment #4)
>How does this cope with the case where you have multiple extensions waiting for a restart or you are looking at the appearance pane but only have extensions requiring a restart?
The yellow restart notifications are transient - if another action is taken that requires a restart, the first notification is merely replaced by the second.
Comment 7•15 years ago
|
||
Attachment #437435 -
Attachment is obsolete: true
Comment 8•15 years ago
|
||
Thanks Jennifer for those mockups. It looks good. But I wonder if we could use a better color as the yellow one you have chosen now. The current one is really to lighten. What about the color and shading of the old notification bar?
Updated•15 years ago
|
Assignee: nobody → bmcbride
Comment 9•15 years ago
|
||
Got a temporary solution that's different from the mockups:
http://hg.mozilla.org/projects/addonsmgr/rev/991b7daba3cc
I'm still not sure about the notification mockups. It feels wrong having it both transient and specific to the latest action, while being sorted in place with the addons. At the very least, I don't think its going to be possible to (sanely) remember what was the last action performed (ie, which addon was last enabled/disabled/uninstalled) - for when the addon manager is reloaded, opened again, or the pane changed.
Priority: P1 → P2
Assignee | ||
Comment 10•15 years ago
|
||
What we have is good enough for the trunk landing I think, thanks Blair.
Updated•15 years ago
|
Attachment #435031 -
Attachment is obsolete: true
Comment 11•15 years ago
|
||
(In reply to comment #10)
> What we have is good enough for the trunk landing I think, thanks Blair.
wfm
Assignee | ||
Updated•15 years ago
|
blocking2.0: --- → beta1+
Assignee | ||
Updated•15 years ago
|
blocking2.0: beta1+ → final+
Comment 13•14 years ago
|
||
The rest of this will fixed by the work done in bug 585950.
Assignee: bmcbride → dtownsend
Depends on: 585950
Assignee | ||
Comment 14•14 years ago
|
||
Fixed by bug 585950
Flags: in-testsuite+
Target Milestone: --- → mozilla2.0b5
Updated•14 years ago
|
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 15•14 years ago
|
||
Verified fixed with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:2.0b5pre) Gecko/20100824 Minefield/4.0b5pre
What's the coverage of the automated test? Do we need a manual test?
Status: RESOLVED → VERIFIED
Flags: in-litmus?
Assignee | ||
Comment 16•14 years ago
|
||
This is pretty well covered by the automated tests, the only bit that isn't covered is the actual restart itself. I'm going to guess we'd hear pretty quickly if that was a problem but it might be worth a litmus test nonetheless.
Updated•14 years ago
|
Whiteboard: [rewrite] → [rewrite][mozmill-test-needed]
Updated•14 years ago
|
Flags: in-litmus? → in-litmus?(vlad.maniac)
Comment 17•14 years ago
|
||
This is covered by:
https://litmus.mozilla.org/show_test.cgi?id=10150
Flags: in-litmus?(vlad.maniac) → in-litmus+
You need to log in
before you can comment on or make changes to this bug.
Description
•