I have a NSTextField subclass that selects all of the text when the user clicks it. This is accomplished by overriding becomeFirstResponder.
- (BOOL)becomeFirstResponder { BOOL result = [super becomeFirstResponder]; if(result) { [self performSelector:@selector(selectText:) withObject:self afterDelay:0]; } return result; } http://stackoverflow.com/questions/2195704/selecttext-of-nstextfield-on-focus This has worked perfectly for years until 10.10 Yosemite. Now when the user clicks into the text field nothing is selected. Also the following error will often occur on 10.10 Yosemite when clicking on the text field. 2015-07-06 10:09:04.287 MyApp[727:15035] Bad cursor rect event, flags = 256 Does anyone have any insight into what is going on? Thanks so much. --Richard Charles _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com