With firefox 20 this post explain the solution http://code.google.com/p/evoluspencil/issues/detail?id=545#c4 Tested version 2.0.3 on gentoo with firefox 20.0.1 and it works (with the need for purging the cache for the app) in this way. firefox --app /usr/share/evoluspencil/application.ini -purgecaches (This could be instructed in the post-inst messages of the updated ebuild)
I am concerned about applying this patch without comment from upstream as Mozilla give this warning[1]: Important: If you think that you should be passing null here, you are almost certainly wrong. null should be passed only when no plausible privacy context exists for the URI to be saved, which is an exceedingly rare corner case. [1]: https://developer.mozilla.org/en-US/docs/XPCOM_Interface_Reference/nsIWebBrowserPersist#saveURI%28%29
Thanks Michael for pointing it. I'm not a XPCOM developer (neither a javascript dev to be honest) anyway the note also state that this argument (the privacyContext) is: "Used to ensure that privacy-sensitive operations (such as saving a URI related to a private browsing session) do not leak any information (eg. cookies, permanent cache, etc.) Null must only be passed in the event that no such relevant context exists (ie. the URI being saved is unrelated to any current browsing session). " So regarding this particular case, where we are not on a browsing session (pencil is started here as a standalone app), I think that we are precisely in that "rare corner case".
Just a quick update: I agree with your statement that this probably is the rare corner case mentioned, however I would prefer to have confirmation of that before putting it in the tree. I have tried a number of Mozilla channels, but unfortunately have not yet been able to get a response.
I was able to get another opinion[1] agreeing that this will be safe, so I've added the patch in CVS. Thanks! + 13 Jun 2013; Michael Palimaka <kensington@gentoo.org> + +evoluspencil-2.0.4.ebuild, +files/evoluspencil-2.0.4-exportpng.patch, + +files/launcher: + Version bump. Add patch to fix exporting to PNG (bug #468888). Add custom + launcher to support firefox-bin (bug #468142). [1]: https://groups.google.com/d/msg/mozilla.dev.extensions/oIRT2WF-wT8/eKcCPcZznewJ