Hi,

I have an app with an NSDatePicker in small control size, date only format (day/month/year) and stepper controls. On El Capitan, with certain year numbers, the control cuts off the last digit, for instance with 1966, 1969 and 1999. The control displays the first 3 digits only ("196", "199").

Using the stepper (or cursor keys) it is possible to increment over the broken numbers, so the internal representation seems intact.

Weirdly one cannot enter the numbers using the keyboard either, upon pressing the last digit, the control beeps.

Clearly somewhere a string size measurement is going wrong. The NSDatePicker itself is wide enough to accommodate the entire date twice, so control size isn't the issue.

The app is linked against the 10.10 SDK, built with Xcode 6.4.

This happens on 10.11 only, not on 10.10. Anyone able to confirm this using own code? Maybe something is set up incorrectly? Anyone know of a workaround until this gets fixed (yes, I will file a bug once it's confirmed that it's not my fault).

Regards
Markus
--
__________________________________________
Markus Spoettl
_______________________________________________

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

Reply via email to