Re: NSWindow - makeKeyAndOrderFront problem
Re: NSWindow - makeKeyAndOrderFront problem
- Subject: Re: NSWindow - makeKeyAndOrderFront problem
- From: Andy Lee <email@hidden>
- Date: Mon, 01 Mar 2010 19:32:58 -0500
On Mar 1, 2010, at 6:27 PM, Matthew Lindfield Seager wrote:
> On Monday, March 1, 2010, Andreas Mayer <email@hidden> wrote:
>> Try dragging something onto the iTunes source list. iTunes will import it, but will not activate itself.
>
> Apples & Oranges... iTunes is (was?) a library application more than a
> player. It also has origins in audio, not video. Then again I think
> the "correct" behaviour is dictated by the principle of least
> surprise...
>
> If I've told a video player to start playing files on open I would
> generally expect the player to bring itself to the front after
> specifically dropping a media file onto it.
I was going to make a similar comment, but noticed that if I drop a file into the iTunes source list (note this is the action Andreas described), it plays but iTunes does not come forward. Also, if I drag a link from Mail into a Safari window, the window loads the URL but Safari does not come forward.
If I drag into the application's *icon* in the Dock, the application does come forward as I expected. So there seems to be a distinction between dragging into an application's window as opposed to its icon.
If I feel my app should come forward in both cases I do think it should be okay to implement it that way, but there *is* precedent for not activating the app.
--Andy
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden