2011-09-24 06:00:31 -04:00
Firetray
2011-08-27 21:35:55 -04:00
=======
2011-08-15 16:39:25 -04:00
2011-08-27 21:35:55 -04:00
Overview
--------
2011-09-24 06:00:31 -04:00
Js-ctypes rewrite of the binary XPCOM version of **Firetray** .
2011-08-27 21:35:55 -04:00
2012-01-15 14:47:47 -05:00
Features
--------
* for all applications:
* show/hide a single or all windows
2012-03-16 05:26:25 -04:00
* restore windows to their previous state, position, size
* restore each window to its original virtual desktop/workspace
* activate restored windows
* hide to tray on close
* hide to tray on minimize
* start minimized to tray
* show icon only when hidden to tray
* mouse scroll on tray icon shows/hides
2012-05-13 10:23:43 -04:00
* GTK-themable icons
2012-09-07 12:22:51 -04:00
* customizable tray icons
* popup menu (show/hide individual windows, open new windows, quit)
2012-12-14 04:40:38 -05:00
* command-line `-firetrayShowHide` option (useful for window manager's keyboard shortcuts)
* command-line `-firetrayPresent` option (activates windows)
2012-05-13 10:23:43 -04:00
* middle click on the tray icon activates last registered window
2012-01-15 14:47:47 -05:00
* for mail applications:
2012-05-13 10:23:43 -04:00
* display unread message count in tray icon
2012-09-07 12:22:51 -04:00
* display biff in tray icon for new messages
2012-03-16 05:26:25 -04:00
* include/exclude mail accounts to/from messages count
* include/exclude folders types to/from messages count
2012-04-08 19:58:21 -04:00
* count in sub-folders recursively
2012-09-07 12:22:51 -04:00
* handle [Exquilla ](https://addons.mozilla.org/fr/thunderbird/addon/exquilla-exchange-web-services/ ) accounts
* restrict message count to favorite folders
* trigger external program on message count change
* for applications embedding chat (currently only Thunderbird)
* display additional system tray status icon
2012-01-15 14:47:47 -05:00
2011-08-27 21:35:55 -04:00
Notes
-----
2012-01-23 07:15:54 -05:00
* requires GTK+ 2.20 and higher.
2014-05-23 16:03:46 -04:00
* Firetray temporarily unsets:
* the `tabs.warnOnClose` built-in preference, which otherwise disrupts the handeling of the close event
* `mail.biff.show_tray_icon` for mail applications
2011-08-27 21:35:55 -04:00
* Experimental non-customizable keyboard shortcut for hiding all windows set to: `accel-shift-w`
2011-09-07 10:24:14 -04:00
References
----------
2011-08-27 21:35:55 -04:00
* if you're looking for other mozilla-desktop integration:
* Paul Neulinger's [Gnome-shell-Thunderbird integration ](https://github.com/tanwald/gnome-shell-extension-thunderbird-integration "gnome-shell-thunderbird integration" )
2011-09-07 10:24:14 -04:00
* Mike Conley's
[Unity-Thunderbird integration](http://mozillalabs.com/messaging/messaging-menu/
"Unity-Thunderbird integration")
2011-09-09 16:14:40 -04:00
* discontinued [Mozilla New Mail Icon (Biff) ](https://addons.mozilla.org/fr/thunderbird/addon/new-mail-icon/ )
2011-09-07 10:24:14 -04:00
* [Alltray ](http://alltray.trausch.us/ "alltray" ) launches any applications
into tray
2011-08-27 21:35:55 -04:00
KNOWN BUGS
----------
2011-08-15 16:39:25 -04:00
2011-08-27 11:40:27 -04:00
* windows aren't restored with the same z-order, but there is [no means to correct that under Linux ](https://bugzilla.mozilla.org/show_bug.cgi?id=156333 "GetZOrderDOMWindowEnumerator is broken on Linux" )
2011-08-27 21:35:55 -04:00
2011-11-27 21:52:41 -05:00
* notifications for excluded mail account servers are not
disabled. Newmailalerts are
[hard-coded ](http://mxr.mozilla.org/comm-central/find?string=content/newmailalert )
2012-02-03 16:25:40 -05:00
and we can't easily disable them on a per-server basis (only globally, see
2011-11-27 21:52:41 -05:00
`mail.biff.show_alert` ). The proper way would probably be to disable default
notifications globally, and handle notifications ourselves. This is out of
the scope of this addon, but you may want to give a try to the
[MailAlert extension ](https://addons.mozilla.org/en-US/thunderbird/addon/mailbox-alert/ )
2011-11-24 17:12:13 -05:00
2012-01-20 17:44:57 -05:00
* child windows (compose message, preferences, ...) are not handled by
Firetray. For ex., they are not hidden along with there top-level window.
2012-02-20 18:09:40 -05:00
* because of `getNumNewMessages()` 's
[strange behaviour ](https://bugzilla.mozilla.org/show_bug.cgi?id=727460 ),
it's impossible to display an accurate count of *new messages* . The best we
can do is display a biff icon.
2012-03-22 13:38:30 -04:00
* POP users should set
[http://kb.mozillazine.org/Thunderbird_:_FAQs_:_Automatically_Download_Messages](Automatically
download new messages) to see new message. See
[this discussion ](https://github.com/foudfou/FireTray/issues/20 ).
2012-05-12 09:42:55 -04:00
* some features [do not work well under Unity/Compiz ](https://github.com/foudfou/FireTray/issues/22 ).
2011-08-27 21:35:55 -04:00
Acknowledgment
--------------
* Some code borrowed from [Mike Conley ](http://mzl.la/messagingmenu "Thanks Mike" ).
2011-09-24 06:00:31 -04:00
* Some code borrowed from
2012-03-22 13:38:30 -04:00
[Nils Maier](https://addons.mozilla.org/fr/firefox/addon/minimizetotray-revived/
2011-09-24 06:00:31 -04:00
"MinToTrayR addon page").
2012-01-14 19:02:00 -05:00
* kind support from Neil Deaking, Bobby Holley
2012-09-06 13:07:22 -04:00
* default icons borrowed from Mozilla, Pidgin, Tango Desktop Project