Re: Cut and paste out of/ into text fields in a separate window doesn't work
Re: Cut and paste out of/ into text fields in a separate window doesn't work
- Subject: Re: Cut and paste out of/ into text fields in a separate window doesn't work
- From: Steven Degutis <email@hidden>
- Date: Mon, 15 Mar 2010 13:15:39 -0400
Not trying to be pessimistic here, just honest, but it seems like this is a
problem with Mozilla's (Firefox's? Thunderbird's? which app are we talking
about here?) plugin-architecture system.
The shortcuts Cmd+C and Cmd+V in the Edit menu link to the First Responder,
and typically any text field (NSTextField, NSSearchField, et al) which gets
"focused", becomes the First Responder. Thus, it should Just Work⢠like you
are expecting it to.
However, if the host app controlling your plugin is not giving your plugin a
chance to become first responder, it's most likely because said app is
completely breaking the Responder Chain. In my experience, Firefox (and thus
probably other Mozilla apps) isn't even a native Cocoa app, it just pretends
to be one, so I wouldn't doubt it if it doesn't even *have* a Responder
Chain.
You may want to contact the developers of the host app to ask them what's
going on, since they will have more intimate knowledge of their app's
"uniqueness".
-Steven
On Mon, Mar 15, 2010 at 11:04 AM, Brian Postow <email@hidden>wrote:
> I have a Mozilla plugin which puts up a separate window for login
> information.
> It seems to work fine, it gets keyboard events like typing and hitting
> return to hit the default button. HOWEVER, it doesn't seem to get cut
> and paste events. When I hit Cmd-v, the edit menu flashes, but nothing
> happnes.
> Is this a problem with my responder chain? Do I have to specially tell
> Mozilla that I want these events? or am I likely to have some other
> problem that I haven't even thought of?
> thanks.
>
>
> Brian Postow
> Senior Software Engineer
> Acordex Imaging Systems
>
> _______________________________________________
>
> 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
>
--
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/
_______________________________________________
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