#242 ✓resolved
Moritz Angermann

*keyView support

Reported by Moritz Angermann | March 11th, 2009 @ 06:18 AM | in 0.7

Okay, here's some support for keyView style CPView chaining. It's the NS/Cocoa way I think, I've read the developer doc of GnuStep to get an idea what methods should be there and what they are supposed to do.

Commit for keyView support: http://github.com/angerman/cappu...

There has been a nasty call race issue with Firefox, requiring to click a field twice. This basically prevented the keyView support to work properly in FF. Safari, sending the events in a slightly different order didn't bother too much, and still worked.

Commit for the becomeFirstResponder/resignFirstResponder of the CPTextView is here: http://github.com/angerman/cappu...

after some console.log removal and general cleanup, it's now in sync with the 280north/cappuccino master. (Merge commit) http://github.com/angerman/cappu...

There are some stackoverflow issues with IE right now (tested 7.0.5730.13). And the tab-capture does not work either.

If someone is willing to put some effort in making it work with IE... I'd be glad to integrate compatibility changes.

Comments and changes to this ticket

  • Moritz Angermann

    Moritz Angermann March 11th, 2009 @ 05:34 PM

    • Tag changed from @needanswer, @needtest, @to-acknowledge, @to-review, @working-on, cptextfield, cpview, cpwindow to @needanswer, @needtest, @to-acknowledge, @to-review, @working-on, cptextfield, cpview, cpwindow, patch

    Now with Support for IE. IE's messed up event system was at the core of the issues.

    Commit: http://github.com/angerman/cappu...

  • Ross Boucher

    Ross Boucher March 25th, 2009 @ 12:05 AM

    • State changed from “new” to “open”

    Why is there a "submitTarget" and "submitAction"? CPTextField is a CPControl, and so it already has a target and action.

    Also, ivars in Cappuccino should follow the leading _ naming scheme, and there are some lingering logs that need to be removed. I'll try and take a more in depth look soon.

  • Ross Boucher

    Ross Boucher April 14th, 2009 @ 09:01 PM

    • Milestone set to 0.7
    • State changed from “open” to “resolved”
    • Assigned user set to “Ross Boucher”

    I ended up needing to rewrite this because of the new theme support, but I followed some of your code. Thanks for the help!

    This should now work (along with several other textfield related things).

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.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

The Cappuccino Web Framework, including AppKit, Foundation, and Objective-J.

Shared Ticket Bins

People watching this ticket

Referenced by

Pages