Skip navigation.
 
mlRe: NSSecureTextField and paste
FROM : Ken Thomases
DATE : Wed May 21 22:42:46 2008

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

Related mailsAuthorDate
mlNSSecureTextField and paste Torsten Curdt May 21, 15:31
mlRe: NSSecureTextField and paste Matt Gough May 21, 15:45
mlRe: NSSecureTextField and paste I. Savant May 21, 15:49
mlRe: NSSecureTextField and paste Torsten Curdt May 21, 16:05
mlRe: NSSecureTextField and paste Torsten Curdt May 21, 16:06
mlRe: NSSecureTextField and paste Matt Gough May 21, 16:07
mlRe: NSSecureTextField and paste Matt Gough May 21, 16:10
mlRe: NSSecureTextField and paste I. Savant May 21, 16:12
mlRe: NSSecureTextField and paste Jens Alfke May 21, 16:44
mlRe: NSSecureTextField and paste Torsten Curdt May 21, 17:53
mlRe: NSSecureTextField and paste Ken Thomases May 21, 22:42