Re: Window positioning and screen resizing

2013-05-14 Thread Ken Thomases
On May 13, 2013, at 7:57 PM, Rick Mann wrote: It seems that Cocoa or the OS or someone repositions my windows with some rules when the screen resolution changes. Does anyone know what the rules are? Stuff is kept in roughly the same quadrant of the screen, near as I can tell, and perhaps

Re: Window positioning and screen resizing

2013-05-14 Thread Rick Mann
On May 13, 2013, at 23:19 , Ken Thomases k...@codeweavers.com wrote: I believe the top-left corner is kept in the same relative position to the top-left corner of the screen, unless that would leave part of the window off-screen. If it would, then the top-left corner is moved to get the

Re: Window positioning and screen resizing

2013-05-14 Thread John Joyce
On 2013/05/14, at 9:57, Rick Mann rm...@latencyzero.com wrote: It seems that Cocoa or the OS or someone repositions my windows with some rules when the screen resolution changes. Does anyone know what the rules are? Stuff is kept in roughly the same quadrant of the screen, near as I can

Re: Window positioning and screen resizing

2013-05-14 Thread Rick Mann
On May 14, 2013, at 00:09 , John Joyce dangerwillrobinsondan...@gmail.com wrote: Presumably, you should not rely on or infer the logic of what the system does for you, but rather just respond as appropriate for your own needs. Thanks, John. I'm fairly familiar, at this point, with the

Window positioning and screen resizing

2013-05-13 Thread Rick Mann
It seems that Cocoa or the OS or someone repositions my windows with some rules when the screen resolution changes. Does anyone know what the rules are? Stuff is kept in roughly the same quadrant of the screen, near as I can tell, and perhaps the offset within the quadrant is adjusted by some

Re: Window positioning and screen resizing

2013-05-13 Thread Seth Willits
On May 13, 2013, at 5:57 PM, Rick Mann wrote: It seems that Cocoa or the OS or someone repositions my windows with some rules when the screen resolution changes. Does anyone know what the rules are? Stuff is kept in roughly the same quadrant of the screen, near as I can tell, and perhaps

Re: Window positioning and screen resizing

2013-05-13 Thread Rick Mann
On May 13, 2013, at 19:12 , Seth Willits sli...@araelium.com wrote: I can't imagine why it would be documented anywhere. Is there some reason you need to know what it's doing? Yes. But I'm reluctant to talk about it just yet. In any case, it would be helpful to me to know. -- Rick

Re: Window positioning and screen resizing

2013-05-13 Thread Quincey Morris
On May 13, 2013, at 21:58 , Rick Mann rm...@latencyzero.com wrote: In any case, it would be helpful to me to know. So try it with a random sampling of 20 window sizes and positions, and log the window and screen frames before and after the screen change. If you post the results here on this