Comment 23 for bug 849624

Revision history for this message
In , Giermann (giermann) wrote :

David,

first - thank you for the quick replies and your explanations.
I did not check with the latest trunk, but TB 2.0.0.x brings up a window with an empty 'displayDeck'.
But I could verify the behaviour with the '-addressbook' switch - it also brings up the address book AND a message window, when 'about:blank' is appended.

To bring some light in:
- Lightning extends the 'displayDeck' and switches to calendar view by selecting another child in deck
- Starting with '-calendar' should not necessarily prevent the download of new messages, but if this is done, the Inbox is selected AFTER the download is complete --> the calendar would only display while downloading messages!

Maybe the observation of 'onFolderLoaded' would be an option, but I have another idea right now:

As the calendar view is just a special "location" displayed in the messenger window, I would advice to handle the display through a special uri, maybe with a special protocol...

@mvl: What do you think about handling 'calendar://month-view'?

The switch '-calendar' could just open a window with calendar view, but the behaviour of both would be slightly different:
- when you start TB with 'thunderbird.exe <uri1> <uri2>', only the first is being displayed
- when you start TB with 'thunderbird.exe <uri1> -calendar', two windows open up: one with <uri1> and another with calendar

I think the handling is a little complicated, because most commandline switches are used to display a dialog, not to modify the mail-view.