Closed
      
        Bug 565294
      
      
        Opened 15 years ago
          Closed 15 years ago
      
        
    
  
Update Thunderbird to work with the new add-ons manager
Categories
(Thunderbird :: Build Config, defect)
        Thunderbird
          
        
        
      
        
    
        Build Config
          
        
        
      
        
    Tracking
(Not tracked)
        VERIFIED
        FIXED
        
    
  
        
            Thunderbird 3.3a1
        
    
  
People
(Reporter: shadow912kage, Assigned: standard8)
References
Details
Attachments
(2 files)
| 2.99 KB,
          patch         | standard8
:
              
              review+ | Details | Diff | Splinter Review | 
| 482 bytes,
          patch         | philor
:
              
              review+ | Details | Diff | Splinter Review | 
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a5pre) Gecko/20100512 Shredder/3.2a1pre BuildID: 20100512033154
When drop an extension .xpi file to Add-ons Manager dialog or message pane, Opening file dialog is shown instead of Software Installation.
on error console:
Error: this.installListeners is null
Source File: file:///F:/Mozilla/Shredder/modules/AddonManager.jsm
Line: 532
Reproducible: Always
Steps to Reproduce:
1. select Tools > add-ons, to open Add-ons Manager
2. drop an extension .xpi file to Add-ons Manager or message pane
3.
Actual Results:  
show Opening file dialog
Expected Results:  
show Software Installation dialog
| Comment 1•15 years ago
           | ||
Are you talking about Firefox or Thunderbird?
Sorry, about Shredder: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US;
rv:1.9.3a5pre) Gecko/20100512 Shredder/3.2a1pre BuildID: 20100512033154
| Comment 3•15 years ago
           | ||
Dave, needs Thunderbird the same updates similar to SeaMonkey? If yes, do we have it already tracked somewhere?
| Comment 4•15 years ago
           | ||
Yeah at the very minimum packaging changes will be requires. This error indicates that addonManager.js isn't shipping right now.
Status: UNCONFIRMED → NEW
Component: Add-ons Manager → Build Config
Ever confirmed: true
Product: Toolkit → Thunderbird
QA Contact: add-ons.manager → build-config
Summary: Can't install an extension → Update Thunderbird to work with the new add-ons manager
| Assignee | ||
| Comment 5•15 years ago
           | ||
(In reply to comment #4)
> Yeah at the very minimum packaging changes will be requires. This error
> indicates that addonManager.js isn't shipping right now.
We added it to our shipping data as soon as you relanded the add-on manager and before the first nightly build with it in.
| Comment 6•15 years ago
           | ||
Ok I'll take a closer look to see what is going on here then.
| Comment 7•15 years ago
           | ||
I can't really reproduce this problem and though trunk Shredder seems horribly broken on my system it doesn't look to be add-on manager related brokenness.
Can you look and confirm if the file F:\Mozilla\Shredder\components\addonmanager.js actually exists on your machine?
(In reply to comment #7)
> I can't really reproduce this problem and though trunk Shredder seems horribly
> broken on my system it doesn't look to be add-on manager related brokenness.
> 
> Can you look and confirm if the file
> F:\Mozilla\Shredder\components\addonmanager.js actually exists on your machine?
Yes, it exist.
I'm updating trunk/Shredder everyday by Help > Check for Update...
Is this module file past nightly build's ?
| Assignee | ||
| Comment 9•15 years ago
           | ||
(In reply to comment #7)
> I can't really reproduce this problem and though trunk Shredder seems horribly
> broken on my system it doesn't look to be add-on manager related brokenness.
That's strange, it shouldn't be that bad...
For the message pane/content tab part of this bug, I think we are probably looking at needing to port the browser parts of:
http://hg.mozilla.org/mozilla-central/rev/704046d2ddea
However, I'm also not sure why our lightweight theme installation tests aren't broken?
If the xpinstall-install-blocked has been removed, shouldn't that be the case?
Also, I'm not sure why the add-on manager part of this bug is broken, unless that requires a notification bar to work correctly?
| Comment 10•15 years ago
           | ||
(In reply to comment #9)
> (In reply to comment #7)
> > I can't really reproduce this problem and though trunk Shredder seems horribly
> > broken on my system it doesn't look to be add-on manager related brokenness.
> 
> That's strange, it shouldn't be that bad...
> 
> For the message pane/content tab part of this bug, I think we are probably
> looking at needing to port the browser parts of:
> 
> http://hg.mozilla.org/mozilla-central/rev/704046d2ddea
I think that is the case
> However, I'm also not sure why our lightweight theme installation tests aren't
> broken?
> 
> If the xpinstall-install-blocked has been removed, shouldn't that be the case?
Lightweight theme installs don't use the xpinstall-install-blocked notification, at least not in Firefox anyway.
> Also, I'm not sure why the add-on manager part of this bug is broken, unless
> that requires a notification bar to work correctly?
We haven't actually added support for dropping files on the new add-ons manager yet, we should do that, filed bug 565682. It shouldn't do anything in Thunderbird (and doesn't in my test), not open a file dialog. It works in Firefox by virtue of the fact that dropping a file on a browser just attempts to navigate the browser to that file at which point the content handlers dive in.
| Assignee | ||
| Comment 11•15 years ago
           | ||
(In reply to comment #10)
> (In reply to comment #9)
> > If the xpinstall-install-blocked has been removed, shouldn't that be the case?
> 
> Lightweight theme installs don't use the xpinstall-install-blocked
> notification, at least not in Firefox anyway.
You're right, it was the add-on installation being blocked, and the test that I've got for that isn't checked in at the moment as it doesn't work right.
| Comment 12•15 years ago
           | ||
FWIW: Currently, none of my add-ons are working; the add-on manager doesn't list any add-ons; and I cannot install any add-ons. I miss Lightning most.
Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a5pre) Gecko/20100514 Shredder/3.2a1pre
| Reporter | ||
| Comment 13•15 years ago
           | ||
on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a5pre) Gecko/20100514 Shredder/3.2a1pre BuildID: 20100514033826,
Case 1, drop a .xpi file to message pane:
 Show Software Installation dialog.
 Succeed in installation.
 Works good.
Case 2, drop a .xpi file to add-ons manager:
 Inhibit to drop. 
(In reply to comment #12)
> FWIW: Currently, none of my add-ons are working; the add-on manager doesn't
> list any add-ons; and I cannot install any add-ons. I miss Lightning most.
> 
> Mozilla/5.0 (Windows; U; Windows NT 6.1; WOW64; en-US; rv:1.9.3a5pre)
> Gecko/20100514 Shredder/3.2a1pre
Until yesterday's nightly build, It was such a situation.
But WFM on today's nightly build.
| Comment 14•15 years ago
           | ||
Update the prefs.
        Attachment #445574 -
        Flags: superreview?(bugzilla)
        Attachment #445574 -
        Flags: review?(bugzilla)
| Assignee | ||
| Comment 15•15 years ago
           | ||
Comment on attachment 445574 [details] [diff] [review]
[checked in] Pref Part
r=Standard8, no sr required for mailnews patches.
        Attachment #445574 -
        Flags: superreview?(bugzilla)
        Attachment #445574 -
        Flags: review?(bugzilla)
        Attachment #445574 -
        Flags: review+
| Assignee | ||
| Comment 16•15 years ago
           | ||
Comment on attachment 445574 [details] [diff] [review]
[checked in] Pref Part
http://hg.mozilla.org/comm-central/rev/6ff37a83320b
        Attachment #445574 -
        Attachment description: Pref Part → [checked in] Pref Part
| Reporter | ||
| Comment 17•15 years ago
           | ||
I've confirmed this issue was fixed on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a6pre) Gecko/20100611 Shredder/3.2a1pre BuildID: 20100611033825 .
> Case 1, drop a .xpi file to message pane:
>  Show Software Installation dialog.
>  Succeed in installation.
>  Works good.
No problem, Thanks all.
> Case 2, drop a .xpi file to add-ons manager:
>  Inhibit to drop. 
But can't drop a .xpi file to Extensions pane on Add-ons Manager, be able to drop to "Get Add-ons" pane.
| Assignee | ||
| Comment 18•15 years ago
           | ||
Ok, so add-on manager is at least listing extensions in my dev build, but not in my nightly. Turns out it isn't a good idea to be removing components at the same time as trying to package them...
Assignee: nobody → bugzilla
Status: NEW → ASSIGNED
        Attachment #450660 -
        Flags: review?(philringnalda)
| Comment 19•15 years ago
           | ||
Comment on attachment 450660 [details] [diff] [review]
[checked in] The fix
I always wondered what would happen if you did that...
        Attachment #450660 -
        Flags: review?(philringnalda) → review+
| Assignee | ||
| Comment 20•15 years ago
           | ||
Comment on attachment 450660 [details] [diff] [review]
[checked in] The fix
Checked in: http://hg.mozilla.org/comm-central/rev/d3df41f2094e
I'm going to leave this bug open until tomorrow's nightly so that I can check what will be working. There will probably be a follow-up bug anyway.
        Attachment #450660 -
        Attachment description: The fix → [checked in] The fix
| Reporter | ||
| Comment 21•15 years ago
           | ||
on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.3a6pre) Gecko/20100612 Shredder/3.2a1pre BuildID: 20100612054241,
ChangeSet/SourceStamp: e9eec95e5861
It's the same situation as Comment 17 and Add-ons Manager is listing extensions.
All installed extensions work good.
| Assignee | ||
| Comment 22•15 years ago
           | ||
This is now fixed - the partial update didn't apply but that's just because we had messed up the packaging previously, so the complete update applied fine.
I've filed bug 571759 for moving the add-on manager into a content tab. We'll file other follow-ups in toolkit or Thunderbird as appropriate.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.2a1
| Comment 23•15 years ago
           | ||
Ludo, can you please check if everything is fixed for Thunderbird now?
| Updated•15 years ago
           | 
Status: RESOLVED → VERIFIED
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•