MozillaZine

Thunderbird 60 / Addon Compatibility

User Help for Mozilla Thunderbird
piecevcake
 
Posts: 9
Joined: June 26th, 2016, 9:43 am

Post Posted December 11th, 2018, 1:24 pm

I am not a programmer. I am trying to run a business which TB has just ****ed up. Have restored v52 with my customized addons, and disabled updates,

(For those of you who have found this page and not already changed to Outlook,

1. tools>advanced>update, tick dont install updates

2. close TB

3. (Not necessary, but I backed up the new v60 version:
(a) mozbackup the profile
(b) copied the programs(x86) folder to another folder called "...v60..." and set up no-remote profile chooser to check it in future -
rightclick desktop, new, shortcut
paste "C:\Program Files (x86)\[your foldername-eg Mozilla Thunderbird - v60.3 ADDONS NW]\thunderbird.exe" -P -no-remote)
(c) clicked the new shortcut, create new profile "V60 TEST"
(d) mozbackup restored the new backup to the new profile)

4. install v52.9.1 (only 32 bit available) straight over the top of v6x (no need to uninstall), from http://ftp.mozilla.org/pub/thunderbird/releases/52.9.1/ (choose your os, then language in the next window, download and run or run from web)

5. (I had to restore my previous mozbackup backup (everything except emails), as extension updates had been installed and customisations lost.)

Can I remind Mozillazine that this is not a junior school project, people actually depend on this application. 1 out of 10 for design and implementation. Not even any good reason given for this "upgrade". Why on earth didn't they make sure addons were working and put the extensions.strictCompatibility to false in Config. editor option in the release notes.

fdisk2k

User avatar
 
Posts: 88
Joined: November 6th, 2007, 3:21 pm
Location: Lima - Peru

Post Posted December 11th, 2018, 5:38 pm

Hello there,

I'm trying to work the "Reply with header" addon with the last release without luck, I'm in a OSX machine and doesn't work :(

I don't know what else to do in order to get working properly.

Ant help is very welcome

Thanks
12º 12' S
77º 03' W

morat
 
Posts: 3487
Joined: February 3rd, 2009, 6:29 pm

Post Posted December 11th, 2018, 9:59 pm

@fdisk2k

The extension is being actively maintained.

Why don't you ask for help on the support site?

ReplyWithHeader
http://addons.thunderbird.net/thunderbird/addon/605874

Support site
http://github.com/jeevatkm/ReplyWithHeaderMozilla/issues

fdisk2k

User avatar
 
Posts: 88
Joined: November 6th, 2007, 3:21 pm
Location: Lima - Peru

Post Posted December 11th, 2018, 10:46 pm

I posted a review but no answer yet.
One strange thing is that in my other machine (Mack book Pro) runs flawlessly that add on, tried with a clean user and no results, deleted Thunderbird , exported my settings and preferences into the other machine and no results...

Very strange case. :(
12º 12' S
77º 03' W

morat
 
Posts: 3487
Joined: February 3rd, 2009, 6:29 pm

Post Posted December 12th, 2018, 9:38 pm

OpenAttachmentByExtension 0.3.6 [Properties broken]

I got the OpenAttachmentByExtension extension working correctly in Thunderbird 60.

Fix:

http://github.com/morat523035/OpenAttachmentByExtension

* install.rdf

Code: Select all
- <em:version>0.3.6</em:version>
+ <em:version>0.3.6.1</em:version>

Code: Select all
- <em:maxVersion>45.*</em:maxVersion>
+ <em:maxVersion>60.*</em:maxVersion>

* chrome\content\openattachmentbyextension\newActionDialog.xul

Code: Select all
- var rv = fp.show();
- if (rv == nsIFilePicker.returnOK)
-   el.previousSibling.value = fp.file.path;
+ fp.open(function (rv) {
+   if (rv == nsIFilePicker.returnOK)
+     el.previousSibling.value = fp.file.path;
+ });

* chrome\content\openattachmentbyextension\openattachmentbyextension.js

Code: Select all
- customTmpDir = prefs.getComplexValue("openattachment.custom_temp_dir", Components.interfaces.nsISupportsString).data;
+ customTmpDir = prefs.getStringPref("openattachment.custom_temp_dir");

Code: Select all
- .createInstance(Components.interfaces.nsILocalFile);
+ .createInstance(Components.interfaces.nsIFile);

Code: Select all
- var program = prefs.getComplexValue(extpref,Components.interfaces.nsISupportsString).data
+ var program = prefs.getStringPref(extpref);

Code: Select all
- .createInstance(Components.interfaces.nsILocalFile);
+ .createInstance(Components.interfaces.nsIFile);

* chrome\content\openattachmentbyextension\options.js

Code: Select all
- AppendNewItem(children[i],prefs.getComplexValue(children[i],Components.interfaces.nsISupportsString).data);
+ AppendNewItem(children[i],prefs.getStringPref(children[i]));

Code: Select all
- .getComplexValue("openattachment.custom_temp_dir",Components.interfaces.nsISupportsString).data
+ .getStringPref("openattachment.custom_temp_dir");

Code: Select all
- OABEstr.data = document.getElementById("customTempDirPath").value;
- OABEprefs.setComplexValue("openattachment.custom_temp_dir", Components.interfaces.nsISupportsString, OABEstr);
+ OABEstr = document.getElementById("customTempDirPath").value;
+ OABEprefs.setStringPref("openattachment.custom_temp_dir", OABEstr);

Code: Select all
- var rv = fp.show();
- if (rv == nsIFilePicker.returnOK)
-   el.previousSibling.value = fp.file.path;
+ fp.open(function (rv) {
+   if (rv == nsIFilePicker.returnOK)
+     el.previousSibling.value = fp.file.path;
+ });

Code: Select all
- OABEstr.data =  com;
- OABEprefs.setComplexValue("openattachment.extension."+ext, Components.interfaces.nsISupportsString, OABEstr);
+ OABEstr = com;
+ OABEprefs.setStringPref("openattachment.extension."+ext, OABEstr);

Code: Select all
- OABEstr.data =  com;
- OABEprefs.setComplexValue("openattachment.extension."+ext, Components.interfaces.nsISupportsString, OABEstr);
+ OABEstr = com;
+ OABEprefs.setStringPref("openattachment.extension."+ext, OABEstr);

OpenAttachmentByExtension
http://freeshell.de/~kaosmos/index-en.html#openattach
http://addons.thunderbird.net/thunderbird/user/Paolo_Kaosmos
Last edited by morat on December 19th, 2018, 12:36 pm, edited 1 time in total.

DaveRo
 
Posts: 5
Joined: May 9th, 2008, 10:00 pm

Post Posted December 13th, 2018, 8:23 am

Use BCC Instead updated for TB 60:
https://github.com/revad/use_bcc_instead_A

sfhowes
 
Posts: 453
Joined: April 1st, 2012, 10:21 am

Post Posted December 14th, 2018, 12:26 pm

DaveRo wrote:Use BCC Instead updated for TB 60:
https://github.com/revad/use_bcc_instead_A

Nice work. It seems on first glance to work fine in TB 60.3.3/W10.

morat
 
Posts: 3487
Joined: February 3rd, 2009, 6:29 pm

Post Posted December 16th, 2018, 8:39 pm

Display Contact Photo 1.3.1 [No photo display, properties broken]

I got the Display Contact Photo extension working in Thunderbird 60.

If a photo doesn't display, then try restarting the application.

Fix:

http://github.com/morat523035/DisplayContactPhoto

* install.rdf

Code: Select all
- <em:version>1.3.1</em:version> <!-- ALSO CHANGE contactPhoto.currentVersion in contactPhoto.js -->
+ <em:version>1.3.1.1</em:version> <!-- ALSO CHANGE contactPhoto.currentVersion in contactPhoto.js -->

Code: Select all
- <em:maxVersion>39.*</em:maxVersion>
+ <em:maxVersion>60.*</em:maxVersion>

* content\prefs.xul

Code: Select all
  <?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
+ <?xml-stylesheet href="chrome://messenger/skin/preferences/preferences.css" type="text/css"?>

* content\prefs.js

Code: Select all
- .createInstance(Components.interfaces.nsILocalFile);
+ .createInstance(Components.interfaces.nsIFile);

Code: Select all
- if (picker.show() == nsIFilePicker.returnOK){
-   var directory = picker.file;
-   dirTextbox.value = directory.path;
-
-   // automatic setting and getting of this pref does not work...
-   contactPhoto.prefs.set('photoDirectory', directory, 'file');
- }
+ picker.open(function (rv) {
+   if (rv == nsIFilePicker.returnOK) {
+     var directory = picker.file;
+     dirTextbox.value = directory.path;
+
+     // automatic setting and getting of this pref does not work...
+     contactPhoto.prefs.set('photoDirectory', directory, 'file');
+   }
+ });

Code: Select all
- var localDir = Components.classes["@mozilla.org/file/local;1"].getService(Components.interfaces.nsILocalFile);
+ var localDir = Components.classes["@mozilla.org/file/local;1"].getService(Components.interfaces.nsIFile);

Code: Select all
- protocolSvc.loadUrl(uri);
+ protocolSvc.loadURI(uri);

* content\composeOverlay.js

Code: Select all
- .QueryInterface(Components.interfaces.nsIPrefBranch2);
+ .QueryInterface(Components.interfaces.nsIPrefBranch);

* content\contactPhotoOverlay.js

Code: Select all
- contactPhoto.prefs.branch.QueryInterface(Components.interfaces.nsIPrefBranch2);
+ contactPhoto.prefs.branch.QueryInterface(Components.interfaces.nsIPrefBranch);

* content\contactPhoto.js

Code: Select all
- return contactPhoto.prefs.branch.getComplexValue(prefName, Components.interfaces.nsILocalFile);
+ return contactPhoto.prefs.branch.getComplexValue(prefName, Components.interfaces.nsIFile);

Code: Select all
- contactPhoto.prefs.branch.setComplexValue(prefName, Components.interfaces.nsILocalFile, prefValue);
+ contactPhoto.prefs.branch.setComplexValue(prefName, Components.interfaces.nsIFile, prefValue);

Code: Select all
  var headerPrefs = Components.classes['@mozilla.org/preferences-service;1']
        .getService(Components.interfaces.nsIPrefService)
+ headerPrefs = headerPrefs.QueryInterface(Components.interfaces.nsIPrefBranch);

Code: Select all
- .createInstance(Components.interfaces.nsILocalFile);
+ .createInstance(Components.interfaces.nsIFile);

Code: Select all
- .createInstance(Components.interfaces.nsILocalFile);
+ .createInstance(Components.interfaces.nsIFile);

Code: Select all
- .createInstance(Components.interfaces.nsILocalFile);
+ .createInstance(Components.interfaces.nsIFile);

Code: Select all
- return [toHexString(hash.charCodeAt(i)) for (i in hash)].join("");
+ return Array.from(hash, function (c) { return toHexString(c.charCodeAt(0)); }).join("");

Display Contact Photo
http://addons.thunderbird.net/thunderbird/addon/58034
Last edited by morat on December 19th, 2018, 12:27 pm, edited 2 times in total.

fs999
 
Posts: 2
Joined: February 25th, 2010, 2:39 pm

Post Posted December 18th, 2018, 12:48 am

Is there a way to run Thunderbayes++ on TB60 ?

DaveRo
 
Posts: 5
Joined: May 9th, 2008, 10:00 pm

Post Posted December 18th, 2018, 10:10 am

This doesn't really belong here - however ...

Following my earlier post about Use BCC Instead for TB 60
Use BCC Instead updated for TB 63,64:
https://github.com/revad/use_bcc_instead_B

Options don't display, but there's a workround - see the ReadMe

I raised this bug, which may be of interest to anyone updating non-bootstrap XUL overlay addons:
https://bugzilla.mozilla.org/show_bug.cgi?id=1514993

morat
 
Posts: 3487
Joined: February 3rd, 2009, 6:29 pm

Post Posted December 26th, 2018, 4:00 pm

Minimize On Start and Close 1.3.2.1 [Properties broken]

I got the Minimize On Start and Close extension working correctly in Thunderbird 60.

It looks like there is a bug in Thunderbird 60. The close event doesn't fire and that breaks the minimize on close feature. A workaround is to switch the close event for the DOMWindowClose event.

Close Event
http://developer.mozilla.org/docs/Mozilla/Tech/XUL/Events/close_event

DOMWindowClose Event
http://developer.mozilla.org/docs/Web/Events/DOMWindowClose

Fix:

* install.rdf

Code: Select all
- <em:version>1.3.2.1-signed.1-signed</em:version>
+ <em:version>1.3.2.2</em:version>

Code: Select all
- <em:maxVersion>3.2a1pre</em:maxVersion>
+ <em:maxVersion>60.*</em:maxVersion>

* chrome\content\moscFunc.js

Code: Select all
- window.addEventListener("close", mosc_480adee0.minimizeOnClose, false);
+ window.addEventListener("DOMWindowClose", mosc_480adee0.minimizeOnClose, false);

* chrome\content\options.xul

Code: Select all
  <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+ <?xml-stylesheet href="chrome://messenger/skin/preferences/preferences.css" type="text/css"?>

Minimize On Start and Close
http://addons.thunderbird.net/thunderbird/addon/48585

Firefox-Fan77
 
Posts: 8
Joined: January 28th, 2018, 7:22 am
Location: Germany

Post Posted December 26th, 2018, 5:13 pm

morat wrote:Minimize On Start and Close 1.3.2.1 [Properties broken]

I got the Minimize On Start and Close extension working correctly in Thunderbird 60.

It looks like there is a bug in Thunderbird 60. The close event doesn't fire and that breaks the minimize on close feature. A workaround is to switch the close event for the DOMWindowClose event.

Close Event
http://developer.mozilla.org/docs/Mozilla/Tech/XUL/Events/close_event

DOMWindowClose Event
http://developer.mozilla.org/docs/Web/Events/DOMWindowClose

Fix:

* install.rdf

Code: Select all
- <em:version>1.3.2.1-signed.1-signed</em:version>
+ <em:version>1.3.2.2</em:version>

Code: Select all
- <em:maxVersion>3.2a1pre</em:maxVersion>
+ <em:maxVersion>60.*</em:maxVersion>

* chrome\content\moscFunc.js

Code: Select all
- window.addEventListener("close", mosc_480adee0.minimizeOnClose, false);
+ window.addEventListener("DOMWindowClose", mosc_480adee0.minimizeOnClose, false);

* chrome\content\options.xul

Code: Select all
  <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
+ <?xml-stylesheet href="chrome://messenger/skin/preferences/preferences.css" type="text/css"?>

Minimize On Start and Close
http://addons.thunderbird.net/thunderbird/addon/48585
@morat
I am not a programmer.

Copied first 2 boxes in one file "install.rdf" and put this file into: C:\Program Files\Mozilla Thunderbird
Copied third box in a file "moscFunc.js" and this file into: C:\Program Files\Mozilla Thunderbird\chrome\content
Copied fourth and last box in a file "options.xul" and this file into: C:\Program Files\Mozilla Thunderbird\chrome\content

What did I wrong? What now?

morat
 
Posts: 3487
Joined: February 3rd, 2009, 6:29 pm

Post Posted December 26th, 2018, 7:01 pm

@Firefox-Fan77

Okay. I sent a link in a private message.

siffemoz
 
Posts: 160
Joined: January 29th, 2016, 4:36 pm

Post Posted December 31st, 2018, 11:08 pm


sfhowes
 
Posts: 453
Joined: April 1st, 2012, 10:21 am

Post Posted December 31st, 2018, 11:14 pm

siffemoz wrote:Can anything be done with this one?

https://addons.thunderbird.net/en-US/th ... -on-delete


Installs and works in TB 60 if you first open Tools/Options/Advanced/General/Config. editor and double-click the preference extensions.strictCompatibility to false, OK to close Options.

Return to Thunderbird Support


Who is online

Users browsing this forum: No registered users and 3 guests