Skip to content
Native Win32 Thunderbird tray icon
C++ C Batchfile
Branch: master
Clone or download
Pull request Compare This branch is 16 commits ahead of dop3j0e:master.
Latest commit f1ba60e Sep 23, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
dll Version is now 0.10.1 Sep 22, 2019
loader Version is now 0.10.1 Sep 22, 2019
.gitattributes Add context menu Sep 20, 2019
.gitignore Add .gitignore and .gitattributes. Jan 19, 2019
LICENSE.txt Put under GPLv3 Feb 23, 2019
TBTray.sln Actually build release Sep 20, 2019
copy_binaries.cmd Version is now 0.10.1 Sep 22, 2019
version.h Version is now 0.10.1 Sep 22, 2019

TBTray - Native Win32 Thunderbird tray icon

After the x-th reincarnation of the MinimizeToTray add-on for Thunderbird broke in Thunderbird 68, it seems like it becomes more and more difficult, if not impossible, to solve the issue at hand - keeping Thunderbird minimized in the notification area when closing or minimizing it - using Web Extensions.

I know that BirdTray exists, and it's even cross-platform. However, it tries to solve way more problems than I have and uses Qt, so it's not quite as light-weight as I think a background process should be.

So I decided to fork a program a friend of mine wrote - traktouch, as it solves a very similar problem. I could have written it from scratch, but this way I didn't have to write most of the boilerplate code.

How does it work?

TBTray intercepts some window messages sent to Thunderbird, rejecting window minimize and close events and instead hiding the window and creating a tray icon.

To do this, TBTray checks for the presence of the Thunderbird main window, and if it finds the window, injects a library into the Thunderbird process to hook into the message queue. TBTray keeps running in the background, in case you want to restart Thunderbird at some point.

Halp, how do I quit Thunderbird?

Through the File menu, or the context menu of the tray icon.

Is there any sort of configuration?

This program does not come with any options, because it is just supposed to fix exactly the problem I had. Please fork the repository if you want the program to behave differently.


To automatically start TBTray on Windows startup, run register.cmd. To uninstall, run unregister.cmd.

You can’t perform that action at this time.