Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Cannot restore window with 'Start application hidden to tray' #94

Closed
wheatgrass opened this issue Jun 30, 2013 · 11 comments
Closed

Cannot restore window with 'Start application hidden to tray' #94

wheatgrass opened this issue Jun 30, 2013 · 11 comments

Comments

@wheatgrass
Copy link

I am using FireTray 0.4.6, Ubuntu 12.04, GNOME classic (no effects) (GNOME Fallback), Thunderbird 17.0.7, and indicator-applet-complete.

When 'Start application hidden to tray' is selected in FireTray, clicking on the 'Mail' icon in the indicator applet does not restore the window. I was only able to restore it by manually editing ~/.thunderbird/something.default/prefs.js, and changing "user_pref("extensions.firetray.start_hidden", true);" to "user_pref("extensions.firetray.start_hidden", false);", then killing and starting thunderbird again. When 'Start application hidden to tray' is disabled, restoring thunderbird from the indicator applet works as expected. I believe this started with the last update of FireTray as I just started experiencing this today.

@foudfou
Copy link
Owner

foudfou commented Jun 30, 2013

Hi, which version of FireTray ?

@wheatgrass
Copy link
Author

Firetray 0.4.6

@foudfou
Copy link
Owner

foudfou commented Jul 1, 2013

Could you try with the last revision ? Either build from the source (see wiki) or re-install from AMO.

@wheatgrass
Copy link
Author

I experienced the same problem behaviour originally reported, both by re-installing from AMO and building from source. I launched thunderbird from a terminal and with the AMO build I would get "ERROR firetray.Handler session file could not be read" and no error with the local build.

@wheatgrass
Copy link
Author

@anie

Here is how to do it with graphical programs.

Open a terminal and issue "killall thunderbird". This kills thunderbird if it is running.

Open your file browser (Places>Home) to your home directory. Press ctrl-H to show hidden files. Open ".thunderbird" (notice the dot) directory. Open "random.default" directory (random will actually be a random string of letters and numbers and "default" is assuming you are using the default thunderbird profile.) Now find the "prefs.js" file and either double click or right click and open with text editor. Press ctrl-f and search for "start_hidden". Find this line "user_pref("extensions.firetray.start_hidden", true);" and change the "true" at the end to "false". Press the save button in the text editor and close it. Now when you launch thunderbird it should not be minimized to tray.

Let me know if you need any more help.

@anie
Copy link

anie commented Aug 3, 2013

Thank you!

@bazzzz
Copy link

bazzzz commented Aug 10, 2013

Same problem. Activating 'Start hidden' option doesn't work correctly. It minimized the main window when it starts but it's impossible to maximize it again using the shortcut in the launcher bar or the notification icon in the task bar although others windows "write a new message" or "address book" can be displayed normally with. I use 0.4.6 version with ubuntu 13.04/64 and thunderbird 17. I tested it with others addons deactivated too.

@foudfou
Copy link
Owner

foudfou commented Sep 14, 2013

@bazzzz I think this is the same error as in #95. I said I would try to work on it soon, but I'm afraid I won't be able to correct it before October. The problem is (again) that the startup event with windows realized is not easily detectable in Thunderbird.

@foudfou
Copy link
Owner

foudfou commented Oct 6, 2013

Hi all can you confirm this is a duplicate of #95 ? (new fix in there)

@wheatgrass
Copy link
Author

Hello again. Build 6459bc6 fixes this issue.

I do not think this this is a duplicate of #95.

This issue #94 states that when "start application hidden to tray" is turned on the following is true:
• thunderbird starts hidden, and clicking the tray icon does nothing, tb remains hidden
• calling 'thunderbird -firetrayShowHide' causes tb to be shown and, after this, tray icon function returns to normal until thunderbird is restarted (I just now tested this)

Where issue #95 states that when "start application hidden to tray" is turned on the following is true:
• thunderbird starts hidden, and clicking the tray icon causes tb to be shown
• calling 'thunderbird -firetrayShowHide' does nothing and tb remains hidden

@foudfou
Copy link
Owner

foudfou commented Oct 9, 2013

@wheatgrass thank you for the clarification !

@foudfou foudfou closed this as completed Oct 9, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants