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.

Changeset [af2e0348c1a0cb5b257e757b57896f3d2f420e18] by Aparajita Fishman

Revision af2e0348c1a0cb5b257e757b57896f3d2f420e18, committed 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. https://github.com/cappuccino/cappuccino/commit/af2e0348c1a0cb5b257...

5 changed files

  • 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