[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Window manager interaction

From: David Chisnall
Subject: Re: Window manager interaction
Date: Sun, 18 Oct 2009 14:11:01 +0100

On 18 Oct 2009, at 07:44, Richard Frith-Macdonald wrote:

With regard to creating a new document upon program startup, I think that a document based application should always do so (regardless of the interface style) and have committed code for that too.

I'm less sure about that ... one thing I really hate is applications which open up blank document windows when I don't want them (which is almost always the case). You are probably right about it though ... it does seem a very common behavior on OSX (though some apps open the most recently used document, and few don't open anything). Is it actually automatic though ... if so, it might be nice to have a default to disable it.

This was why I suggested doing it only if, after calling - applicationDidFinishLaunching in the delegate, there is no main window. That way, if the application is opening the last document on relaunch, or providing a 'create some specialised kind of document' window, -gui has somewhere sensible to put the menu already and doesn't need to create one. Note that I was only suggesting this behaviour for applications in the Win95 interface style. In any other interface style it's not particularly important, because the window location doesn't change when you have no main windows.

Oh, and Riccardo, Microsoft deprecated MDI almost a decade ago now. Any applications still using it are violating Microsoft's HIGs. MS Office hasn't used it since Office 2000; each MS Word document is a stand-alone window. When you close the last one, Word exits.


-- Sent from my Difference Engine

reply via email to

[Prev in Thread] Current Thread [Next in Thread]