-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for Thunderbird v68.0? #47
Comments
If this doesn't get Thunderbird 68 support try looking at birdtray as an alternative. |
I highly doubt that this extension will be working for TB 68+. If I understand the release notes correctly, only webextension based addons will be supported from now on. Still a shame that the TB devs don't want to support this feature natively. |
Seams that there is some posibilities... |
Birdtray also does not work with Thunderbird 68. Is there any chance it will get updated for Tb68? |
Yes, it does I am using it right now with Tb68 and it works. |
Does birdtray show unread count? |
Yes, in my case birdtray shows uncount for my two mail accounts (one gmail the other one is an exchange account). |
Could you notify gyunaev about it? |
Ok, I will. |
I prefer to have only 1 addon instead to have two programs... |
I agree with you there but all the current addons that used to work don't work or are either abandoned. I still don't understand why Thunderbird never implemented this feature. The original bug report for that issue is now closed with the argument that tray icons are a thing of the past. |
Could you link the original bug report for Tb? |
This should be it. |
A topic from 16 years old... |
Yes, it is a very very old issue. |
I really I don't understand why is not an available feature. |
Yup, I can only agree with you there. |
So, to anyone in the know: is this extension actually portable to 68+? |
SO sad because this project dyeing once again... |
@Ximi1970 Best, Samuel |
You can see error output both in Tools > Developer Tools > Error Console, and just in the terminal if you launched Thunderbird from one. I get errors relating to the logging system. Disabling logging (change all log.foo() to console.log()) seems to let the addon load, but it then causes Thunderbird to segfault. It did get as far as creating the tray icon once, but still segfaulted even in that case. |
@knobsam, @lbratch I am trying to pickup the project again. The TB developers removed some XUL elements (and some API calls (log)) again. This causes the plugin to exit in the initialization phase so it skips the code that is crashing TB in the other versions. If you remove this line in the FireTray/src/chrome/content/overlay.js in the experimental-next branch |
@Ximi1970 many thanks for trying! I tried myself to bring it up again, but failed (and gave up and switched to BirdTray for now, which works for me). My javascript skills just aren't sufficient for this project. I succeeded in getting FireTray recognized and installed on Linux with following steps:
It installs fine but doesn't work at all (settings page loads, but no settings get saved, no tray icon at all). At least it doesn't crash on Linux. |
@indigoxela thank you for trying. All extra info is welcome. We really need a new way to get the tray icon. Was even thinking in creating a patch for TB itself and solve a TB issue of 16 years old. |
Yeah it would be awesome if Thunderbird finally got that 16 bug report implemented. But read the comments in the original report it is IMHO moronic almost to state that tray icons a thing of the past more less because Gnome now removes every fricking feature it can. Apologizing for being a bit inflammatory here. |
Today I had upgraded my Kubuntu from 19.04 to 19.10. Thunderbird was upgraded from 60.9 to 68. FireTray stopped work. I downgrade Thunderbird to 60.9 and I'm happy again :) |
I don't know what current TB API allows to do in extensions but in any case I think it pretty easy to implement a few applications which will use whatever frameworks they want and capable to show something in system tray. And this application then can communicate with TB extension via files/unix sockets/tcp/http/whatever is available for extensions. as for me, I'm fine with Qt. As a KDE user I always have it loaded into memory and tray-only app should be quite tiny anyway. And I believe this approach doesn't need any changes to TB itself. Currently with KDE I have a kind of workaround. I set up TB window to minimize and hide from taskbar on close button and also keep its icon pinned to taskbar. Of course this icon doesn't show me amount of unread emails but at least I can see notifications. |
@Ri0n this is the construction the TB developers want. And I do not like it very much.You need to take care of the distribution of two apps. One part that is in the TB store and the other part on github? |
@Ri0n maybe I will do both 😄 |
You could register your own "StatusNotifierItem" and notify the user if there isn't a registered "StatusNotifierHost" and tell him how to fix it. So you should be independent of the respective implementations (libappindicator, kstatusnotifieritem). If it does really work this way. https://www.freedesktop.org/wiki/Specifications/StatusNotifierItem/ |
I started the new plugin using the recommended TB solution. So it is going to be an add-on AND a companion app. Hopefully I can translate most of the features from the FireTray add-on to the new setup. Still very experimental and still needs a lot of work and research on how to solve / implement missing functionality.
Things not working:
|
I packaged systray-x for openSUSE if anyone is interested. |
Thank you very much for this. I tried it on tumbleweed with KDE (19.12 apps, 5.66 frameworks). It pulled in Thunderbird 68.5. It's recognised in the add-ons list but doesn't seem to show a tray icon. Closing the window exits Thunderbird as well. Let me know if I can provide further debug info. |
@lgbaldoni thanks for setting up the package. Did not have time to setup it yet (Ximi1970) PS: Will implement your patch. |
@lgbaldoni Added the OBS files to the repo and patched the .pro. |
@askembris my bad, please try it now |
OK, tried it. Here's what I got: I think it's a great start and you should keep up the good work! Let me know once you update the package if you need more testing. |
@Ximi1970 Will SysTray-X support multiple Thunderbird instances (e.g. running different profiles)? It seems to me that this moment should be foreseen at the stage of architectural design. |
@Katarn I was already partially looking into the multiple instances. There is one big problem.... But the first task is to get the main functionality back for Linux and Windows. Then I will hopefully be able to expand the basics to as much old functionality as possible ( and maybe extend with some new features ) If anybody has special wishes, please put them in the issue list of the new repository SysTray-X issues so I can easily track all problems, wishes and other remarks. |
@Ximi1970 Thanks for your work? Will you write patch for Thunderbird or only new addon + companion app? |
@Myppomeu I created a new add-on and companion app for Thunderbird: SysTray-X. Sadly enough one of my favorite features is a bit difficult to implement with this new API: minimize when you click on the close button. The plugin does not "own" the TB window anymore and it is impossible to install handler to catch the "close". At the moment I am working on an extendable build farm at home to generate and distribute all the needed binaries automaticaly. Compiling everything for all systems by hand is just impossible to manage and would take a lot of my time to prepare every release. Maybe I will look at the special patch after this add-on is up and running. I still do not know for sure. There are no decent libraries except Qt that support a system tray interface. So I would need to integrate the Qt library into Thundebird. And I do not know what the developers think about adding another lib to the Mozilla mess... If you want to look at the state of the SysTray-X project, please have a look here: If you want to try out the plugin, these are complete packages (add-on and comapanion app): For Windows an other platforms you still need to compiling it your self, but be warned: installing the tools will take hours and hours of work. Thank you for your patience and stay tuned. |
@Ximi1970 I think there is a workaround for the close issue. At the moment, the minimize-on-close function works as expected when the |
@duguyipiao No there is not. This is a legacy plugin. See also prev |
Thunderbird devs have written they fixed it for upcoming Thunderbird 76 |
Holy crap they actually fixed it after 17 years??? |
Does this mean Firetray could be back on track? |
Firetray is never going to work...It is a legacy addon and all legacy plugins will be terminated in 76+ |
But you can try my new addon: |
@Ximi1970 will this be of any help to systray-x? |
Depends on how they implemented the minimize and what the icon will show... |
Yours works great! The only issue I see is when you close TB, the tray icon does not disappear. If I hover my mouse pointer over it, then it goes away. This was tested on Windows 10 / TB 68.6.0 (32 Bit) |
Yes I saw that too..Will add it to the todo list. I think it is a Windows bug but I will look for a workaround. |
It's not a bug. But comment 142 (yes) suggests it was solved for Microsoft Windows but not GNU/Linux. In any case, issue #18732 remains open, so I assume Thunderbird is still far from matching FireTray's basics on GNU/Linux. |
Yes, I think Windows already had a "new mail indicator". |
Could you please add support for Thunderbird v68.0?
https://www.thunderbird.net/en-US/thunderbird/68.0/releasenotes/
The text was updated successfully, but these errors were encountered: