• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Remember window position in multiple monitors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Remember window position in multiple monitors


  • Subject: Re: Remember window position in multiple monitors
  • From: Ali Ozer <email@hidden>
  • Date: Sat, 9 Jun 2001 14:55:06 -0700

We're looking at dealing with this better in the AppKit in the next release.

As Eric says, sometimes you want windows to come always on a second monitor; sometimes you want them on the same screen your other windows are at, so this is a bit tricky.

Ali


On Saturday, June 9, 2001, at 11:38 AM, Eric Peyton wrote:

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
_______________________________________________
cocoa-dev mailing list
email@hidden
http://www.lists.apple.com/mailman/listinfo/cocoa-dev


References: 
 >Re: Remember window position in multiple monitors (From: Eric Peyton <email@hidden>)

  • Prev by Date: Re: Draw to Offscreen Bitmap in Cocoa???
  • Next by Date: Spying on global keyboard events
  • Previous by thread: Re: Remember window position in multiple monitors
  • Next by thread: Re: Remember window position in multiple monitors
  • Index(es):
    • Date
    • Thread