Commit Graph
6 Commits
Author SHA1 Message Date
David Richardson 974314fb00 CPView: Keep view controllers in the responder chain
Previously, adding a view to a superview unconditionally set the
view's next responder to the superview, dropping its owning view
controller from the responder chain and preventing actions from reaching
it. Also, -rightMouseDown: checked the next responder's class rather
than forwarding up the chain when a superview was present.

The view now retains its next responder when it is the owning view
controller, setting the controller's next responder to the superview.
-rightMouseDown: now forwards up the responder chain whenever the view
has a superview.
2026-11-24 11:54:45 -06:00
daboe01 c70ea739ec fixed: unittest was overambitious 2025-07-05 16:39:10 +02:00
daboe01 85da0164ba fixed: designated initialiser was not used 2025-07-05 16:32:22 +02:00
daboe01 2add37983d new: unittest for responderchain 2025-07-05 15:56:44 +02:00
Martin Carlberg 511e18b44f Fixed: Wait for the bundle load to finish with the new async bundle load function 2021-09-17 21:55:48 +02:00
cacaodev b587a19a0f NEW: CPViewController -viewWill/DidAppear & -viewWill/DidDisappear
When a view belonging to a CPViewController is hidden, unhidden, added
or removed, its viewController receives the appropriate message.

Added AppKit/CPViewControllerTest.
2016-05-23 16:06:04 +02:00