On May 21, 2008, at 8:31 AM, Torsten Curdt wrote:

It' absolutely annoying that paste is disabled in NSSecureTextField. From the docs it sounds like that really is on purpose.

"It overrides many aspects of text editing to prevent passing of the object’s value out by mechanisms available to the user (namely, through Cut, Copy, and Paste commands, ..."

So it also disabled passing values IN ...not just OUT. Why?

Any idea on how to enable paste in NSSecureTextFields?

Actually, it's not even self-consistent. You can right-click (control- click) to access a Paste item in the contextual menu. I use this all the time. So, yes, my password(s) are fairly often on my clipboard. :-/

I don't understand the logic behind that UI, either.

Cheers,
Ken

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to