MozillaZine

Thunderbird 60 / Addon Compatibility

User Help for Mozilla Thunderbird
DaveRo
 
Posts: 16
Joined: May 9th, 2008, 10:00 pm

Post Posted April 3rd, 2019, 2:30 pm

It would be useful if the status list of addons identified legacy non-bootstrapped ones. I think it regards anything with a manifest.json as a mail extension. Presumably anything with a legacy key would qualify. Or ones with both manifest.json and chrome.manifest - it that possible?

(I was going to post that to the tb-planning google group but it said 'web posting disabled'. Do all responses have to be email?)

I'm still unsure of the future of legacy non-bootstrap addons. I read somewhere recently that they might not make it to 68. I've converted 3 for my own use - I might be wasting my time.

tanstaafl
Moderator

User avatar
 
Posts: 46974
Joined: July 30th, 2003, 5:06 pm

Post Posted April 3rd, 2019, 2:43 pm

"I read somewhere recently that they might not make it to 68"

You might have seen the "Legacy extensions will not be around forever, and possibly will not even make it to Thunderbird 68." warning in https://thunderbird-webextensions.readt ... egacy.html . I think Jörg Knobloch first stated it.

abarth
 
Posts: 2
Joined: April 5th, 2019, 3:39 am

Post Posted April 5th, 2019, 12:15 pm

morat wrote:@Firefox-Fan77

Okay. I sent a link in a private message.

please
Can you send me start and close thunderbird 1.3.2.2 fix for tb v60.0?

cricri13

User avatar
 
Posts: 22
Joined: May 14th, 2005, 5:11 am
Location: Marseille (France)

Post Posted April 12th, 2019, 12:51 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


Bonsoir morat,
je me suis intéressé à cette application Minimize On Start and Close,
car elle est très pratique pour l'utilisation de Thunderbird en version 60.6.1;
j'ai donc appliqué tes modifications avec précision en utilisant 7zip et Notepad,
jusque là tout va bien.
Mais en exploitation, je constate les choses suivantes:
- pas d'options ( mais c'est pas grave)
- si j'utilise X pour fermer, thunderbird n'est pas minimiser
- il faut utiliser - pour minimiser donc peu d’intérêt.
Merci quand même pour tes travaux.

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

Post Posted April 12th, 2019, 2:23 pm

cricri13 wrote:Good evening morat,
I was interested in this application Minimize On Start and Close,
because it is very convenient for using Thunderbird in version 60.6.1;
so I applied your changes accurately using 7zip and Notepad,
So far so good.
But in operation, I notice the following things:
- no options (but it does not matter)
- if I use X to close, thunderbird is not minimized
- it must be used to minimize therefore little interest
Thanks anyway for your work.

I can open the addon options window.

i.e. Tools > Addons Options > Minimize On Start and Close

Here is how the addon works for me.

Minimize on start - succeeds
Minimize on restart - succeeds
Minimize on click close menu item in file menu - succeeds
Minimize on press ctrl w key - succeeds
Minimize on press esc key - succeeds

Minimize on click X button - fails

As far as I know, there is no solution since the close event doesn't fire correctly.

cricri13

User avatar
 
Posts: 22
Joined: May 14th, 2005, 5:11 am
Location: Marseille (France)

Post Posted April 13th, 2019, 1:00 am

morat wrote:Here is how the addon works for me.

Minimize on start - succeeds
Minimize on restart - succeeds
Minimize on click close menu item in file menu - succeeds
Minimize on press ctrl w key - succeeds
Minimize on press esc key - succeeds

Minimize on click X button - fails

As far as I know, there is no solution since the close event doesn't fire correctly.

Hello morat,
merci pour le retour.
Pour moi, c'est identique:
Minimize on start - Ok
Minimize on restart - Ok
Minimize on click close menu item in file menu -Ok
Minimize on press ctrl w key - pas essayé
Minimize on press esc key - pas essayé

Minimize on click X button - Non .
C'est une question d'habitude.
Merci beaucoup pour ta communication

cricri13

User avatar
 
Posts: 22
Joined: May 14th, 2005, 5:11 am
Location: Marseille (France)

Post Posted April 13th, 2019, 8:22 am

Hello,
J'ai enfin trouvé comment faire fonctionner,
Minimize on click X button = OK.
Après avoir installé l'extension Minimize On Start and Close 1.3.2.2 (avec les modifications de morat)
j'ai aussi installé Minimize To Tray Reanimated 1.4.11
Mais comme le menu n’apparaît plus, je vais dans about config
ligne extensions.mintrayr.minimizeon
et modifier la valeur en mettant 3
0 = Never
1 = When minimizing
2 = Instead of closing
3 = Instead of closing and when minimizing

Et tout est Ok à la fermeture.

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

Post Posted February 18th, 2020, 8:47 am

Fix for AutoUp in Thunderbird 60: viewtopic.php?p=14814392#p14814392

Fix for AutoUp in Thunderbird 68:

* manifest.json (create manifest.json file in folder with install.rdf file)

Code: Select all
{
  "manifest_version": 2,
  "applications": {
    "gecko": {
      "id": "AutoUp@luc.pastisman",
      "strict_min_version": "68.0"
    }
  },
  "name": "AutoUp",
  "description": "Transform the first letter of a sentence in uppercase",
  "version": "1.03.1",
  "icons": {
    "32": "icon.png"
  },
  "legacy": {
    "type": "xul"
  }
}

note: copy icon.png file in AutoUp.jar archive to folder with install.rdf file

I didn't rewrite the AutoUp options window.

You can use the about:config window to modify the preferences.

[uncheck] Insert a dot before a carriage return -> extensions.autoup.poincr pref (default false)
[check] Uppercase after a carriage return -> extensions.autoup.majcr pref (default true)

AutoUp
http://addons.thunderbird.net/thunderbird/addon/368166

Changes in Thunderbird 61-68
http://developer.thunderbird.net/add-ons/tb68/changes

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

Post Posted May 27th, 2020, 6:52 pm

Fix for Return Receipt Toolbar Button in Thunderbird 68:

* manifest.json (create manifest.json file in folder with install.rdf file)

Code: Select all
{
  "manifest_version": 2,
  "name": "Return Receipt Toolbar Button",
  "description": "Adds a Return Receipt button to mail composition window toolbar.",
  "version": "0.20.1",
  "author": "Leszek Zyczkowski",
  "icons": {
    "32": "chrome/skin/icon.png",
    "64": "chrome/skin/icon64.png"
  },
  "legacy": {
    "type": "xul"
  },
  "applications": {
    "gecko": {
      "id": "return@teozyczkowski.pl",
      "strict_min_version": "68.0"
    }
  }
}

* install.rdf

Code: Select all
- <em:version>0.20</em:version>
+ <em:version>0.20.1</em:version>

Code: Select all
- <em:maxVersion>38.0</em:maxVersion>
+ <em:maxVersion>68.*</em:maxVersion>

* chrome.manifest

Code: Select all
  style chrome://messenger/content/messengercompose/messengercompose.xul chrome://return/skin/overlay.css
+ style chrome://messenger/content/customizeToolbar.xul chrome://return/skin/overlay.css

* chrome\content\return.js

Code: Select all
- document.persist(toolBar.id, "currentset");
+ Services.xulStore.persist(toolBar, "currentset");

Code: Select all
- var reopen = gComposeRecyclingListener.onReopen;
- gComposeRecyclingListener.onReopen = function ReturnReceipt_onReopenWrapper(params) {
- reopen(params);

- var toolbarbutton = document.getElementById('return-button');
- toolbarbutton.setAttribute('checked', gMsgCompose.compFields.returnReceipt);
- }

Return Receipt Toolbar Button
http://addons.thunderbird.net/thunderbird/addon/6038

Changes in Thunderbird 61-68
http://developer.thunderbird.net/add-ons/updating/tb68/changes

Remove vestiges of compose window recycling
http://bugzilla.mozilla.org/show_bug.cgi?id=777732

Return to Thunderbird Support


Who is online

Users browsing this forum: Google [Bot] and 8 guests