mintrayr icon indicating copy to clipboard operation
mintrayr copied to clipboard

Request: Minimize automatically when application starts

Open mdavis-xyz opened this issue 9 years ago • 4 comments

I have Thunderbird set to start on boot. Every time I boot, it starts as a full window, and I need to minimize it manually.

I would love for there to be an option in the addon's preferences to minimize the window to the tray when the application starts.

mdavis-xyz avatar Jul 28 '16 02:07 mdavis-xyz

This functionality is already supported...all you need to do is start Thunderbird minimized using your shell. For Windows, this means changing the shortcut to "Run: Minimized". For Linux, it depends on the desktop manager.

nabsltd avatar Dec 15 '16 21:12 nabsltd

Just tested it on Windows 7: it doesn't work here.

tbertels avatar Dec 15 '16 21:12 tbertels

As long as "Use for Messenger Windows" is enabled, it works fine for me, at least starting from a shortcut on the menu.

When loading Windows, it might not work because of timing...if the task bar and tray haven't completed initialization when Thunderbird starts, the minimize or "show in tray" messages might get lost. This will be a problem for the add-on as well.

nabsltd avatar Dec 15 '16 21:12 nabsltd

I suspect it's more involved than than. Windows apps most of the times don't honor that execution flag and the workarounds are subtle and not entirely satifactory (http://forums.mozillazine.org/viewtopic.php?t=412663 ie: TB honors "start minimized" only if last (saved) windows state was not "maximized").

I came here to suggest a change the options of mintrayr: in "Minimize to tray" we could have 3 checkboxes instead of radio buttons plus a note: [ ] At startup [ ] When minimizing [ ] Instead of closing (Menu and button are alway available)

Also "Click Behaviour" could be "Tray Icon Click Behaviour"

Thank you

Cyberchicken avatar Dec 19 '17 21:12 Cyberchicken