I understand that my program is doing it wrong. But is it normal to have an assertion failure, rather than an error return?
> On Apr 7, 2018, at 12:04 PM, Rob Petrovec <petr...@mac.com> wrote: > > It’s saying that you are doing it wrong. Utility windows cannot go full > screen. You have yours set to go full screen. It shouldn’t be. > > —Rob > > >> On Apr 7, 2018, at 10:24 AM, Alan Snyder <applemail832...@cbfiddle.com> >> wrote: >> >> I am getting an assertion failure notice on the console when running a small >> test program: >> >> Assertion failure in -[AWTWindow_Panel _validateCollectionBehavior:], >> /Library/Caches/com.apple.xbs/Sources/AppKit/AppKit-1504.83.101/AppKit.subproj/NSWindow.m:14741 >> >> (This message is on 10.12.6, the details are different on 10.13.) >> >> When run under Xcode, there is more information: utility panels cannot be >> fullscreen primary >> >> My question—does this represent a bug in AppKit that I should report, or is >> it trying to help me by explaining that my program provided an unsupported >> set of style bits when creating a window? >> >> Alan >> >> _______________________________________________ >> >> 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/petrock%40mac.com >> >> This email sent to petr...@mac.com > _______________________________________________ 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