Re: Remember window position in multiple monitors
Re: Remember window position in multiple monitors
- Subject: Re: Remember window position in multiple monitors
- From: Eric Peyton <email@hidden>
- Date: Sat, 9 Jun 2001 13:38:58 -0500
On Friday, June 8, 2001, at 09:21 PM, Joe Balsamo wrote:
I do not run a multiple monitor setup, so I cannot check this myself.
I'm hopeful that someone here does have such a setup and can help
me out.
Apparently, simply naming the windows in IB is not enough to save their
positions across multiple monitors, or so it appears the case in one of
my apps being run on a multiple monitor setup. Can anyone verify
this on
their apps? If this is the case, does anyone have a good solution
for it?
Yes, this is a long standing known AppKit issue if I am correct.
However, there is no easy fix that will work in all situations (IMO)
Here's why ...
What do you do when an app is saved and the second monitor is not
available anymore?
And how do you handle getting the windows lost on the second
monitor back in a user friendly manner?
And how do you do all of this intuitively to someone whose second
monitor blew up and the system hasn't yet detected the monitor as
being "dead"?
And where do you put those windows when you do detect the monitor
is gone?
etc.
I truthfully do not have any idea how OS 9 dealt with it ...
People have been complaining about this in Fire.app since the first
day I released it to people who had a second monitor so I
understand the usability issue from a user stand point.
What can you do in your app?
Don't use AppKit provided window location storage, and instead,
when a window moves location, save the location yourself. And
prepare to deal with bugs from users who just sold their second
monitor or blew it up. You will need to add functionality to deal
with all the questions up above.
And most of all - have fun !! :-)
Eric
--
Joe Balsamo
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev