Hi, all.
When my program adds IKSaveOptionsAccessoryView to NSSavePanel, the accessory
view occupies max height always and system prints error messages to console as
follows.
==== start ====
2014/03/28 10:37:17.870 SimpleDEMViewer[24153]: Unable to simultaneously
satisfy constraints:
(
"<NSLayoutConstraint:0x6080002936a0 'NSView-Encapsulated-Layout-Height'
V:[IKSaveOptionsContainer:0x1002bd700(200)]>",
"<NSLayoutConstraint:0x6080002939c0
V:[IKSaveOptionsContainer:0x1002bd700(112)]>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x6080002936a0 'NSView-Encapsulated-Layout-Height'
V:[IKSaveOptionsContainer:0x1002bd700(200)]>
Set the NSUserDefault
NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have
-[NSWindow visualizeConstraints:] automatically called when this happens.
And/or, break on objc_exception_throw to catch this in the debugger.
==== stop ====
My code is as follows.
id sp = [NSSavePanel savePanel];
id so = [[IKSaveOptions alloc] initWithImageProperties:nil
imageUTType:@"public.jpeg"];
[so setDelegate:self];
[so addSaveOptionsAccessoryViewToSavePanel:sp];
[sp beginSheetModalForWindow:window completionHandler:...];
This issue happens only on Mavericks, not on older systems. My program does not
take sandbox.
How to fix this issue? I sent a bug report last October but no response. Bug
report # is 15327760.
Yoshiaki Katayanagi
http://www.jizoh.jp/english.html
_______________________________________________
Cocoa-dev mailing list ([email protected])
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 [email protected]