Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

CPTextField key events issues (tab and backspace keys) #1433

Closed
AriasBros opened this Issue Jan 15, 2012 · 7 comments

Comments

Projects
None yet
3 participants

Hi,

in the new release of cappuccino (0.9.5) the tab event in the CPTextField is missing. In 0.9 when you press tab key, the focus change to the next CPTextField. In 0.9.5 this does not happen.

Other problem happens in Opera 11.60, when a CPTextField has the focus and you press the backspace key this make go back in the history of the browser. This in chrome works fine.

Contributor

aparajita commented Apr 9, 2012

Do you have a test app that demonstrates this? Also, what browsers are you seeing this behavior in?

Yes, I have.

http://www.leafsoft.es/cappuccino/0.9/
http://www.leafsoft.es/cappuccino/0.9.5/

In Opera, both versions make go back in the history when you press the backspace key. In Chrome and Firefox this works fine.

In 0.9.5 version, trying in last versions of Chrome, Opera and Firefox, when you press the tab key the focus doesn't change to the next CPTextField.

TestApp Code:

http://www.leafsoft.es/cappuccino/0.9/0.9.zip
http://www.leafsoft.es/cappuccino/0.9.5/0.9.5.zip

Contributor

aparajita commented Apr 9, 2012

Thank you, I am seeing it in Safari as well.

-#needs-info
#accepted
#needs-patch

Contributor

aparajita commented Apr 9, 2012

I found the problem, I just have to figure out the best solution.

aparajita added a commit that referenced this issue Apr 9, 2012

Contributor

aparajita commented Apr 9, 2012

Fixed in bc8dc10.

#fixed

@aparajita aparajita closed this Apr 9, 2012

@ghost

ghost commented Apr 10, 2012

Hi Aparajita, Leafsoft.

I had the same problem, but I could solve it, I'm adding for each textfield nextKeyView o nextKey (I don't remember the name in this moment), to do the chain and this works to me.

I'm working with Xcode 4.3 an Cappuccino 0.9.5. I don't know if this is related with this bug.

Contributor

aparajita commented Apr 10, 2012

That should not be necessary, the failure to establish the key view loop was a bug which has been fixed.

cappbot commented Feb 20, 2014

Labels: #fixed, AppKit, bug. What's next? This issue is considered successfully resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment