foudfou / FireTray

Mozilla icon tray. DISCONTINUED
https://foudfou.github.io/FireTray/
Other
102 stars 62 forks source link

Thunderbird doesn't start anymore after FireTray installation in Linux Mint 17.1/Cinnamon 2.4.5 #152

Open wunderlich opened 9 years ago

wunderlich commented 9 years ago

Hey,

I am a very satisfied user of FireTray since many years. But I recognized a bug using my current setup:

Linux Mint 17.1 Cinnamon 2.4.5 Thunderbird 31.3.0 FireTray 0.5.4

I can install FireTray, restart Thunderbird and configure FireTray without a problem and it works without a problem. But when I restart Thunderbird again, the main windows doesn't appear. I can see, that there is created a little empty blank space at my notification applet, but can't do anything. I can see the Thunderbird process via ps -e | grep thunderbird.

After removing FireTray's directory from my profile, Thunderbird works again.

Again: After the installation of FireTray, I can restart Thunderbird and FireTray works. But (even without any FireTray configuration), the Thunderbird window doesn't appear after a restart.

foudfou commented 9 years ago

Hi, could you try with a different profile (thunderbird -P) ? Any messages in the JS-console ?

wunderlich commented 9 years ago

I tried Thunderbird at another client and it works without a problem. So it really could depend on the profile.

I don't exactly know, what the JS-console is. Is it the following window?

tb

There are only CSS warning, excepted the one error at the screenshot.

Are there, besides FireTray's directory at extensions, any other places at the profile, which manipulaty FireTray?

foudfou commented 9 years ago

Yes, this is the JS-Console. You could also check ~/.thunderbird/BLABLA.default/prefs.js. FireTray's preferences are stored in there.

wunderlich commented 9 years ago

I removed all entries containing firetray from my prefs.js an installed it again. After shutting TB down, the entries

user_pref("extensions.firetray.firstrun", false);
user_pref("extensions.firetray.installedVersion", "0.5.4")

are added (which seems normal). When I restart TB, configure FireTray and close TB, there are the following entries:

user_pref("extensions.firetray.chat_icon_enable", false);
user_pref("extensions.firetray.firstrun", false);
user_pref("extensions.firetray.installedVersion", "0.5.4");

When I start TB again, the problem still occurs and nothing happens.

joelabair commented 9 years ago

I'm having the same problem with tb 31.0 on fedora 20. Had to disable the firetray extension.

I noticed the following:

excerpts from the tty messages when starting from bash:

...
JavaScript strict warning: resource://firetray/ctypes/ctypes-utils.jsm, line 161: reference to undefined property this.ABI
JavaScript strict warning: resource://firetray/linux/FiretrayAppIndicator.jsm, line 73: assignment to undeclared variable item
...
JavaScript strict warning: resource://firetray/linux/FiretrayWindow.jsm, line 432: assignment to undeclared variable maximizedVert
foudfou commented 9 years ago

Hi, thank you for reporting. Could you try the following patch:

--- a/modules/ctypes/ctypes-utils.jsm     2015-01-22 23:06:00.276105723 +0100
+++ b/modules/ctypes/ctypes-utils.jsm     2015-01-22 23:05:38.069037213 +0100
@@ -115,6 +115,7 @@
     }

     var library;
+    this.ABI = -1;
     for each (let abi in aABIs) {
       // FIXME: ABI is in fact SO_VER. Now we're mixing .so versions and the
       // .dll extension :(

in ~/.thunderbird/YOUR_PROFILE/extensions/\{9533f794-00b4-4354-aa15-c2bbda6989f8\}/modules/ctypes/ctypes-utils.jsm ?

wunderlich commented 9 years ago

I don't exactly know how to deal with patches, but I added this.ABI = -1; to ~/.thunderbird/YOUR_PROFILE/extensions/\{9533f794-00b4-4354-aa15-c2bbda6989f8\}/modules/ctypes/ctypes-utils.jsm at line 118 and it doesn't help. TB still doesn't start anymore.

joelabair commented 9 years ago

@foudfou I can confirm the same as @wunderlich.

I've disabled all extensions aside from firetray, still no TB window.

stdout + stderr on startup:


(process:31056): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(thunderbird:31056): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(thunderbird:31056): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(thunderbird:31056): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(thunderbird:31056): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised

(thunderbird:31056): GLib-GObject-WARNING **: cannot register existing type 'GdkWindow'

(thunderbird:31056): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(thunderbird:31056): Gdk-CRITICAL **: gdk_window_get_display: assertion 'GDK_IS_WINDOW (window)' failed

process info:

31055  2107  0 11:09 ?        00:00:00 /bin/sh -c thunderbird  &> ~/tb.log
31056 31055  0 11:09 ?        00:00:04 /usr/lib64/thunderbird/thunderbird
31069 31056  0 11:09 ?        00:00:00 [thunderbird] <defunct>
foudfou commented 9 years ago

@joelabair, @wunderlich, ok so what I'll need is FireTray bebugging logs (see the end). Basically, you need to build FireTray with debug enabled, and enable debug logging. You can post them here or email them to me.

joelabair commented 9 years ago

debug output:


(process:15923): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(thunderbird:15923): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(thunderbird:15923): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(thunderbird:15923): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(thunderbird:15923): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
17:2:14.196 DEBUG firetray.Logging initialized
17:2:14.202 DEBUG firetray.Handler _directory=~/.thunderbird/********.default/extensions/{9533f794-00b4-4354-aa15-c2bbda6989f8}
17:2:17.343 DEBUG firetray.Chrome Handler initialized: false
17:2:17.343 INFO firetray.Handler OS=linux, ABI=x86_64-gcc3, XULrunner=31.3.0
17:2:17.346 INFO firetray.ctypes-utils is64bit=true
17:2:17.347 DEBUG firetray.ctypes-utils Trying to load library: cairo
17:2:17.347 DEBUG firetray.ctypes-utils Trying libcairo.so.2
17:2:17.347 DEBUG firetray.ctypes-utils Successfully loaded libcairo.so.2
17:2:17.348 DEBUG firetray.ctypes-utils Trying to load library: glib-2.0
17:2:17.348 DEBUG firetray.ctypes-utils Trying libglib-2.0.so.0
17:2:17.348 DEBUG firetray.ctypes-utils Successfully loaded libglib-2.0.so.0
17:2:17.350 DEBUG firetray.ctypes-utils Trying to load library: gobject-2.0
17:2:17.350 DEBUG firetray.ctypes-utils Trying libgobject-2.0.so.0
17:2:17.350 DEBUG firetray.ctypes-utils Successfully loaded libgobject-2.0.so.0
17:2:17.352 DEBUG firetray.ctypes-utils Trying to load library: X11
17:2:17.352 DEBUG firetray.ctypes-utils Trying libX11.so.6
17:2:17.352 DEBUG firetray.ctypes-utils Successfully loaded libX11.so.6
17:2:17.353 DEBUG firetray.ctypes-utils Trying to load library: gdk-x11-2.0
17:2:17.353 DEBUG firetray.ctypes-utils Trying libgdk-x11-2.0.so.0
17:2:17.353 DEBUG firetray.ctypes-utils Successfully loaded libgdk-x11-2.0.so.0
17:2:17.356 DEBUG firetray.ctypes-utils Trying to load library: gio-2.0
17:2:17.356 DEBUG firetray.ctypes-utils Trying libgio-2.0.so.0
17:2:17.356 DEBUG firetray.ctypes-utils Successfully loaded libgio-2.0.so.0
17:2:17.357 DEBUG firetray.Handler FiretrayStatusIcon linux imported
17:2:17.362 DEBUG firetray.ctypes-utils Trying to load library: pango-1.0
17:2:17.362 DEBUG firetray.ctypes-utils Trying libpango-1.0.so.0
17:2:17.362 DEBUG firetray.ctypes-utils Successfully loaded libpango-1.0.so.0
17:2:17.362 DEBUG firetray.ctypes-utils Trying to load library: gtk-x11-2.0
17:2:17.362 DEBUG firetray.ctypes-utils Trying libgtk-x11-2.0.so.0
17:2:17.363 DEBUG firetray.ctypes-utils Successfully loaded libgtk-x11-2.0.so.0
17:2:17.364 DEBUG firetray.ctypes-utils Trying to load library: c
17:2:17.365 DEBUG firetray.ctypes-utils Trying libc.so.6
17:2:17.365 DEBUG firetray.ctypes-utils Successfully loaded libc.so.6
17:2:17.367 DEBUG firetray.Window x11.current.Atoms.WM_DELETE_WINDOW=295
17:2:17.367 DEBUG firetray.Window x11.current.Atoms.WM_STATE=301
17:2:17.367 DEBUG firetray.Window x11.current.Atoms.WM_CHANGE_STATE=302
17:2:17.367 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_MODAL=341
17:2:17.367 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_STICKY=461
17:2:17.368 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_MAXIMIZED_VERT=340
17:2:17.368 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_MAXIMIZED_HORZ=339
17:2:17.368 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_SHADED=462
17:2:17.368 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_SKIP_TASKBAR=463
17:2:17.368 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_SKIP_PAGER=464
17:2:17.369 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_HIDDEN=465
17:2:17.369 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_FULLSCREEN=338
17:2:17.369 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_ABOVE=336
17:2:17.369 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_BELOW=337
17:2:17.369 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_DEMANDS_ATTENTION=343
17:2:17.369 DEBUG firetray.Window x11.current.Atoms._NET_CLOSE_WINDOW=446
17:2:17.370 DEBUG firetray.Window x11.current.Atoms._NET_WM_NAME=330
17:2:17.371 DEBUG firetray.Window x11.current.Atoms._NET_WM_VISIBLE_NAME=448
17:2:17.371 DEBUG firetray.Window x11.current.Atoms._NET_WM_ICON_NAME=331
17:2:17.371 DEBUG firetray.Window x11.current.Atoms._NET_WM_VISIBLE_ICON_NAME=449
17:2:17.371 DEBUG firetray.Window x11.current.Atoms._NET_WM_DESKTOP=450
17:2:17.371 DEBUG firetray.Window x11.current.Atoms._NET_WM_WINDOW_TYPE=347
17:2:17.371 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE=335
17:2:17.371 DEBUG firetray.Window x11.current.Atoms._NET_WM_ALLOWED_ACTIONS=456
17:2:17.372 DEBUG firetray.Window x11.current.Atoms._NET_WM_STRUT=451
17:2:17.372 DEBUG firetray.Window x11.current.Atoms._NET_WM_STRUT_PARTIAL=452
17:2:17.372 DEBUG firetray.Window x11.current.Atoms._NET_WM_ICON_GEOMETRY=453
17:2:17.372 DEBUG firetray.Window x11.current.Atoms._NET_WM_ICON=332
17:2:17.372 DEBUG firetray.Window x11.current.Atoms._NET_WM_PID=333
17:2:17.372 DEBUG firetray.Window x11.current.Atoms._NET_WM_HANDLED_ICONS=454
17:2:17.373 DEBUG firetray.Window x11.current.Atoms._NET_WM_USER_TIME=344
17:2:17.373 DEBUG firetray.Window x11.current.Atoms._NET_FRAME_EXTENTS=458
17:2:17.373 DEBUG firetray.Window x11.current.Atoms._NET_ACTIVE_WINDOW=369
17:2:17.373 DEBUG firetray.Window x11.current.Atoms.CARDINAL=6
17:2:17.373 DEBUG firetray.Handler FiretrayWindow linux imported
17:2:17.374 INFO firetray.Handler inMailApp=true, inBrowserApp=false, appHasChat=true
17:2:17.376 DEBUG firetray.ctypes-utils Trying to load library: appindicator3
17:2:17.376 DEBUG firetray.ctypes-utils Trying libappindicator3.so.1
17:2:17.380 DEBUG firetray.ctypes-utils Successfully loaded libappindicator3.so.1
17:2:17.382 INFO firetray.StatusIcon canAppIndicator=true
17:2:17.386 DEBUG firetray.PopupMenu cbName=menuItemResetIconActivate
17:2:17.386 DEBUG firetray.PopupMenu cbName=menuItemNewMessageActivate
17:2:17.386 DEBUG firetray.PopupMenu cbName=menuItemPreferencesActivate
17:2:17.387 DEBUG firetray.PopupMenu cbName=menuItemQuitActivate
17:2:17.387 DEBUG firetray.PopupMenu cbName=menuItemActivateLastActivate
17:2:17.387 DEBUG firetray.PopupMenu cbName=menuItemShowHideActivate
17:2:17.390 DEBUG firetray.AppIndicator indicator=AppIndicator.ptr(ctypes.UInt64("0x7f0f7fff2cf0"))
17:2:17.391 DEBUG firetray.AppIndicator setIconTooltip
17:2:17.391 DEBUG firetray.PopupMenu about to set title: Thunderbird
17:2:17.391 DEBUG firetray.Handler StatusIcon initialized
17:2:17.393 DEBUG firetray.Messaging Enabling Messaging
17:2:17.393 DEBUG firetray.Messaging updateMsgCountWithCb
17:2:17.393 DEBUG firetray.Messaging msgCountType=0
17:2:17.394 DEBUG firetray.Messaging 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},"exquilla":{"order":6,"excluded":true}},"excludedAccounts":[]}                                                                                                                                                                   
17:2:17.394 DEBUG firetray.Messaging sortByTypeAndName=false
17:2:17.394 DEBUG firetray.Messaging ACCOUNT: ***@gmail.com type: imap
17:2:17.394 DEBUG firetray.Messaging is servertype excluded: false, account exclusion index: -1
17:2:17.394 DEBUG firetray.Messaging folder: Drafts folderUnreadMsgCount=0
17:2:17.394 DEBUG firetray.Messaging newMsgCount=0
17:2:17.394 DEBUG firetray.Messaging folder: www-hosting folderUnreadMsgCount=0
17:2:17.394 DEBUG firetray.Messaging newMsgCount=0
17:2:17.394 DEBUG firetray.Messaging folder: Inbox folderUnreadMsgCount=0
17:2:17.394 DEBUG firetray.Messaging newMsgCount=0
17:2:17.394 DEBUG firetray.Messaging folder: Notes folderUnreadMsgCount=0
17:2:17.394 DEBUG firetray.Messaging newMsgCount=0
17:2:17.395 DEBUG firetray.Messaging folder: Sporting-Goods folderUnreadMsgCount=0
17:2:17.395 DEBUG firetray.Messaging newMsgCount=0
17:2:17.395 DEBUG firetray.Messaging folder: Personal folderUnreadMsgCount=0
17:2:17.395 DEBUG firetray.Messaging newMsgCount=0
17:2:17.395 DEBUG firetray.Messaging folder: [Gmail] folderUnreadMsgCount=0
17:2:17.395 DEBUG firetray.Messaging newMsgCount=0
17:2:17.395 DEBUG firetray.Messaging ACCOUNT: ***@***.com type: imap
17:2:17.395 DEBUG firetray.Messaging is servertype excluded: false, account exclusion index: -1
17:2:17.395 DEBUG firetray.Messaging folder: Inbox folderUnreadMsgCount=0
17:2:17.395 DEBUG firetray.Messaging newMsgCount=0
17:2:17.395 DEBUG firetray.Messaging ACCOUNT: ***@***.com type: imap
17:2:17.395 DEBUG firetray.Messaging is servertype excluded: false, account exclusion index: -1
17:2:17.396 DEBUG firetray.Messaging folder: Inbox folderUnreadMsgCount=0
17:2:17.396 DEBUG firetray.Messaging newMsgCount=0
17:2:17.396 DEBUG firetray.Messaging ACCOUNT: ***@***.net type: imap
17:2:17.396 DEBUG firetray.Messaging is servertype excluded: false, account exclusion index: -1
17:2:17.396 DEBUG firetray.Messaging folder: Inbox folderUnreadMsgCount=0
17:2:17.396 DEBUG firetray.Messaging newMsgCount=0
17:2:17.396 DEBUG firetray.Messaging ACCOUNT: ***@***.biz type: imap
17:2:17.396 DEBUG firetray.Messaging is servertype excluded: false, account exclusion index: -1
17:2:17.396 DEBUG firetray.Messaging folder: Inbox folderUnreadMsgCount=0
17:2:17.396 DEBUG firetray.Messaging newMsgCount=0
17:2:17.397 DEBUG firetray.Messaging folder: Event Quotes folderUnreadMsgCount=0
17:2:17.397 DEBUG firetray.Messaging newMsgCount=0
17:2:17.397 DEBUG firetray.Messaging folder: mandriva-linux folderUnreadMsgCount=0
17:2:17.397 DEBUG firetray.Messaging newMsgCount=0
17:2:17.397 DEBUG firetray.Messaging folder: Periodicals folderUnreadMsgCount=0
17:2:17.397 DEBUG firetray.Messaging newMsgCount=0
17:2:17.397 DEBUG firetray.Messaging folder: Notes folderUnreadMsgCount=0
17:2:17.397 DEBUG firetray.Messaging newMsgCount=0
17:2:17.397 DEBUG firetray.Messaging folder: Customer Inquiries folderUnreadMsgCount=0
17:2:17.397 DEBUG firetray.Messaging newMsgCount=0
17:2:17.397 DEBUG firetray.Messaging folder: CAMF Work folderUnreadMsgCount=0
17:2:17.397 DEBUG firetray.Messaging newMsgCount=0
17:2:17.397 DEBUG firetray.Messaging folder: BizMisc folderUnreadMsgCount=0
17:2:17.397 DEBUG firetray.Messaging newMsgCount=0
17:2:17.398 DEBUG firetray.Messaging folder: Employment Inquiries folderUnreadMsgCount=0
17:2:17.398 DEBUG firetray.Messaging newMsgCount=0
17:2:17.398 DEBUG firetray.Messaging newMsgCount=0
17:2:17.398 DEBUG firetray.Messaging folder: Personal Misc folderUnreadMsgCount=0
17:2:17.398 DEBUG firetray.Messaging newMsgCount=0
17:2:17.398 DEBUG firetray.Messaging folder: Contract Work folderUnreadMsgCount=0
17:2:17.398 DEBUG firetray.Messaging newMsgCount=0
17:2:17.398 DEBUG firetray.Messaging folder: Employment folderUnreadMsgCount=0
17:2:17.398 DEBUG firetray.Messaging newMsgCount=0
17:2:17.398 DEBUG firetray.Messaging folder: RingCentral folderUnreadMsgCount=0
17:2:17.398 DEBUG firetray.Messaging newMsgCount=0
17:2:17.398 DEBUG firetray.Messaging folder: [Gmail] folderUnreadMsgCount=0
17:2:17.398 DEBUG firetray.Messaging newMsgCount=0
17:2:17.399 DEBUG firetray.Messaging ACCOUNT: Local Folders type: none
17:2:17.399 DEBUG firetray.Messaging is servertype excluded: false, account exclusion index: -1
17:2:17.399 DEBUG firetray.Messaging newMsgCount=0
17:2:17.399 DEBUG firetray.Messaging newMsgCount=0
17:2:17.399 DEBUG firetray.Messaging newMsgCount=0
17:2:17.399 DEBUG firetray.Messaging Total UnreadMessages=0
17:2:17.399 DEBUG firetray.Messaging updateIcon
17:2:17.399 DEBUG firetray.Messaging 0 unread messages
17:2:17.399 DEBUG firetray.AppIndicator setIconImageDefault
17:2:17.400 DEBUG firetray.AppIndicator setIconTooltip
17:2:17.400 DEBUG firetray.PopupMenu about to set title: Thunderbird
17:2:17.400 INFO firetray.Handler isChatProvided=true
17:2:17.403 DEBUG firetray.commons registred account-added for [object Object]
17:2:17.403 DEBUG firetray.commons registred account-removed for [object Object]
17:2:17.403 DEBUG firetray.commons registred xpcom-will-shutdown for [object Object]
17:2:17.403 DEBUG firetray.commons registred profile-change-teardown for [object Object]
17:2:17.403 INFO firetray.Handler restoredWindowsCount=1
17:2:17.403 DEBUG firetray.commons registred mail-startup-done for [object Object]
17:2:17.404 DEBUG firetray.Handler show_tray_icon saved. was: false
17:2:17.404 DEBUG firetray.VersionChange VersionChange got: id={9533f794-00b4-4354-aa15-c2bbda6989f8} ver=0.5.4 prefBranch=extensions.firetray.
17:2:17.404 DEBUG firetray.VersionChange VERSION: 0.5.4
17:2:17.404 DEBUG firetray.VersionChange version change watching enabled
17:2:17.404 DEBUG firetray.Chrome ONLOAD
17:2:17.404 DEBUG firetray.Window register window
17:2:17.404 DEBUG firetray.Window nativeHandle=0x7f0f8f4fe5a0
17:2:17.404 DEBUG firetray.Window gdkw=GdkWindow.ptr(ctypes.UInt64("0x7f0f8f4fe5a0")) *gdkw=0x7f0f84902380
17:2:17.405 DEBUG firetray.Window gptr=ctypes.voidptr_t(ctypes.UInt64("0x7f0f7ffcb650")) *gptr=0x7f0f7ffa3000
17:2:17.405 DEBUG firetray.Window gtkw=GtkWindow.ptr(ctypes.UInt64("0x7f0f7ffcb650")) *gtkw=0x7f0f7ffa3000
17:2:17.405 DEBUG firetray.Window XID=121635008
17:2:17.405 DEBUG firetray.Window xWindowAttributes: XWindowAttributes(0, 0, 200, 200, 0, 24, Visual.ptr(ctypes.UInt64("0x7f0f8f4e6000")), ctypes.UInt64("712"), 1, 1, 1, 0, ctypes.UInt64("4294967295"), ctypes.UInt64("0"), 0, ctypes.UInt64("32"), 1, 0, ctypes.Int64("7045247"), ctypes.Int64("6520959"), ctypes.Int64("0"), 0, Screen.ptr(ctypes.UInt64("0x7f0f8f41fd80")))
17:2:17.405 DEBUG firetray.Window xEventMask=6520959 xEventMaskNeeded=6488064
17:2:17.405 DEBUG firetray.PopupMenu addWindowItem
17:2:17.405 DEBUG firetray.PopupMenu about to set title: 121635008
17:2:17.406 DEBUG firetray.PopupMenu added gtkPopupMenuWindowItems: 1
17:2:17.406 DEBUG firetray.Window window 121635008 registered
17:2:17.406 DEBUG firetray.Window attachOnFocusInCallback xid=121635008
17:2:17.406 DEBUG firetray.Window focus-in handler=668
17:2:17.406 DEBUG firetray.Window AFTER
17:2:17.406 DEBUG firetray.Window 1
17:2:17.406 INFO firetray.Window 121635008=GtkWindow.ptr(ctypes.UInt64("0x7f0f7ffcb650"))
17:2:17.406 DEBUG firetray.Chrome Element 'titlebar-min' not found. Command not replaced.
17:2:17.406 DEBUG firetray.Chrome Element 'titlebar-close' not found. Command not replaced.
17:2:17.406 DEBUG firetray.Chrome Firetray LOADED: true

(thunderbird:15923): GLib-GObject-WARNING **: cannot register existing type 'GdkWindow'

(thunderbird:15923): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(thunderbird:15923): Gdk-CRITICAL **: gdk_window_get_display: assertion 'GDK_IS_WINDOW (window)' failed
foudfou commented 9 years ago

@joelabair one interesting thing is that libappindicator is used. What desktop environment are you using ? Can you try to unset the with_appindicator preference ? Is this all the log you get ? If so, for some reason, TB doesn't reach starup state (mail-startup-done event). You should get:

22:2:47.14 DEBUG firetray.Handler mail-startup-done: [object ChromeWindow],null
...
22:2:47.865 INFO firetray.Handler *** appStarted ***

by the end.

Try also with a different profile and with offline mode: thunderbird -offline -no-remote -P mozilla-dev &

joelabair commented 9 years ago

@foudfou yes this is all the log. I'm using KDE on Fedora 20.

libappindicator was not playing nice with chrome 34, many months back. So, following a workaround, I removed the libappindicator.x86_64 package. The only appindicator support I have is the following:

bash >rpm -qa | grep appindicator
libappindicator-gtk3-12.10.0-3.fc20.x86_64

Launching with kde desktop icon; "-offline -no-remote -P mozilla-dev" as requested. KDE Desktop Service file config:

bash >cat ~/Desktop/mozilla-thunderbird.desktop 
[Desktop Entry]
Categories=Network;Email;
Comment[en_US]=Send and Receive Email
Comment=Send and Receive Email
Exec=thunderbird -offline -no-remote -P mozilla-dev %u &> ~/debug.log
GenericName[en_US]=Email
GenericName=Email
Icon=thunderbird
MimeType=message/rfc822;
Name=Thunderbird
NoDisplay=false
Path=
StartupNotify=true
Terminal=false
TerminalOptions=
TryExec=thunderbird
Type=Application
Version=1.0
X-DBUS-ServiceName=
X-DBUS-StartupType=
X-Desktop-File-Install-Version=0.22
X-KDE-SubstituteUID=false
X-KDE-Username=

Log output:

bash >cat ~/debug.log    

(process:9358): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(thunderbird:9358): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(thunderbird:9358): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(thunderbird:9358): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(thunderbird:9358): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
12:16:2.730 DEBUG firetray.Logging initialized
12:16:2.736 DEBUG firetray.Handler _directory=~/.thunderbird/eb23kovn.mozilla-dev/extensions/{9533f794-00b4-4354-aa15-c2bbda6989f8}
12:16:3.705 DEBUG firetray.Chrome Handler initialized: false
12:16:3.706 INFO firetray.Handler OS=linux, ABI=x86_64-gcc3, XULrunner=31.3.0
12:16:3.709 INFO firetray.ctypes-utils is64bit=true
12:16:3.710 DEBUG firetray.ctypes-utils Trying to load library: cairo
12:16:3.710 DEBUG firetray.ctypes-utils Trying libcairo.so.2
12:16:3.711 DEBUG firetray.ctypes-utils Successfully loaded libcairo.so.2
12:16:3.711 DEBUG firetray.ctypes-utils Trying to load library: glib-2.0
12:16:3.712 DEBUG firetray.ctypes-utils Trying libglib-2.0.so.0
12:16:3.712 DEBUG firetray.ctypes-utils Successfully loaded libglib-2.0.so.0
12:16:3.713 DEBUG firetray.ctypes-utils Trying to load library: gobject-2.0
12:16:3.713 DEBUG firetray.ctypes-utils Trying libgobject-2.0.so.0
12:16:3.713 DEBUG firetray.ctypes-utils Successfully loaded libgobject-2.0.so.0
12:16:3.715 DEBUG firetray.ctypes-utils Trying to load library: X11
12:16:3.715 DEBUG firetray.ctypes-utils Trying libX11.so.6
12:16:3.715 DEBUG firetray.ctypes-utils Successfully loaded libX11.so.6
12:16:3.716 DEBUG firetray.ctypes-utils Trying to load library: gdk-x11-2.0
12:16:3.716 DEBUG firetray.ctypes-utils Trying libgdk-x11-2.0.so.0
12:16:3.716 DEBUG firetray.ctypes-utils Successfully loaded libgdk-x11-2.0.so.0
12:16:3.719 DEBUG firetray.ctypes-utils Trying to load library: gio-2.0
12:16:3.719 DEBUG firetray.ctypes-utils Trying libgio-2.0.so.0
12:16:3.719 DEBUG firetray.ctypes-utils Successfully loaded libgio-2.0.so.0
12:16:3.720 DEBUG firetray.Handler FiretrayStatusIcon linux imported
12:16:3.724 DEBUG firetray.ctypes-utils Trying to load library: pango-1.0
12:16:3.724 DEBUG firetray.ctypes-utils Trying libpango-1.0.so.0
12:16:3.724 DEBUG firetray.ctypes-utils Successfully loaded libpango-1.0.so.0
12:16:3.725 DEBUG firetray.ctypes-utils Trying to load library: gtk-x11-2.0
12:16:3.725 DEBUG firetray.ctypes-utils Trying libgtk-x11-2.0.so.0
12:16:3.725 DEBUG firetray.ctypes-utils Successfully loaded libgtk-x11-2.0.so.0
12:16:3.727 DEBUG firetray.ctypes-utils Trying to load library: c
12:16:3.727 DEBUG firetray.ctypes-utils Trying libc.so.6
12:16:3.727 DEBUG firetray.ctypes-utils Successfully loaded libc.so.6
12:16:3.729 DEBUG firetray.Window x11.current.Atoms.WM_DELETE_WINDOW=295
12:16:3.729 DEBUG firetray.Window x11.current.Atoms.WM_STATE=301
12:16:3.730 DEBUG firetray.Window x11.current.Atoms.WM_CHANGE_STATE=302
12:16:3.730 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_MODAL=341
12:16:3.730 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_STICKY=461
12:16:3.730 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_MAXIMIZED_VERT=340
12:16:3.730 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_MAXIMIZED_HORZ=339
12:16:3.730 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_SHADED=462
12:16:3.730 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_SKIP_TASKBAR=463
12:16:3.730 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_SKIP_PAGER=464
12:16:3.730 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_HIDDEN=465
12:16:3.730 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_FULLSCREEN=338
12:16:3.731 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_ABOVE=336
12:16:3.731 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_BELOW=337
12:16:3.731 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_DEMANDS_ATTENTION=343
12:16:3.731 DEBUG firetray.Window x11.current.Atoms._NET_CLOSE_WINDOW=446
12:16:3.731 DEBUG firetray.Window x11.current.Atoms._NET_WM_NAME=330
12:16:3.731 DEBUG firetray.Window x11.current.Atoms._NET_WM_VISIBLE_NAME=448
12:16:3.731 DEBUG firetray.Window x11.current.Atoms._NET_WM_ICON_NAME=331
12:16:3.731 DEBUG firetray.Window x11.current.Atoms._NET_WM_VISIBLE_ICON_NAME=449
12:16:3.731 DEBUG firetray.Window x11.current.Atoms._NET_WM_DESKTOP=450
12:16:3.731 DEBUG firetray.Window x11.current.Atoms._NET_WM_WINDOW_TYPE=347
12:16:3.731 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE=335
12:16:3.732 DEBUG firetray.Window x11.current.Atoms._NET_WM_ALLOWED_ACTIONS=456
12:16:3.732 DEBUG firetray.Window x11.current.Atoms._NET_WM_STRUT=451
12:16:3.732 DEBUG firetray.Window x11.current.Atoms._NET_WM_STRUT_PARTIAL=452
12:16:3.732 DEBUG firetray.Window x11.current.Atoms._NET_WM_ICON_GEOMETRY=453
12:16:3.732 DEBUG firetray.Window x11.current.Atoms._NET_WM_ICON=332
12:16:3.732 DEBUG firetray.Window x11.current.Atoms._NET_WM_PID=333
12:16:3.732 DEBUG firetray.Window x11.current.Atoms._NET_WM_HANDLED_ICONS=454
12:16:3.732 DEBUG firetray.Window x11.current.Atoms._NET_WM_USER_TIME=344
12:16:3.732 DEBUG firetray.Window x11.current.Atoms._NET_FRAME_EXTENTS=458
12:16:3.732 DEBUG firetray.Window x11.current.Atoms._NET_ACTIVE_WINDOW=369
12:16:3.732 DEBUG firetray.Window x11.current.Atoms.CARDINAL=6
12:16:3.732 DEBUG firetray.Handler FiretrayWindow linux imported
12:16:3.733 INFO firetray.Handler inMailApp=true, inBrowserApp=false, appHasChat=true
12:16:3.736 DEBUG firetray.ctypes-utils Trying to load library: appindicator3
12:16:3.737 DEBUG firetray.ctypes-utils Trying libappindicator3.so.1
12:16:3.739 DEBUG firetray.ctypes-utils Successfully loaded libappindicator3.so.1
12:16:3.741 INFO firetray.StatusIcon canAppIndicator=true
12:16:3.744 DEBUG firetray.PopupMenu cbName=menuItemResetIconActivate
12:16:3.745 DEBUG firetray.PopupMenu cbName=menuItemNewMessageActivate
12:16:3.745 DEBUG firetray.PopupMenu cbName=menuItemPreferencesActivate
12:16:3.745 DEBUG firetray.PopupMenu cbName=menuItemQuitActivate
12:16:3.746 DEBUG firetray.PopupMenu cbName=menuItemActivateLastActivate
12:16:3.746 DEBUG firetray.PopupMenu cbName=menuItemShowHideActivate
12:16:3.748 DEBUG firetray.AppIndicator indicator=AppIndicator.ptr(ctypes.UInt64("0x7f11887f2cf0"))
12:16:3.749 DEBUG firetray.AppIndicator setIconTooltip
12:16:3.749 DEBUG firetray.PopupMenu about to set title: Thunderbird
12:16:3.749 DEBUG firetray.Handler StatusIcon initialized
12:16:3.751 DEBUG firetray.Messaging Enabling Messaging
12:16:3.751 DEBUG firetray.Messaging updateMsgCountWithCb
12:16:3.751 DEBUG firetray.Messaging msgCountType=0
12:16:3.751 DEBUG firetray.Messaging 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},"exquilla":{"order":6,"excluded":true}},"excludedAccounts":[]}
12:16:3.752 DEBUG firetray.Messaging sortByTypeAndName=false
12:16:3.752 DEBUG firetray.Messaging Total UnreadMessages=0
12:16:3.752 DEBUG firetray.Messaging updateIcon
12:16:3.752 DEBUG firetray.Messaging 0 unread messages
12:16:3.752 DEBUG firetray.AppIndicator setIconImageDefault
12:16:3.752 DEBUG firetray.AppIndicator setIconTooltip
12:16:3.752 DEBUG firetray.PopupMenu about to set title: Thunderbird
12:16:3.753 INFO firetray.Handler isChatProvided=true
12:16:3.753 DEBUG firetray.commons registred account-added for [object Object]
12:16:3.753 DEBUG firetray.commons registred account-removed for [object Object]
12:16:3.753 DEBUG firetray.Messaging sortByTypeAndName=false
12:16:3.753 DEBUG firetray.commons registred xpcom-will-shutdown for [object Object]
12:16:3.753 DEBUG firetray.commons registred profile-change-teardown for [object Object]
12:16:3.753 INFO firetray.Handler restoredWindowsCount=1
12:16:3.754 DEBUG firetray.commons registred mail-startup-done for [object Object]
12:16:3.754 DEBUG firetray.Handler show_tray_icon saved. was: true
12:16:3.754 DEBUG firetray.VersionChange VersionChange got: id={9533f794-00b4-4354-aa15-c2bbda6989f8} ver=0.5.4 prefBranch=extensions.firetray.
12:16:3.754 DEBUG firetray.VersionChange VERSION: 0.5.4
12:16:3.754 DEBUG firetray.VersionChange version change watching enabled
12:16:3.754 DEBUG firetray.Chrome ONLOAD
12:16:3.754 DEBUG firetray.Window register window
12:16:3.754 DEBUG firetray.Window nativeHandle=0x7f1197ceb5a0
12:16:3.755 DEBUG firetray.Window gdkw=GdkWindow.ptr(ctypes.UInt64("0x7f1197ceb5a0")) *gdkw=0x7f118d102380
12:16:3.755 DEBUG firetray.Window gptr=ctypes.voidptr_t(ctypes.UInt64("0x7f11887cb650")) *gptr=0x7f11887a3000
12:16:3.755 DEBUG firetray.Window gtkw=GtkWindow.ptr(ctypes.UInt64("0x7f11887cb650")) *gtkw=0x7f11887a3000
12:16:3.755 DEBUG firetray.Window XID=121635008
12:16:3.755 DEBUG firetray.Window xWindowAttributes: XWindowAttributes(0, 0, 200, 200, 0, 24, Visual.ptr(ctypes.UInt64("0x7f1197ce6000")), ctypes.UInt64("712"), 1, 1, 1, 0, ctypes.UInt64("4294967295"), ctypes.UInt64("0"), 0, ctypes.UInt64("32"), 1, 0, ctypes.Int64("7045247"), ctypes.Int64("6520959"), ctypes.Int64("0"), 0, Screen.ptr(ctypes.UInt64("0x7f1197c1fd80")))
12:16:3.755 DEBUG firetray.Window xEventMask=6520959 xEventMaskNeeded=6488064
12:16:3.755 DEBUG firetray.PopupMenu addWindowItem
12:16:3.756 DEBUG firetray.PopupMenu about to set title: 121635008
12:16:3.756 DEBUG firetray.PopupMenu added gtkPopupMenuWindowItems: 1
12:16:3.756 DEBUG firetray.Window window 121635008 registered
12:16:3.756 DEBUG firetray.Window attachOnFocusInCallback xid=121635008
12:16:3.756 DEBUG firetray.Window focus-in handler=667
12:16:3.756 DEBUG firetray.Window AFTER
12:16:3.756 DEBUG firetray.Window 1
12:16:3.756 INFO firetray.Window 121635008=GtkWindow.ptr(ctypes.UInt64("0x7f11887cb650"))
12:16:3.756 DEBUG firetray.Chrome Element 'titlebar-min' not found. Command not replaced.
12:16:3.756 DEBUG firetray.Chrome Element 'titlebar-close' not found. Command not replaced.
12:16:3.757 DEBUG firetray.Chrome Firetray LOADED: true

(thunderbird:9358): GLib-GObject-WARNING **: cannot register existing type 'GdkWindow'

(thunderbird:9358): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(thunderbird:9358): Gdk-CRITICAL **: gdk_window_get_display: assertion 'GDK_IS_WINDOW (window)' failed

Launching from xterm (Konsole / bash) succeeds

bash >thunderbird -offline -no-remote -P mozilla-dev

(process:9921): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(thunderbird:9921): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(thunderbird:9921): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(thunderbird:9921): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(thunderbird:9921): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
12:26:30.541 DEBUG firetray.Logging initialized
12:26:30.544 DEBUG firetray.Handler _directory=~/.thunderbird/eb23kovn.mozilla-dev/extensions/{9533f794-00b4-4354-aa15-c2bbda6989f8}
12:26:31.589 DEBUG firetray.Chrome Handler initialized: false
12:26:31.589 INFO firetray.Handler OS=linux, ABI=x86_64-gcc3, XULrunner=31.3.0
12:26:31.592 INFO firetray.ctypes-utils is64bit=true
12:26:31.593 DEBUG firetray.ctypes-utils Trying to load library: cairo
12:26:31.593 DEBUG firetray.ctypes-utils Trying libcairo.so.2
12:26:31.594 DEBUG firetray.ctypes-utils Successfully loaded libcairo.so.2
12:26:31.594 DEBUG firetray.ctypes-utils Trying to load library: glib-2.0
12:26:31.594 DEBUG firetray.ctypes-utils Trying libglib-2.0.so.0
12:26:31.595 DEBUG firetray.ctypes-utils Successfully loaded libglib-2.0.so.0
12:26:31.596 DEBUG firetray.ctypes-utils Trying to load library: gobject-2.0
12:26:31.596 DEBUG firetray.ctypes-utils Trying libgobject-2.0.so.0
12:26:31.596 DEBUG firetray.ctypes-utils Successfully loaded libgobject-2.0.so.0
12:26:31.598 DEBUG firetray.ctypes-utils Trying to load library: X11
12:26:31.598 DEBUG firetray.ctypes-utils Trying libX11.so.6
12:26:31.598 DEBUG firetray.ctypes-utils Successfully loaded libX11.so.6
12:26:31.599 DEBUG firetray.ctypes-utils Trying to load library: gdk-x11-2.0
12:26:31.599 DEBUG firetray.ctypes-utils Trying libgdk-x11-2.0.so.0
12:26:31.599 DEBUG firetray.ctypes-utils Successfully loaded libgdk-x11-2.0.so.0
12:26:31.602 DEBUG firetray.ctypes-utils Trying to load library: gio-2.0
12:26:31.602 DEBUG firetray.ctypes-utils Trying libgio-2.0.so.0
12:26:31.602 DEBUG firetray.ctypes-utils Successfully loaded libgio-2.0.so.0
12:26:31.602 DEBUG firetray.Handler FiretrayStatusIcon linux imported
12:26:31.607 DEBUG firetray.ctypes-utils Trying to load library: pango-1.0
12:26:31.607 DEBUG firetray.ctypes-utils Trying libpango-1.0.so.0
12:26:31.607 DEBUG firetray.ctypes-utils Successfully loaded libpango-1.0.so.0
12:26:31.607 DEBUG firetray.ctypes-utils Trying to load library: gtk-x11-2.0
12:26:31.607 DEBUG firetray.ctypes-utils Trying libgtk-x11-2.0.so.0
12:26:31.608 DEBUG firetray.ctypes-utils Successfully loaded libgtk-x11-2.0.so.0
12:26:31.609 DEBUG firetray.ctypes-utils Trying to load library: c
12:26:31.610 DEBUG firetray.ctypes-utils Trying libc.so.6
12:26:31.610 DEBUG firetray.ctypes-utils Successfully loaded libc.so.6
12:26:31.611 DEBUG firetray.Window x11.current.Atoms.WM_DELETE_WINDOW=295
12:26:31.612 DEBUG firetray.Window x11.current.Atoms.WM_STATE=301
12:26:31.612 DEBUG firetray.Window x11.current.Atoms.WM_CHANGE_STATE=302
12:26:31.612 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_MODAL=341
12:26:31.612 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_STICKY=461
12:26:31.612 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_MAXIMIZED_VERT=340
12:26:31.612 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_MAXIMIZED_HORZ=339
12:26:31.612 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_SHADED=462
12:26:31.612 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_SKIP_TASKBAR=463
12:26:31.612 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_SKIP_PAGER=464
12:26:31.613 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_HIDDEN=465
12:26:31.613 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_FULLSCREEN=338
12:26:31.613 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_ABOVE=336
12:26:31.613 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_BELOW=337
12:26:31.613 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE_DEMANDS_ATTENTION=343
12:26:31.613 DEBUG firetray.Window x11.current.Atoms._NET_CLOSE_WINDOW=446
12:26:31.613 DEBUG firetray.Window x11.current.Atoms._NET_WM_NAME=330
12:26:31.614 DEBUG firetray.Window x11.current.Atoms._NET_WM_VISIBLE_NAME=448
12:26:31.614 DEBUG firetray.Window x11.current.Atoms._NET_WM_ICON_NAME=331
12:26:31.614 DEBUG firetray.Window x11.current.Atoms._NET_WM_VISIBLE_ICON_NAME=449
12:26:31.614 DEBUG firetray.Window x11.current.Atoms._NET_WM_DESKTOP=450
12:26:31.614 DEBUG firetray.Window x11.current.Atoms._NET_WM_WINDOW_TYPE=347
12:26:31.614 DEBUG firetray.Window x11.current.Atoms._NET_WM_STATE=335
12:26:31.614 DEBUG firetray.Window x11.current.Atoms._NET_WM_ALLOWED_ACTIONS=456
12:26:31.614 DEBUG firetray.Window x11.current.Atoms._NET_WM_STRUT=451
12:26:31.614 DEBUG firetray.Window x11.current.Atoms._NET_WM_STRUT_PARTIAL=452
12:26:31.615 DEBUG firetray.Window x11.current.Atoms._NET_WM_ICON_GEOMETRY=453
12:26:31.615 DEBUG firetray.Window x11.current.Atoms._NET_WM_ICON=332
12:26:31.615 DEBUG firetray.Window x11.current.Atoms._NET_WM_PID=333
12:26:31.615 DEBUG firetray.Window x11.current.Atoms._NET_WM_HANDLED_ICONS=454
12:26:31.615 DEBUG firetray.Window x11.current.Atoms._NET_WM_USER_TIME=344
12:26:31.615 DEBUG firetray.Window x11.current.Atoms._NET_FRAME_EXTENTS=458
12:26:31.615 DEBUG firetray.Window x11.current.Atoms._NET_ACTIVE_WINDOW=369
12:26:31.615 DEBUG firetray.Window x11.current.Atoms.CARDINAL=6
12:26:31.615 DEBUG firetray.Handler FiretrayWindow linux imported
12:26:31.616 INFO firetray.Handler inMailApp=true, inBrowserApp=false, appHasChat=true
12:26:31.619 DEBUG firetray.ctypes-utils Trying to load library: appindicator3
12:26:31.619 DEBUG firetray.ctypes-utils Trying libappindicator3.so.1
12:26:31.622 DEBUG firetray.ctypes-utils Successfully loaded libappindicator3.so.1
12:26:31.623 INFO firetray.StatusIcon canAppIndicator=true
12:26:31.626 DEBUG firetray.PopupMenu cbName=menuItemResetIconActivate
12:26:31.627 DEBUG firetray.PopupMenu cbName=menuItemNewMessageActivate
12:26:31.627 DEBUG firetray.PopupMenu cbName=menuItemPreferencesActivate
12:26:31.627 DEBUG firetray.PopupMenu cbName=menuItemQuitActivate
12:26:31.628 DEBUG firetray.PopupMenu cbName=menuItemActivateLastActivate
12:26:31.628 DEBUG firetray.PopupMenu cbName=menuItemShowHideActivate
12:26:31.631 DEBUG firetray.AppIndicator indicator=AppIndicator.ptr(ctypes.UInt64("0x7fd190cf0cf0"))
12:26:31.631 DEBUG firetray.AppIndicator setIconTooltip
12:26:31.631 DEBUG firetray.PopupMenu about to set title: Thunderbird
12:26:31.631 DEBUG firetray.Handler StatusIcon initialized
12:26:31.633 DEBUG firetray.Messaging Enabling Messaging
12:26:31.633 DEBUG firetray.Messaging updateMsgCountWithCb
12:26:31.633 DEBUG firetray.Messaging msgCountType=0
12:26:31.634 DEBUG firetray.Messaging 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},"exquilla":{"order":6,"excluded":true}},"excludedAccounts":[]}
12:26:31.634 DEBUG firetray.Messaging sortByTypeAndName=false
12:26:31.634 DEBUG firetray.Messaging Total UnreadMessages=0
12:26:31.634 DEBUG firetray.Messaging updateIcon
12:26:31.634 DEBUG firetray.Messaging 0 unread messages
12:26:31.634 DEBUG firetray.AppIndicator setIconImageDefault
12:26:31.634 DEBUG firetray.AppIndicator setIconTooltip
12:26:31.634 DEBUG firetray.PopupMenu about to set title: Thunderbird
12:26:31.635 INFO firetray.Handler isChatProvided=true
12:26:31.635 DEBUG firetray.commons registred account-added for [object Object]
12:26:31.635 DEBUG firetray.commons registred account-removed for [object Object]
12:26:31.635 DEBUG firetray.Messaging sortByTypeAndName=false
12:26:31.635 DEBUG firetray.commons registred xpcom-will-shutdown for [object Object]
12:26:31.635 DEBUG firetray.commons registred profile-change-teardown for [object Object]
12:26:31.636 INFO firetray.Handler restoredWindowsCount=1
12:26:31.636 DEBUG firetray.commons registred mail-startup-done for [object Object]
12:26:31.636 DEBUG firetray.Handler show_tray_icon saved. was: true
12:26:31.636 DEBUG firetray.VersionChange VersionChange got: id={9533f794-00b4-4354-aa15-c2bbda6989f8} ver=0.5.4 prefBranch=extensions.firetray.
12:26:31.636 DEBUG firetray.VersionChange VERSION: 0.5.4
12:26:31.636 DEBUG firetray.VersionChange version change watching enabled
12:26:31.636 DEBUG firetray.Chrome ONLOAD
12:26:31.636 DEBUG firetray.Window register window
12:26:31.636 DEBUG firetray.Window nativeHandle=0x7fd1a01eb5a0
12:26:31.637 DEBUG firetray.Window gdkw=GdkWindow.ptr(ctypes.UInt64("0x7fd1a01eb5a0")) *gdkw=0x7fd195602380
12:26:31.637 DEBUG firetray.Window gptr=ctypes.voidptr_t(ctypes.UInt64("0x7fd190ccc650")) *gptr=0x7fd190ca6400
12:26:31.637 DEBUG firetray.Window gtkw=GtkWindow.ptr(ctypes.UInt64("0x7fd190ccc650")) *gtkw=0x7fd190ca6400
12:26:31.637 DEBUG firetray.Window XID=119537856
12:26:31.637 DEBUG firetray.Window xWindowAttributes: XWindowAttributes(0, 0, 200, 200, 0, 24, Visual.ptr(ctypes.UInt64("0x7fd1a01e6000")), ctypes.UInt64("712"), 1, 1, 1, 0, ctypes.UInt64("4294967295"), ctypes.UInt64("0"), 0, ctypes.UInt64("32"), 1, 0, ctypes.Int64("7045247"), ctypes.Int64("6520959"), ctypes.Int64("0"), 0, Screen.ptr(ctypes.UInt64("0x7fd1a011fd80")))
12:26:31.637 DEBUG firetray.Window xEventMask=6520959 xEventMaskNeeded=6488064
12:26:31.638 DEBUG firetray.PopupMenu addWindowItem
12:26:31.638 DEBUG firetray.PopupMenu about to set title: 119537856
12:26:31.638 DEBUG firetray.PopupMenu added gtkPopupMenuWindowItems: 1
12:26:31.638 DEBUG firetray.Window window 119537856 registered
12:26:31.638 DEBUG firetray.Window attachOnFocusInCallback xid=119537856
12:26:31.638 DEBUG firetray.Window focus-in handler=667
12:26:31.638 DEBUG firetray.Window AFTER
12:26:31.638 DEBUG firetray.Window 1
12:26:31.639 INFO firetray.Window 119537856=GtkWindow.ptr(ctypes.UInt64("0x7fd190ccc650"))
12:26:31.639 DEBUG firetray.Chrome Element 'titlebar-min' not found. Command not replaced.
12:26:31.639 DEBUG firetray.Chrome Element 'titlebar-close' not found. Command not replaced.
12:26:31.639 DEBUG firetray.Chrome Firetray LOADED: true
12:26:31.711 DEBUG firetray.Handler mail-startup-done: [object ChromeWindow],null
12:26:31.801 DEBUG firetray.Window MapNotify
12:26:31.801 DEBUG firetray.Window gdkWinState=0 for xid=119537856
12:26:31.870 DEBUG firetray.AppIndicator AppIndicator connection-changed: 1
12:26:31.942 DEBUG firetray.Window onFocusIn
12:26:31.943 DEBUG firetray.Window xid=119537856
12:26:31.943 DEBUG firetray.Window setUrgency: false
12:26:32.283 INFO firetray.Handler *** appStarted ***
12:26:32.283 DEBUG firetray.Messaging PrefObserver added
2015-01-26 12:26:32     mail.provider   ERROR   Something went wrong loading the provider list JSON file. Going into offline mode.
12:26:36.303 DEBUG firetray.Window onFocusIn
12:26:36.303 DEBUG firetray.Window xid=119537856
12:26:36.303 DEBUG firetray.Window setUrgency: false

obviously - I don;t want to open a terminal just to launch TB.

wunderlich commented 9 years ago

I succeeded in building the debug-version of FireTray. Here is my command-line output:

(process:20507): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed

(thunderbird:20507): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::sm-connect after class was initialised

(thunderbird:20507): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::show-crash-dialog after class was initialised

(thunderbird:20507): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::display after class was initialised

(thunderbird:20507): GLib-GObject-WARNING **: Attempt to add property GnomeProgram::default-icon after class was initialised
[calBackendLoader] Using libical backend at /home/wu/.thunderbird/rn6v8f4o.default/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/libical.manifest
enigmail.js: Registered components
mimeVerify.jsm: module initialized

(thunderbird:20507): GLib-GObject-WARNING **: cannot register existing type 'GdkKeymap'

(thunderbird:20507): GLib-CRITICAL **: g_once_init_leave: assertion 'result != 0' failed

(thunderbird:20507): Gdk-CRITICAL **: gdk_keymap_have_bidi_layouts: assertion 'GDK_IS_KEYMAP (keymap)' failed

But I found another interesting behaviour: As @joelabair said, starting TB from the command-line works for me, too. In my case (Linux Mint 17.1 with Cinnamon 2.4.5), the panel-launcher for TB uses thunderbird %u. Removing %u solves the problem. Now it works. I searched the web, but don't understand exactly, what %u does.

joelabair commented 9 years ago

@wunderlich %u is kde's KIO placehlder injection of a URL. Information can be found here http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

wunderlich commented 9 years ago

@joelabair I found this specification, too. But what does this mean in case of a panel starter? Which value is passed as %u?

joelabair commented 9 years ago

If you click on a mailto link a text document or in Firefox and your KDE settings are set thunderbird as the default application the value is passed in. Using the mailto protocol, a complete draft can be automated and opened.

joelabair commented 9 years ago

@wunderlich the panel launcher config is used for all KIO application launching across all desktop apps that support KIO.

protist commented 9 years ago

TB has been crashing for me since I upgraded to TB 38.0.1 (in Arch Linux). It launches fine, but crashes after a few minutes, even if starting from the command line. I have replicated this half a dozen times. If I disable Firetray, then it works fine. I built Firetray from source (0.5.7pre1) for debugging purposes. Here is the output on the command line, although I'm not sure how informative it is.

=EDIT= KDE Plasma 5.3.1 gtk2 2.24.28 gtk3 3.16.4

derrend commented 9 years ago

Use MinimizeToTray revived instead.

foudfou commented 9 years ago

Does v0.6.0 solve the issue ?