Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

CPSecureTextField erasing content in FireFox 3.0.6

#248

CPSecureTextField erases the content a user has entered in FireFox 3.0.6.

To reproduce:

  1. Select the secure textfield but do not move the mouse after the selection!
  2. Enter text.
  3. Move the mouse.

The content in the DOM element for the text field will then be erased. Upon calling resignFirstResponder the error will propogate to the CPSecureTextField's object/string value.

Appears to be a problem with certain selectors not being performed, as a hackish solution forcing [[CPRunLoop currentRunLoop] performSelectors] at the end of CPTextField's becomeFirstResponder method alleviates the problem.

Reported by sgriffin · March 12th, 2009 @ 12:28 PM

State: resolved
Milestone: none
Assigned to: nobody

Activity

  1. ronin-756 (at lighthouseapp)
    ronin-756 (at lighthouseapp)
    • Tag changed from cpsecuretextfield to @to-review, cpsecuretextfield

    I cannot reproduce it in 0.6. Here is the test : http://gist.github.com/85362

    It cannot be tested in 0.7b right now cause CPTextField is currently broken.

    March 24th, 2009 @ 10:07 PM

  2. admin (at 280north)
    admin (at 280north)
    • State changed from new to resolved

    (from [840e9c7671c5e7d95cdbf173bae4bbb46192a933]) When removing an item from the collection view, we now unconditionally unhighlight it. We also reapply highlights after reloading finishes.

    Closes #248 CPSecureTextField erasing content in FireFox 3.0.6.
    http://github.com/280north/cappuccino/commit/840e9c7671c5e7d95cdbf1...

    January 31st, 2010 @ 10:30 AM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.