Home Download Buy Blog Forum Support

Prevent new window on dock-click in OS X

Prevent new window on dock-click in OS X

Postby joshbenner on Fri Dec 23, 2011 4:24 pm

Is there a configuration option that prevents Sublime Text 2 from opening a new window when clicking on it in the OS X dock? This only happens when there are no Sublime windows already open, but I'd like to suppress the behavior if possible.
joshbenner
 
Posts: 2
Joined: Fri Dec 23, 2011 4:21 pm

Re: Prevent new window on dock-click in OS X

Postby jps on Sat Dec 24, 2011 3:22 am

This is standard OS X behaviour, TextEdit works the same way, for example. There presently aren't any configuration options to disable this.
jps
Site Admin
 
Posts: 3067
Joined: Wed Mar 19, 2008 12:33 pm

Re: Prevent new window on dock-click in OS X

Postby joshbenner on Wed Dec 28, 2011 7:33 pm

Thanks for the reply. Posted feedback about this on userecho:

http://sublimetext.userecho.com/topic/8 ... dock-icon/
joshbenner
 
Posts: 2
Joined: Fri Dec 23, 2011 4:21 pm

Re: Prevent new window on dock-click in OS X

Postby natebeaty on Wed Dec 28, 2011 8:46 pm

joshbenner wrote:Thanks for the reply. Posted feedback about this on userecho:

http://sublimetext.userecho.com/topic/8 ... dock-icon/


.. but ST2 will open the project into that new window created when you click on the icon, there's no need to close it first. And if you try to use the cmd-ctrl-p keyboard shortcut to open a project (as I imagine most ST2 users do), it won't even work without that blank window open.

EDIT: I take it back, it does indeed leave that new window open, my mistake. (I guess I just never have ST2 open without a window, I just continually switch projects by keyboard..) Maybe it would be enough for ST2 to behave as I thought it was -- just open the project into the blank window if there's been no activity it in yet.

EDITEDIT (err): ST2 does open the project into the current blank window if you use the keyboard shortcut, but not if you select from Recent Projects by mouse. (I'm on a mac btw.)
natebeaty
 
Posts: 121
Joined: Wed Apr 06, 2011 8:28 pm
Location: Chicago, IL


Return to General Discussion

Who is online

Users browsing this forum: excalibur1976, Mondo, vaselinessa and 44 guests