• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
IKSaveOptions have trouble on Mavericks
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

IKSaveOptions have trouble on Mavericks


  • Subject: IKSaveOptions have trouble on Mavericks
  • From: email@hidden
  • Date: Fri, 28 Mar 2014 11:29:21 +0900

 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@hidden)

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:

This email sent to email@hidden


  • Prev by Date: Re: NSInteger/NSUInteger Considerations (64 bit)
  • Next by Date: Multiple methods named 'compare:' found
  • Previous by thread: Backup/restore Core Data SQLite store on iOS 7
  • Next by thread: Multiple methods named 'compare:' found
  • Index(es):
    • Date
    • Thread