foudfou / firetray Goto Github PK
View Code? Open in Web Editor NEWMozilla icon tray. DISCONTINUED
Home Page: https://foudfou.github.io/FireTray/
License: Other
Mozilla icon tray. DISCONTINUED
Home Page: https://foudfou.github.io/FireTray/
License: Other
It would be great if firetray would support the display of the number of new messages similarly to what is proposed for the unread messages.
I understand that this RFE has been discussed here but the focus was not really on the count and the issue has been closed:
#13
In debian wheezy, after upgrading icedove to 10.0.3-3 the tray bar icon is not shown anymore. I tried the current git version, but it is still not shown. There are no errors shown in the log so that it is unclear to me why this is happening?
[edit]sorry, for the noise: after installing the git version I messed around with the configuration[/edit]
Pretty much SUBJ tells it all. I've got a bunch of mail accounts and my main mail account is subscribed to a bunch of different mailing lists like "kernel-dev", "openwrt-dev", e.t.c. Mailing lists generate huge amount of traffic and thus huge amount of "new unread" messages. Due to this fact it isn't fun to look at square box in KDE system tray displaying blurry number like 17578. I'd prefer the Thunderbird default icon to be displayed there instead. Also it would be cool to have configuration option and resp. functionality to display two icons in tray, one "general" and another one showing up on new mail reception. There was something like this with 0.3.x versions of Firetray when it's been displaying the amount of newly received messages in the "tray icon box" instead of the total number of unread messages.
Anyways, thanks for your work, you made the things rock!
When I suspend my system and wake it up, I can only restore the window by an right-click and selecting the appropriate tab.
I tested it, if I have checked that application should start application hidden to tray, after I click on firetray to restore it, it starts with little dimensions 30px x 60px nad every time must be resized. If I want to resize it, it is only allowed to resize it to using left bottom corner of application.
here you can find screenshots:
http://pity.sk/sites/default/files/other/firetray_bug.png
http://pity.sk/sites/default/files/other/little_thunderbird.png
Using Kubuntu 11.10
Hi,
I've been using firetray for ages and have been very happy with it. I just changed to thunderbird 10 and needed to upgrade firetray accordingly, to 0.4.1. Since then, the icon does not indicate any more when there is new mail in the minimized state, even though firetray is set up this way. I'm using linux and pop3 email, and thunderbird is set up to check every minute for new email, and download messages from the server when pressing "get mail". Previous versions (up to 0.3.5) used to faithfully show the number of new messages on the server, but the new version only shows that there is new email after pressing "get mail", which defeats the purpose, as I'd like to be notified by the icon when and how much new email has arrived on the server. I am not sure if this is a thunderbird or a firetray issue, but any ideas on how to resolve it would be greatly appreciated!
I use multiple desktops, thus never really minimize my apps. Instead of hiding/unhiding Thunderbird, I'd like to be able to jump to the correct desktop and bring Thunderbird to the front (if necessary) on systray icon click (this was actually behavior of MozTrayBiff).
Hi,
I don't know where to put this, so I decided to open a bug although it is not a real bug.
I have got an usb email notifier (http://www.dreamcheeky.com/webmail-notifier) as a present for my birthday.
With the driver for linux it is possible to turn the notifier on and off via shell scripts / python scripts.
Now I had the idea it would be really great if you could add a possibility to run a user defined shell/python script on the new mail event (e.g. to turn the notifier on) and on the "all messages read" event (e.g. to turn it off).
I think there are a lot of different usage possibilities.
I'm not quite sure where I would have to add it to the code, otherwise I would try to add it myself.
Kind regards,
David
Some preliminary remarks:
topic== 'unread-im-count-changed'
, see http://mxr.mozilla.org/comm-central/source/mail/components/im/content/chat-messenger-overlay.js).topic== 'new-text'
)When you open Thunderbird when it is already open it raises itself. However, when it is minimised to try with this app the window is not raised. It would be nice to have the app restore and raise itself.
Currently it's only possible to select which accounts or special folders are included in the new-message-count.
As already mentioned in Issue 105 on the old issue list, this is not as useful as selecting folders to include.
I myself am subscribed to various mailing list and don't want them to be included in the counter in my icon. These mailing lists each have their own folder they get filtered in. IMHO this is a very common practice and affects many users.
Hi,
I found this bug in version 0.4.0a5. If you select a different tray icon for new messages (e.g. the newmail icon) it works perfectly until you restart.
After a restart the default selection (display unread message count) is selected again.
Would be great, if you could fix this issue.
Thanks,
David
I think the latest update has sadly broken Firetray - whenever I minimize Thunderbird to the tray I can't restore it to desktop by any means. I have to instead restart Thunderbird in safemode and disable the add-on to access the program. Ubuntu 11.10, Thunderbird 11.
Hi,
yesterday I have updated to FireTray 0.4.1 and discovered that FireTray does not hide to the tray when I start it with the corresponding option set.
FireTray 0.4.1 (with version 0.4.0b3 it was working like a charm)
Thunderbird 12.0.1
Arch Linux
GTK 1.2.10
When I start the program there are no errors in the error console, but I can see following warning:
Warning: WARN firetray: setVisibility=false
Source File: resource://firetray/linux/FiretrayWindow.jsm
Line: 307
This warning is printed every time I hide or restore the window, except it changes to "Warning: WARN firetray: setVisibility=true" on restore.
I have also built the debug version of FireTray and got following print out to console:
*** LOG addons.xpi: startup
*** LOG addons.xpi: checkForChanges
*** LOG addons.xpi: No changes found
*** LOG firetray: Trying to load library: glib-2.0
*** LOG firetray: Trying libglib-2.0.so.0
*** LOG firetray: Successfully loaded libglib-2.0.so.0
*** LOG firetray: Trying to load library: gobject-2.0
*** LOG firetray: Trying libgobject-2.0.so.0
*** LOG firetray: Successfully loaded libgobject-2.0.so.0
*** LOG firetray: Trying to load library: cairo
*** LOG firetray: Trying libcairo.so.2
*** LOG firetray: Successfully loaded libcairo.so.2
*** LOG firetray: Trying to load library: X11
*** LOG firetray: Trying libX11.so.6
*** LOG firetray: Successfully loaded libX11.so.6
*** LOG firetray: Trying to load library: gdk-x11-2.0
*** LOG firetray: Trying libgdk-x11-2.0.so.0
*** LOG firetray: Successfully loaded libgdk-x11-2.0.so.0
*** LOG firetray: Trying to load library: gio-2.0
*** LOG firetray: Trying libgio-2.0.so.0
*** LOG firetray: Successfully loaded libgio-2.0.so.0
*** LOG firetray: Trying to load library: pango-1.0
*** LOG firetray: Trying libpango-1.0.so.0
*** LOG firetray: Successfully loaded libpango-1.0.so.0
*** LOG firetray: Trying to load library: gtk-x11-2.0
*** LOG firetray: Trying libgtk-x11-2.0.so.0
*** LOG firetray: Successfully loaded libgtk-x11-2.0.so.0
*** LOG firetray: Handler initialized: false
*** LOG firetray: OS=Linux, ABI=x86-gcc3, XULrunner=12.0
*** LOG firetray: Trying to load library: pangocairo-1.0
*** LOG firetray: Trying libpangocairo-1.0.so.0
*** LOG firetray: Successfully loaded libpangocairo-1.0.so.0
*** LOG firetray: FiretrayStatusIcon imported
*** LOG firetray: Trying to load library: c
*** LOG firetray: Trying libc.so.6
*** LOG firetray: Successfully loaded libc.so.6
*** LOG firetray: x11.current.Atoms.WM_DELETE_WINDOW=285
*** LOG firetray: x11.current.Atoms.WM_STATE=275
*** LOG firetray: x11.current.Atoms.WM_CHANGE_STATE=367
*** LOG firetray: x11.current.Atoms._NET_WM_STATE_MODAL=305
*** LOG firetray: x11.current.Atoms._NET_WM_STATE_STICKY=310
*** LOG firetray: x11.current.Atoms._NET_WM_STATE_MAXIMIZED_VERT=306
*** LOG firetray: x11.current.Atoms._NET_WM_STATE_MAXIMIZED_HORZ=307
*** LOG firetray: x11.current.Atoms._NET_WM_STATE_SHADED=398
*** LOG firetray: x11.current.Atoms._NET_WM_STATE_SKIP_TASKBAR=308
*** LOG firetray: x11.current.Atoms._NET_WM_STATE_SKIP_PAGER=309
*** LOG firetray: x11.current.Atoms._NET_WM_STATE_HIDDEN=418
*** LOG firetray: x11.current.Atoms._NET_WM_STATE_FULLSCREEN=304
*** LOG firetray: x11.current.Atoms._NET_WM_STATE_ABOVE=302
*** LOG firetray: x11.current.Atoms._NET_WM_STATE_BELOW=303
*** LOG firetray: x11.current.Atoms._NET_WM_STATE_DEMANDS_ATTENTION=436
*** LOG firetray: x11.current.Atoms._NET_CLOSE_WINDOW=397
*** LOG firetray: x11.current.Atoms._NET_WM_NAME=298
*** LOG firetray: x11.current.Atoms._NET_WM_VISIBLE_NAME=393
*** LOG firetray: x11.current.Atoms._NET_WM_ICON_NAME=297
*** LOG firetray: x11.current.Atoms._NET_WM_VISIBLE_ICON_NAME=394
*** LOG firetray: x11.current.Atoms._NET_WM_DESKTOP=295
*** LOG firetray: x11.current.Atoms._NET_WM_WINDOW_TYPE=313
*** LOG firetray: x11.current.Atoms._NET_WM_STATE=301
*** LOG firetray: x11.current.Atoms._NET_WM_ALLOWED_ACTIONS=423
*** LOG firetray: x11.current.Atoms._NET_WM_STRUT=417
*** LOG firetray: x11.current.Atoms._NET_WM_STRUT_PARTIAL=432
*** LOG firetray: x11.current.Atoms._NET_WM_ICON_GEOMETRY=415
*** LOG firetray: x11.current.Atoms._NET_WM_ICON=296
*** LOG firetray: x11.current.Atoms._NET_WM_PID=299
*** LOG firetray: x11.current.Atoms._NET_WM_HANDLED_ICONS=484
*** LOG firetray: x11.current.Atoms._NET_WM_USER_TIME=315
*** LOG firetray: x11.current.Atoms._NET_FRAME_EXTENTS=292
*** LOG firetray: x11.current.Atoms._NET_ACTIVE_WINDOW=290
*** LOG firetray: x11.current.Atoms.CARDINAL=6
*** LOG firetray: FiretrayWindow imported
*** LOG firetray: inMailApp: true, inBrowserApp: false
*** LOG firetray: file:///home/david/.thunderbird/0do7a60t.default/extensions/%7B9533f794-00b4-4354-aa15-c2bbda6989f8%7D/chrome/skin/thunderbird32.png
*** LOG firetray: file:///home/david/.thunderbird/0do7a60t.default/extensions/%7B9533f794-00b4-4354-aa15-c2bbda6989f8%7D/chrome/skin/blank-icon.png
*** LOG firetray: file:///home/david/.thunderbird/0do7a60t.default/extensions/%7B9533f794-00b4-4354-aa15-c2bbda6989f8%7D/chrome/skin/message-mail-new.png
*** LOG firetray: file:///home/david/.thunderbird/0do7a60t.default/extensions/%7B9533f794-00b4-4354-aa15-c2bbda6989f8%7D/chrome/skin/linux/icons
*** LOG firetray: /home/david/.thunderbird/0do7a60t.default/extensions/{9533f794-00b4-4354-aa15-c2bbda6989f8}/chrome/skin/linux/icons
*** LOG firetray: gtkIconTheme=GtkIconTheme.ptr(ctypes.UInt64("0xaf10c9c0"))
*** LOG firetray: themedIconNames=indicator-messages-new,mail-message-new,mail-unread
*** LOG firetray: themedIconNamesLen=3
*** LOG firetray: themedIconNames=ctypes.char.ptr.array(3)([ctypes.char.ptr(ctypes.UInt64("0xa398f428")), ctypes.char.ptr(ctypes.UInt64("0xa398f448")), ctypes.char.ptr(ctypes.UInt64("0xa398f468"))])
*** LOG firetray: themedIcon=GIcon.ptr(ctypes.UInt64("0xa399f700"))
*** LOG firetray: themedIconNames=indicator-messages,applications-email-panel,thunderbird
*** LOG firetray: themedIconNamesLen=3
*** LOG firetray: themedIconNames=ctypes.char.ptr.array(3)([ctypes.char.ptr(ctypes.UInt64("0xa399f848")), ctypes.char.ptr(ctypes.UInt64("0xa39a2588")), ctypes.char.ptr(ctypes.UInt64("0xa399f868"))])
*** LOG firetray: themedIcon=GIcon.ptr(ctypes.UInt64("0xa399f940"))
*** LOG firetray: GIcon.ptr(ctypes.UInt64("0xa399f940"))
*** LOG firetray: showHideAllWindows: true
*** LOG firetray: g_connect activate=313
*** LOG firetray: StatusIcon initialized
*** LOG firetray: Enabling Messaging
*** LOG firetray: [xpconnect wrapped nsITimer]=900000
*** LOG firetray: updateMsgCount
*** LOG firetray: msgCountType=0
*** LOG firetray: mail accounts from pref: {"serverTypes":{"pop3":{"order":1,"excluded":false},"imap":{"order":1,"excluded":false},"movemail":{"order":2,"excluded":true},"none":{"order":3,"excluded":false},"rss":{"order":4,"excluded":true},"nntp":{"order":5,"excluded":true}},"excludedAccounts":[]}
*** LOG firetray: sortByTypeAndName=false
*** LOG firetray: ACCOUNT: [email protected] type: imap
*** LOG firetray: is servertype excluded: false, account exclusion index: -1
*** LOG firetray: Inbox getNumUnread=0
*** LOG firetray: ACCOUNT: Local Folders type: none
*** LOG firetray: is servertype excluded: false, account exclusion index: -1
*** LOG firetray: ACCOUNT: [email protected] type: imap
*** LOG firetray: is servertype excluded: false, account exclusion index: -1
*** LOG firetray: Inbox getNumUnread=0
*** LOG firetray: ACCOUNT: Feeds type: rss
*** LOG firetray: is servertype excluded: true, account exclusion index: -1
*** LOG firetray: Total New=0
*** LOG firetray: 0 unread messages
*** LOG firetray: GIcon.ptr(ctypes.UInt64("0xa399f940"))
*** LOG addons.xpi: Opening database
*** LOG firetray: version change watching enabled
*** LOG firetray: ONLOAD
*** LOG firetray: 0
*** LOG firetray: register window
*** LOG firetray: oldTitle=Mozilla Thunderbird
*** LOG firetray: userData=_find_data_t.ptr(ctypes.UInt64("0xa3af8c08"))
*** LOG firetray: ctypes.char.ptr(ctypes.UInt64("0xa43c7738")) = ctypes.char.ptr(ctypes.UInt64("0xb725abec"))
*** LOG firetray: ctypes.char.ptr(ctypes.UInt64("0xa43c7738")) = ctypes.char.ptr(ctypes.UInt64("0xa4363520"))
*** LOG firetray: found window: GtkWindow.ptr(ctypes.UInt64("0xaf120920"))
*** LOG firetray: XID=12583052
*** LOG firetray: xWindowAttributes: XWindowAttributes(0, 0, 200, 200, 0, 24, Visual.ptr(ctypes.UInt64("0xb7258000")), ctypes.UInt64("346"), 1, 1, 1, 0, ctypes.UInt64("4294967295"), ctypes.UInt64("0"), 0, ctypes.UInt64("32"), 1, 0, ctypes.Int64("6520959"), ctypes.Int64("6520959"), ctypes.Int64("0"), 0, Screen.ptr(ctypes.UInt64("0xb72156a0")))
*** LOG firetray: xEventMask=6520959 xEventMaskNeeded=4390912
*** LOG firetray: about to set title: 12583052
*** LOG firetray: added gtkPopupMenuWindowItems: 1
*** LOG firetray: window 12583052 registered
*** LOG firetray: AFTER
*** LOG firetray: 1
*** LOG firetray: 12583052=GtkWindow.ptr(ctypes.UInt64("0xaf120920"))
*** LOG firetray: updateMsgCount
*** LOG firetray: msgCountType=0
*** LOG firetray: mail accounts from pref: {"serverTypes":{"pop3":{"order":1,"excluded":false},"imap":{"order":1,"excluded":false},"movemail":{"order":2,"excluded":true},"none":{"order":3,"excluded":false},"rss":{"order":4,"excluded":true},"nntp":{"order":5,"excluded":true}},"excludedAccounts":[]}
*** LOG firetray: sortByTypeAndName=false
*** LOG firetray: ACCOUNT: [email protected] type: imap
*** LOG firetray: is servertype excluded: false, account exclusion index: -1
*** LOG firetray: Inbox getNumUnread=0
*** LOG firetray: ACCOUNT: Local Folders type: none
*** LOG firetray: is servertype excluded: false, account exclusion index: -1
*** LOG firetray: ACCOUNT: [email protected] type: imap
*** LOG firetray: is servertype excluded: false, account exclusion index: -1
*** LOG firetray: Inbox getNumUnread=0
*** LOG firetray: ACCOUNT: Feeds type: rss
*** LOG firetray: is servertype excluded: true, account exclusion index: -1
*** LOG firetray: Total New=0
*** LOG firetray: 0 unread messages
*** LOG firetray: GIcon.ptr(ctypes.UInt64("0xa399f940"))
*** LOG firetray: start_hidden
*** LOG firetray: hideSingleWindow xid=12583052
*** LOG firetray: hideSingleStateless
*** WARN firetray: setVisibility=false
*** LOG firetray: Firetray LOADED: true
*** LOG firetray: RECEIVED: mail-startup-done, launching timer
*** LOG firetray: OnItemIntPropertyChanged BiffState for folder [email protected] was 2 became 1 NEW MESSAGES=0
*** LOG firetray: VERSION: 0.4.1
*** LOG firetray: *** appStarted ***
*** LOG firetray: OnItemIntPropertyChanged BiffState for folder [email protected] was 2 became 1 NEW MESSAGES=0
*** LOG firetray: OnItemIntPropertyChanged FolderSize for folder Inbox was 222881864 became 222881864 NEW MESSAGES=0
*** LOG firetray: OnItemIntPropertyChanged FolderSize for folder Inbox was 35658383 became 35658383 NEW MESSAGES=0
*** LOG firetray: Firetray CLOSE
*** LOG firetray: hides_on_close: true, hides_single_window=true
*** LOG firetray: hideSingleWindow xid=12583052
*** LOG firetray: hideSingleStateful
*** LOG firetray: save: gx=0, gy=27, gwidth=1920, gheight=1021
*** LOG firetray: XGetWindowProperty res=0, actual_type=4, actual_format=32, bytes_after=0, nitems=3
*** LOG firetray: prop_value=ctypes.unsigned_char.ptr(ctypes.UInt64("0xa47dd730")), size=4
*** LOG firetray: format OK
*** LOG firetray: props=ctypes.unsigned_long.array(3).ptr(ctypes.UInt64("0xa47dd730")), size=4
*** LOG firetray: propsFound, nitems=ctypes.unsigned_long.array(3).ptr(ctypes.UInt64("0xa47dd730")), ctypes.unsigned_long(ctypes.UInt64("3"))
*** LOG firetray: i: 307
*** LOG firetray: i: 306
*** LOG firetray: i: 318
*** LOG firetray: save: windowStates=2
*** WARN firetray: setVisibility=false
*** LOG firetray: SCROLL DOWN
*** LOG firetray: showAllWindows
*** LOG firetray: showSingleWindow xid=12583052
*** LOG firetray: showSingleStateless
*** WARN firetray: setVisibility=true
*** LOG firetray: PropertyNotify: WM_STATE, send_event: 0, state: 0
*** LOG firetray: XGetWindowProperty res=0, actual_type=4, actual_format=32, bytes_after=0, nitems=3
*** LOG firetray: prop_value=ctypes.unsigned_char.ptr(ctypes.UInt64("0x951e02b0")), size=4
*** LOG firetray: format OK
*** LOG firetray: props=ctypes.unsigned_long.array(3).ptr(ctypes.UInt64("0x951e02b0")), size=4
*** LOG firetray: propsFound, nitems=ctypes.unsigned_long.array(3).ptr(ctypes.UInt64("0x951e02b0")), ctypes.unsigned_long(ctypes.UInt64("3"))
*** LOG firetray: i: 307
*** LOG firetray: i: 306
*** LOG firetray: i: 318
As per subject, although I do realise it's a few days short of being released, I believe the issue ought to be known.
To reproduce problem :
Open Firefox (with firetray extension enabled)
Firefox menu > Open New Window (do it 3 times)
Now you have 4 windows
Close individually all of them
Right clic on Tray Icon. I shows 4 Firefox icons
Click icon to restore, opens the 4 windows
There is no way to close the extra 3 windows any more.
System information
Firetray 0.4.1
Firefox 11
Ubuntu 11.04
If you have the "close window hides to tray" option set. You can no longer close individual windows, actually terminate them.
Some applications open new windows from links, to show some detailed information, PDF view, etc.
Some times you open a new window by mistake or on purpose.
When you close this additional or "pop up" windows, all get hidden instead of being actually closed (or terminated).
So after clicking 20 links you have 20 hidden windows in the tray.
There needs to be a way to distinguish between closing the main window or the "children ones", or an option to that states :
"Only main window hides to tray". Being the main window the one that was open first of all, others, the one that opened at start up. I know that there is no actual main window in a Browser, but the concept of using the very first one opened at start up, as the main window, is something that intuitively we use. It would be like the concept of the tabs. You can close them individually, but when you arrive to the last one that one you can no longer close, that would be like your main tab.
A second similar logic is, if there is more than 1 existing window, it closes. If this is the last (or only window) then it hides to tray.
The option would be : "hide to tray only last window on close". Or "Close all windows on close, hide to tray when only 1".
I have never programmed an extension, browsed the code but could not find function that handles the close action.
If you could point me to the proper function, I think I could implement the second logic, is fairly straight forward. And have done it with other extensions, add a few lines.
Good luck.
See: #33
See: #33 (comment)
It would be nice if the shell script could somehow access things such as number of new messages and information about them. (To, From, subject)
neither through menu nor through firegestures.
using 0.4.0a5 and firefox 9.0.1 (ubuntu)
Hi,
I'm using firetray-0.4.0b1.xpi right now and I couldn't find any problems at the moment but I've got an idea to improve firetray.
It would be nice, if clicking on the tray icon would hide the window.
Kind regards,
David
I use Ubuntu 11.04 with Thunderbird 7.0 and FireTray 0.4.0a2
When Thunderbird is hidden in the systray and you want to find out, it gets half window instead of in the entire window.
Hi,
Icedove support is missing in version 0.4*. : "Firetray ERROR : unsupported application".
Can be solved by adding Icedove appName in FiretrayHandler.jsm :
diff --git a/src/modules/FiretrayHandler.jsm b/src/modules/FiretrayHandler.jsm
index 93f7741..1699a40 100644
--- a/src/modules/FiretrayHandler.jsm
+++ b/src/modules/FiretrayHandler.jsm
@@ -63,7 +63,7 @@ firetray.Handler = {
return false;
}
- if (this.appName === "Thunderbird" || this.appName === "SeaMonkey")
+ if (this.appName === "Thunderbird" || this.appName === "SeaMonkey" || this.appName === "Icedove")
this.inMailApp = true;
if (this.appName === "Firefox" || this.appName === "SeaMonkey")
this.inBrowserApp = true;
@@ -163,6 +163,7 @@ firetray.Handler = {
case "SeaMonkey":
return 'sessionstore-windows-restored';
case "Thunderbird":
+ case "Icedove":
return 'mail-startup-done';
default:
return 'final-ui-startup';
@@ -283,7 +284,7 @@ firetray.Handler = {
},
openTab: function(url) {
- if (this.appName === "Thunderbird")
+ if (this.appName === "Thunderbird" || this.appName === "Icedove")
this.openMailTab(url);
else if (this.appName === "Firefox" || this.appName === "SeaMonkey")
this.openBrowserTab(url);
Using 0.4.0b2, I find that the preference for "Handle mouse scroll on tray icon" doesn't actually disable the action when unchecked. It does disable the controls in the dialog for changing the scroll direction, but the scroll wheel still works on the icon.
This is with Thunderbird 9.0 on Fedora 16 (which hasn't rolled out 10.0 yet).
I have setup some saved search folders in thunderbird (e.g. all unread messages). Firetray displays an unread message count which is the addition of the actual unread message count and the unread message count in my saved search folders. The firetray tray count is therefore wrong.
Clicking on a link in a non-browser application (e.g. thunderbird) normally opens a new tab in firefox and brings it in front/focus on the same desktop. My suggestion is to stick to this behavior even if firefox is hidden.
Pretty much the SUBJ. When I mouse over the FireTray's TB icon I've got tray icon tooltip saying "thunderbird" popup way out of position: instead being near the icon/mouse position and slightly to the top popup shows up far to the left and a bit more-than-would-be-optimal to the top.
Hi,
I'm resently facing the issue that the window is displayed to small after restoring it from the tray.
I would estimate it is about 100x10 pixels. It is possible to resize the window, but it is very hard.
I'm using "firetray-0.4.0b2-new-messages.xpi" on Arch Linux.
Kind regards,
David
My system:
Debian Wheezy x86
Thunderbird 12.0.1
FireTray 0.4.2
First of all, thank you very much to foudfou and the other contributors for this rewrite of a great extension. You've done a great job so far!
I've been noticing a small bug with accounts that have this uncommon IMAP folder structure: Everything is a subfolder of Inbox, including Drafts, Sent, Junk, etc., see this screenshot:
--> http://i.imgur.com/9KuGb.png
(Don't ask me why one of my ISPs has this uncommon type of structure -- I'm not able to change it unfortunately. Maybe I should ask them if they could change it for me...)
For the sake of completeness, in my view a common structure (which doesn't cause the problem described in the following paragraph) should look like this :
--> http://i.imgur.com/zWOtW.png
Anyway, the problem is that -- although I have, e.g., unchecked Drafts in the included special folders list -- unread messages in this subfolder are still counted. There is one restriction though: The counter is not updated until a new message comes in or I mark a message as unread in any of the folders that are not in the excluded folders list. Same applies for the inverse direction, i.e., if I mark the message in the Drafts subfolder as read again, the counter won't be updated (decreased by one) until something has changed in the other folders that are not in the excluded folders list.
If I check Drafts in the included special folders list, the event for updating the message count fires immediately when messages inside Drafts are marked as unread. Hence, in this case, the Drafts folder is recognized as such although it's still a subfolder of Inbox.
I've already had a look at the source code but I'm still not sure what causes this bug.
Any clues?
I'm using several GMail accounts with Thunderbird and FireTray and FireTray counts every unread message twice because of their presence in "All Mail".
I do have "All Mail" selected as the archival location so, at least, I'd expect my intent to be made clear to FireTray by having "Archive" deselected in "Included special folders".
This happens with every version of FireTray I've ever used from 0.3.x (and possibly older) pre-ctypes versions right up through 0.4.1 from AMO and 2e65e07 in the themable-icons
branch.
From my perspective, there are two bugs here:
The latter may or may not be soluble. You'd have to see whether GMail's IMAP implementation exposes any kind of message ID that's unique across different folders.
at least here with 10.0.4 only the right button works now
Formerly, with the xpi versions, clicking the tray icon restored the Thunderbird window to the active desktop. This was really convenient, because after checking the mail and minimizing TB I was at the same place where I have left.
The current beta in contrast restores TB to the original desktop, so I always have to switch desktop in addition to activating TB. Or if activate window is checked, than I have to switch back to my desktop where I was working. This is quite annoying.
This behaviour itself is maybe not a bug, but an ergonomic problem (quite annoying and important I think), but I hope it will be changed in future versions.
Regarding this issue I have found another issue. I have tried to set TB window as show on all desktop, but in this case after the first activation you can no longer hide the window., only minimize works.
It would be great if firetray would support showing both unread and new messages in the tray.
Thunderbird 13.0 is crashing on startup if both FireTray 0.4.2 and Lightning 1.5.1 (with Google Calendar) are installed.
Thunderbird 12.0.1
Ubuntu Precise 64b
Gnome-shell 3.4.1
If I active the option "Start application hidden to tray", the application is opened but the icon isn't showed in system tray, then I can't open Thunderbird.
Hi,
Steps to reproduce the problem (on gnome desktop):
Observation:
Since thunderbird is already running, it tries to restore, rather than opening a new window. However, since the window is hidden using this addon, it is not visible.
Please make a provision to restore the window, if thunderbird command is issued while thunderbird is already running & minimized to notification area.
I routinely have accounts with thousands of unread messages. Thus, triggering icon changes and displaying tooltips based on unread message counts is useless to me.
Essentially I want to exactly replicate the behavior of the old and now-defunct MozTrayBiff extension.
I did some poking around, and I found that Thunderbird offers an internal "biff" mechanism. It appears that a similar method to what I am proposing existed in the XPCOM version of this extension, but I don't see any such references in the js-ctypes version even in the latest git master. I also discovered that Thunderbird exposes a function for grabbing the number of new messages in addition to the usual unread message count.
Here's a bit of duct-tape code that modifies FireTrayMessaging.jsm to do more or less what I want...
In the OnItemIntPropertyChanged() function, I added:
if (property.toString() === "BiffState") {
firetray.Messaging.updateBiff(oldValue, newValue);
}
I then created a new function to change the icon appropriately upon biff state changes:
updateBiff: function(oldValue, newValue) {
if ( ( (oldValue === 2) || (oldValue === 1) ) && (newValue === 0) ) {
firetray.Handler.setIconImage(firetray.Handler.FILENAME_NEWMAIL);
} else {
firetray.Handler.setIconImageDefault();
}
}
Finally, within the updateUnreadMsgCount() function, I altered the polling mechanism to calculate the number of new unread messages, not the total of all unread messages:
//this._unreadMsgCount += folder.getNumUnread(true); // includes subfolders
this._unreadMsgCount += folder.getNumNewMessages(true); // includes subfolders
I just upgraded Thunderbird to 13.0 and after the first time I click on the tray icon to open TB any clicks after that creates another TB window so I have 2 TB windows all the time. Follow ?
On my system, I've set up an icon theme which results in all of my tray icons looking like carved depressions in the panel which only show color when attention is desired. (eg. Dropbox only showing color when syncing, Pidgin only showing color when a message is waiting, etc.)
However, FireTray seems to have hard-coded the colorful thunderbird icon, so I can't readily replace it with the "no new mail" icon I want.
The proper way to handle tray icons on Linux is to let GtkStatusIcon
do the work. I'm not familiar with Firefox's GTK+ API wrapper and I don't know how to test any modification I'd make to your code, but I can give you an example of how to do it in PyGTK:
import gtk, gio
icon_theme = gtk.icon_theme_get_default()
icon_theme.append_search_path("/the/resolved/path/to/your/fallback/icons")
ICON_DEFAULT = gio.ThemedIcon(["indicator-messages", "applications-email-panel", "thunderbird"])
ICON_NEWMAIL = gio.ThemedIcon(["indicator-messages-new", "mail-message-new"])
statusicon = gtk.status_icon_new_from_gicon(ICON_DEFAULT)
if True: # Replace with the test for new messages
statusicon.set_from_gicon(ICON_NEWMAIL)
else:
statusicon.set_from_gicon(ICON_DEFAULT)
gtk.main() # Yes, this snippet will actually run
Here are some of the reasons you want to let GtkStatusIcon
do as much of the work as possible:
GtkThemedIcon
or set using an icon name, GtkStatusIcon
will handle loading new icon files as appropriate.GtkThemedIcon
or an icon name, GTK+ will figure out the file extension for you and will support every image format GdkPixbuf
was compiled with. (Which typically means, at least, SVG, PNG, GIF, and XPM)As for the fallback icons that you'd distribute in your XPI, you're technically supposed to reproduce the directory structure from /usr/share/icons
inside the folder you feed to icon_theme.append_search_path
but I couldn't get it to work with the standard "hicolor" fallback theme, so I'm relying on an old GTK+ compatibility feature where it will also check for matching icons directly inside the path you feed it.
the bookmark dialog doesn't work with firetray-4.0.aX enabled. tried with a4 and 5 versions.
Currently, if you click on the tray icon when thunderbird is non-active it hides that window. It would be nice to have a setting that would raise inactive windows instead of hiding them. (If they are active they get hidden as normal).
Thunderbird 14
FireTray 0.4.2
Ubuntu 12.04 running KDE
When e-mail is received and it is automatically moved into Junk folder by Thunderbird, counter in tray icon shows 1. Thunderbird shows that there is 1 unread e-mail in junk folder. When I click on that e-mail, Thuderbird unread message counter on Junk box disappears, but one in FireTray stays at 1.
I then sent another e-mail to myself. It appeared in my input box, but FireTray still shows counter as 1. After I read my test e-mail, counter disappeared.
So, looks like, counter is not updated when junk mail is received and read.
Rudolf
There is an hard-coded Shift-Meta-W
shortcut to hide all windows, but none to restore.
Hi,
I have Thunderbird set as the third item on my Unity launcher, and can hence use Super-3 to launch it. After minimising Thunderbird with FireTray, this shortcut no longer works. Neither do the other options mentioned in issue #25 work either.
Also, if I try to use the Super-3 shortcut with Thunderbird minimised, wait for it to fail, and then click the tray icon to really restore the window, I find the menus in the menubar have disappeared!
(FYI, the "MinimizeToTray revived" add-on still allows the Super-3 shortcut to work. Also, FWIW, I did not run into issue #22).
thunderbird 11.0.1
Firetray 0.4.1
Ubuntu 11.10 oneiric
LInux 3.0.0.17.20-generic
After click on firetray icon, thunderbird restores from minimized status, but not appears on top of all windows.
I would prefer, if after click on icon, thunderbird becomes active window on top of all applications.
I have 3 accounts, and even though I read all mails I have sometimes 1 unread message. I looked through all views of folders but it is all read. So I tried to exclude Local folders from accounts and it disappeared. Unfortunately it came back, so I re-included Local folders and the counter went back to 0.
I think there must be some weird counter somewhere and I "reset" it by enabling/disabling Local Folders (or perhaps any account).
Hi,
please bring it back the amount of unread messages in the tray icon, as now there's not an easy way of checking are there unread messages in a thunderbird inbox (at least on Debian Squeeze with TB 7.0 and firetray 0.4.0a2)
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The message count is displayed in the tray icon, but with a wrong size:
Switching newmail icon -> unread message count => icon (16x16) isn't up-scaled
Switching custom icon -> unread message count => icon too large (32x32) isn't down-scaled
What version of the extension (FireTray) are you using?
v0.4.0b2
What application (Firefox, Thunderbird, ...) and which version are you using?
Thunderbird 9.0 (amd64 build) from mozilla-team's Ubuntu PPA
Thunderbird 10.0 (x86) Ubuntu
On what distribution, version and architecture (x86 vs amd64)?
Ubuntu 11.04 (amd64) using kde 4.7.2
Ubuntu 11.10 x86 with KDE 4.7.
Please provide any additional information below.
It looks like a KDE bug. See for ex.:
https://bugs.kde.org/show_bug.cgi?id=273580
https://bugs.kde.org/show_bug.cgi?id=286608
https://bugs.kde.org/show_bug.cgi?id=284396
I've noticed also:
http://developer.pidgin.im/ticket/2466
http://developer.pidgin.im/ticket/12414 (most accurate)
This issue was first reported by fsoltrash
Hi...
If firetray for TB is just perfectly integrated and useful in KDE (through desktops and activities) it may be not the same with FireFox...
As long as there is only one window open for firefox, it behaves as expected :
a- minimize or close gets the FF icon in sytray
b- click the icon re-open the window on the current desktop (and THAT is great)
c- and right-click you can quit FF.
But if the main window of FF has opened a secondary window (any dialog-box or page...) then :
a- ...gets ONE icon in systray - should not be one by opened window ?
b- ...re-open all previously active windows - it seems natural
c- ...quit ALL the windows in once meaning that on next re-opening of FF one will have as many instances of FF as they were previously active windows before quitting - which can quick become pretty annoying.
In my mind and on y pc it's very clear - hope my words are too.
since version 0.4.2 it is only about 200x200 dots in its site. Previously it started with something like 800x600 at an almost stable Gentoo Linux.
After upgrading to 0.4.0b2, my custom tray icon isn't being used. It is still selected in preferences, but the default blue TB icon is in the tray.
I'm on the TB beta channel (currently 10.0), but the custom tray icon worked with the beta in the previous version of Firetray.
Hello,
On first opening of TB the menu items (file, edit, tools a.s.o.) appear in the top panel.
As soon as I "reduce" or "close" TB using FireTray, the next re-openings of TB won't show any menu items any longer.
(Sorry for my cold english)
Do U have the same behavior ?
(Dragao seems to suffer it also http://forum.ubuntu-fr.org/viewtopic.php?pid=9371481#p9371481)
Ubuntu 12.04 - TB 13.0.1 - Firetray 0.4.2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.