I am seeing this in my application too, and turning off Markup did eliminate it. I was really glad to see your email about that. Makes me want to see if any other mysterious bugs go away with Markup turned off.
In my case it is not a subclass of a NSTextView, but a straight instance of one. David > On Jul 8, 2015, at 12:23 AM, Shane Stanley <sstan...@myriad-com.com.au> wrote: > > On 25 Oct 2014, at 10:23 am, Martin Wierschin <mar...@nisus.com> wrote: > >>> I have a subclass of a text view in my app. When I double-click on other >>> than a word (ie, a space or return), I get entries like these in the >>> Console: >>> >>> _NSExtensionIsSafeExpressionForObjectWithSubquerySubstitutions: Expression >>> considered unsafe: SUBQUERY(extensionItems, $extensionItem, >>> $extensionItem.attachments.@count == 1 AND >>> SUBQUERY($extensionItem.attachments, $attachment, (NOT ANY >>> $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "com.adobe.pdf") AND >>> (NOT ANY $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO >>> "public.image")).@count == 0).@count >> >> >> I observed this log statement during the Yosemite beta period, on a stock >> system with no additional extensions/apps installed, aside from my own app >> being tested on OS X 10.10. My app (which also uses an NSTextView subclass) >> produced that log statement, but TextEdit also produced a very similar log: >> >>> TextEdit[578]: >>> _NSExtensionIsSafeExpressionForObjectWithSubquerySubstitutions: Expression >>> considered unsafe: SUBQUERY($extensionItem.attachments, $attachment, ANY >>> $attachment.registeredTypeIdentifiers UTI-CONFORMS-TO "public.image") >> >> >> I filed it as rdar://17541734 <rdar://17541734> which was marked as a >> duplicate of rdar://17432480 <rdar://17432480> which is apparently closed >> now. Perhaps the problem was reintroduced, or this has a different source? >> >> In any case, I never observed any actual ill effects in my app whenever the >> logging was triggered. > > Just coming back to this... > > I *think* that the number of these entries seems to have increased since I > upgraded to 10.10.4 -- Console can be flooded with dozens at a time. But > I've also found that they *stop* if turn off the Markup extension, and start > back up when I turn it back on. > > Can anyone else who is seeing the problem confirm that turning Markup solves > the problem? nd aAny thoughts on how I might get Markup to stop poking in my > window, especially as it can't actually do anything there? > > -- > Shane Stanley <sstan...@myriad-com.com.au> > <www.macosxautomation.com/applescript/apps/> > > _______________________________________________ > > 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/david%40dwdurkee.com > > This email sent to da...@dwdurkee.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