Changeset [af2e0348c1a0cb5b257e757b57896f3d2f420e18] by Aparajita Fishman

January 9th, 2013 @ 04:11 PM

More key view loop madness

  • It turns out Cocoa DOES recalculate the loop when calling recalculateKeyViewLoop. It does not wait until selectNext/PreviousKeyView is called.
  • Cocoa calculates the key view loop for nibs that do not have one, but does not call recalculateKeyViewLoop.
  • If there is no first responder and no initial first responder when a window first becomes key, use the first valid key view, not the first geometric key view.
  • Made allViews function a method, not sure why it was a function.
  • Unit tests now pass.

Committed by Aparajita Fishman

  • M AppKit/CPWindow/CPWindow.j
  • M Tests/AppKit/CPWindowTest.j
  • M Tests/Manual/KeyViewLoopTest/AppController.j
  • M Tests/Manual/KeyViewLoopTest/Resources/MainMenu.cib
  • M Tests/Manual/KeyViewLoopTest/Resources/MainMenu.xib
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