MozillaZine

Thunderbird 60 / Addon Compatibility

User Help for Mozilla Thunderbird
DaveRo
 
Posts: 5
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: 45412
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: 3247
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.

Return to Thunderbird Support


Who is online

Users browsing this forum: No registered users and 8 guests