[OS X TeX] Two problems with TeXworks
lfsequeira at gmail.com
Thu Feb 24 23:11:18 CET 2011
> On 24-02-2011, at 17:39, Herbert Schulz wrote:
>>> I agree.
>>> TextMate and TextWrangler don't open a new window.
>>> Neither does texShop.
>>> You do Command+N for a new file or go to the menu and Open Recent.
>>> I wouldn't appreciate such behaviour very much.
>> By default TeXShop DOES open a new blank document when you open TeXShop. There is a preference option to disable it; which is what I use.
> Oops. I should have looked before I jumped.
> I too have the preference option disabled.
I don't have a habit of clicking the dock icon to switch to an open application. My dock is hidden and, furthermore, that's what command-tab and the application switcher is there for. But I think the two methods should be equivalent. This thread has made me realize that they aren't.
I looked and indeed TeXShop and Safari do open an window when clicked in the dock, if the application is running and no window is open. I, for one, don't think this is appropriate - clicking the dock icon should bring the application to the front, if it is not already.
Stranger still, even if TeXShop (or Safari) is already the front application, and no window is open, clicking its dock icon opens a new window. That, in my view, is BAD.
If that is what the Apple user interface guidelines say should happen, I don't know, but I don't agree, anyway. There is a standard way to open a new window (File->New or better still Cmd-N) in ANY application, if and when the user wants it to.
I now have disabled the preference to open an empty document on startup - thanks for pointing out that the preference setting exists. (Though, like I said, starting should be different from selecting an already running application).
More information about the macostex-archives