When using OpenGL renderer on OSX which does the rendering in another thread.
If in my paint function I use juce::Component::isMouseOver
I get this warning in the Xcode console.
=================================================================
Main Thread Checker: UI API called on a background thread: -[NSView superview]
PID: 5325, TID: 302661, Thread name: Pool, Queue name: com.apple.root.default-qos.overcommit, QoS: 0
Backtrace:
4 FalconSA 0x000000010041c7a8 _ZNK4juce19NSViewComponentPeer9getBoundsEb + 120
5 FalconSA 0x000000010041b4f6 _ZN4juce19NSViewComponentPeer13globalToLocalENS_5PointIfEE + 22
6 FalconSA 0x0000000100421ff2 _ZN4juce9Component16ComponentHelpers22convertFromParentSpaceINS_5PointIfEEEET_RKS0_S5_ + 418
7 FalconSA 0x0000000100373114 _ZNK4juce9Component11isMouseOverEb + 724
8 FalconSA 0x00000001001a1a29 _ZN6falcon17ModuleTypeAndName5paintERN4juce8GraphicsE + 73
9 FalconSA 0x000000010036d82e _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 126
10 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
11 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
12 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
13 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
14 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
15 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
16 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
17 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
18 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
19 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
20 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
21 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
22 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
23 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
24 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
25 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
26 FalconSA 0x000000010036da43 _ZN4juce9Component25paintComponentAndChildrenERNS_8GraphicsE + 659
27 FalconSA 0x000000010044bba3 _ZN4juce13OpenGLContext11CachedImage14paintComponentEv + 531
28 FalconSA 0x000000010044b4e2 _ZN4juce13OpenGLContext11CachedImage11renderFrameEv + 338
29 FalconSA 0x000000010044a450 _ZN4juce13OpenGLContext11CachedImage6runJobEv + 128
30 FalconSA 0x00000001002be231 _ZN4juce10ThreadPool10runNextJobERNS0_16ThreadPoolThreadE + 49
31 FalconSA 0x00000001002db91f _ZN4juce10ThreadPool16ThreadPoolThread3runEv + 47
32 FalconSA 0x00000001002bbeca _ZN4juce6Thread16threadEntryPointEv + 330
33 FalconSA 0x00000001002d52da _ZN4juceL15threadEntryProcEPv + 26
34 libsystem_pthread.dylib 0x0000000102f74dc3 _pthread_body + 126
35 libsystem_pthread.dylib 0x0000000102f77e8d _pthread_start + 66
36 libsystem_pthread.dylib 0x0000000102f73e11 thread_start + 13