Add-on with prefs file works up to 52.9.1 but makes 60.3.1 freeze

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Add-on with prefs file works up to 52.9.1 but makes 60.3.1 freeze

markuskramerigitt
My Add-on has a prefs file:

https://github.com/markuskramerIgitt/MozillaThunderbirdAddon/blob/master/AddressLabel/addresslabel/defaults/preferences/defaults.js

Up to Thunderbird 52.9.1, the Add-on works fine.

In Thunderbird 60.3.1, when I open the preferences from "Tools --> Add-on Options -->", a distorted preference pane opens and Thunderbird freezes. I can only kill Thunderbird with the Task Manager.


I found wiki https://wiki.mozilla.org/Thunderbird/Add-ons_Guide_57
but there I only found discussion https://bugzilla.mozilla.org/show_bug.cgi?id=1414398



Is there documentation or an example how to implement preferences in 60.*?

How can I support versions 52 and 60?


Thank you




_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: Add-on with prefs file works up to 52.9.1 but makes 60.3.1 freeze

markuskramerigitt
On Tuesday, 27 November 2018 00:35:13 UTC+1, [hidden email]  wrote:

> My Add-on has a prefs file:
>
> https://github.com/markuskramerIgitt/MozillaThunderbirdAddon/blob/master/AddressLabel/addresslabel/defaults/preferences/defaults.js
>
> Up to Thunderbird 52.9.1, the Add-on works fine.
>
> In Thunderbird 60.3.1, when I open the preferences from "Tools --> Add-on Options -->", a distorted preference pane opens and Thunderbird freezes. I can only kill Thunderbird with the Task Manager.
>
>
> I found wiki https://wiki.mozilla.org/Thunderbird/Add-ons_Guide_57
> but there I only found discussion https://bugzilla.mozilla.org/show_bug.cgi?id=1414398
>
>
>
> Is there documentation or an example how to implement preferences in 60.*?
>
> How can I support versions 52 and 60?
>
>
> Thank you


I guess my preferences are of "Dialog" type and "no longer supported". "only options in tabs (3) work now"

Is that the case?

https://github.com/markuskramerIgitt/MozillaThunderbirdAddon/blob/master/AddressLabel/addresslabel/chrome/content/preferences.xul



_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: Add-on with prefs file works up to 52.9.1 but makes 60.3.1 freeze

WaltS48-9
In reply to this post by markuskramerigitt
On 11/26/18 6:35 PM, [hidden email] wrote:

> My Add-on has a prefs file:
>
> https://github.com/markuskramerIgitt/MozillaThunderbirdAddon/blob/master/AddressLabel/addresslabel/defaults/preferences/defaults.js
>
> Up to Thunderbird 52.9.1, the Add-on works fine.
>
> In Thunderbird 60.3.1, when I open the preferences from "Tools --> Add-on Options -->", a distorted preference pane opens and Thunderbird freezes. I can only kill Thunderbird with the Task Manager.
>
>
> I found wiki https://wiki.mozilla.org/Thunderbird/Add-ons_Guide_57
> but there I only found discussion https://bugzilla.mozilla.org/show_bug.cgi?id=1414398
>
>
>
> Is there documentation or an example how to implement preferences in 60.*?
>
> How can I support versions 52 and 60?
>
>
> Thank you
>
>
>
>

Is this any help?

<https://wiki.mozilla.org/Thunderbird/Add-ons_Guide_63>
_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: Add-on with prefs file works up to 52.9.1 but makes 60.3.1 freeze

Jörg Knobloch
In reply to this post by markuskramerigitt
On 27/11/2018 01:10, [hidden email] wrote:
> I guess my preferences are of "Dialog" type and "no longer supported". "only options in tabs (3) work now"
>
> Is that the case?

Not quite. If you add-on has an options dialogue then it should show in
"Tools > Add-on Options". I have Lightning, Enigmail, Signature Switch
and a few others in there happily.

Jörg.

_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: Add-on with prefs file works up to 52.9.1 but makes 60.3.1 freeze

Richard Marti
In reply to this post by markuskramerigitt
On 27.11.2018 00:35, [hidden email] wrote:

> My Add-on has a prefs file:
>
> https://github.com/markuskramerIgitt/MozillaThunderbirdAddon/blob/master/AddressLabel/addresslabel/defaults/preferences/defaults.js
>
> Up to Thunderbird 52.9.1, the Add-on works fine.
>
> In Thunderbird 60.3.1, when I open the preferences from "Tools --> Add-on Options -->", a distorted preference pane opens and Thunderbird freezes. I can only kill Thunderbird with the Task Manager.
>
>
> I found wiki https://wiki.mozilla.org/Thunderbird/Add-ons_Guide_57

Have you followed the Changes in thunderbird59 part? Especially adding the
<?xml-stylesheet type="text/css"
href="chrome://messenger/skin/preferences/preferences.css"?> ?

Richard

_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird
Reply | Threaded
Open this post in threaded view
|

Re: Add-on with prefs file works up to 52.9.1 but makes 60.3.1 freeze

markuskramerigitt
On Tuesday, 27 November 2018 11:51:56 UTC+1, Richard Marti  wrote:

> On 27.11.2018 00:35, markuskramerigitt wrote:
> > My Add-on has a prefs file:
> >
> > https://github.com/markuskramerIgitt/MozillaThunderbirdAddon/blob/master/AddressLabel/addresslabel/defaults/preferences/defaults.js
> >
> > Up to Thunderbird 52.9.1, the Add-on works fine.
> >
> > In Thunderbird 60.3.1, when I open the preferences from "Tools --> Add-on Options -->", a distorted preference pane opens and Thunderbird freezes. I can only kill Thunderbird with the Task Manager.
> >
> >
> > I found wiki https://wiki.mozilla.org/Thunderbird/Add-ons_Guide_57
>
> Have you followed the Changes in thunderbird59 part? Especially adding the
> <?xml-stylesheet type="text/css"
> href="chrome://messenger/skin/preferences/preferences.css"?> ?
>
> Richard


Thank you all!
I noted your replies, and I am glad about them.
I will find time, investigate and come back to you.

_______________________________________________
dev-apps-thunderbird mailing list
[hidden email]
https://lists.mozilla.org/listinfo/dev-apps-thunderbird