site_archiver@lists.apple.com Delivered-To: pro-apps-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:message-id:mime-version:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=7UFyUG bhm9VOB96fYJyGgl/E6q5CGTJRF6OzqMKJX9E=; b=UDRXUkrKzs7dj99j9cBEdZ 5c4bxxnlDlo2hqYOmum4ysM2QhIQDnUq7z1eUzeeBqraDQqVJ5fRDSktqio+crW7 hLZqU3a1dUAIrcWiG4IkNZ40hONewKmt0IdVO3BwIJBCPBfb6D9BzLdn7ks7Jd5a Z6btBw9cVfvg/tUy7oHsCo92sOpjOfyo2KmrC2tdrLlF37XeRv8YUBTg8ZEAkDHL oiPHE80O2DnLg1c7ojugfcAdMfAc3Lpd+4ZikNL37jcAkIKGt6LZy1RiLEe8c8VF 4qruAd4gEPdMNAnNiBKBD5nPo1BCnRuYijcuvItcQfqYKA3/W9CgmIJbgOuoIH6g == User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0 Good day pro-apps-dev, Best regards, Sergey _______________________________________________ Do not post admin requests to the list. They will be ignored. Pro-apps-dev mailing list (Pro-apps-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/pro-apps-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com We are in the process of porting our plug-in onto FxPlug 4 (right now we are still on v2.x) and we struggle with making the basic things work via XPC. Our plug-in has its own custom UI based on Qt which is triggered by a Push Button. I am following the FxSimpleColorCorrector example and have been able to create a custom view (just a regular rectangular NSView with a child NSButton; should you ask, I cannot use addPushButtonWithName for the purpose as its selector is handled in the background thread which is not suitable for UI tasks, its visual representation is not perfect either) Now obviously, our custom dialog must be pre-filled with current values of the custom parameters. However the FxParameterRetrievalAPI_v6 seems to be inaccessible in the handler selector of the push button. The _apiManager apiForProtocol returns nil no matter what. Funny enough, in the FxSimpleColorCorrector example the FxParameterRetrievalAPI_v6 is accessible inside drawRect selector, but not accessible inside mouseDown (which is similar to my situation). Is there a reason why the interface is inaccessible in some selectors, but accessible in others? Can you suggest any solution/workaround?