Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NSWindow restorable not always working

I have checked the restorable option on my NSWindow When I move my application and change its size and close/reopen my application it sets the window size and position to the last size and position

but this doesn't happen on every computer where i test it. it only happens to a few computers

they don't have special settings regarding the resume.

Does anybody have any experience with this?

like image 562
Andy Jacobs Avatar asked Oct 08 '12 10:10

Andy Jacobs


1 Answers

But this doesn't happen on every computer where I test it. It only happens to a few computers. They don't have special settings regarding the resume.

Actually, they do. Take a look into the System Preferences > General pane. There should be an option named “Close windows when quitting an application” which is responsible for the restoration behavior. Additionally, in OS X Mountain Lion, Apple changed default behavior and now the app restores its state only when you quit using Command-Option-Q.

So, you probably should check which OS X version is installed on another Mac, and which preference is selected in the General pane. Hope this helps!

like image 116
Vadim Avatar answered Sep 29 '22 16:09

Vadim