From kde-frameworks-devel Thu Jun 24 13:27:39 2021 From: Martin Koller Date: Thu, 24 Jun 2021 13:27:39 +0000 To: kde-frameworks-devel Subject: kipi-plugins question Message-Id: <15201916.OoNcFzzc2T () lapi> X-MARC-Message: https://marc.info/?l=kde-frameworks-devel&m=162455098309387 Hi, when using the KIPI mechanism in my application, I get log messages like: kipi.library: This should only be invoked if the host application supports = KIPI::Features ( HostSupportsMetadataProcessing ). If host application do s= upport that, then this function should have been overridden in the KIPI hos= t interface. Note that my host application does not support HostSupportsMetadataProcessi= ng. What I understand is that KIPI::Interface::createMetadataProcessor() should= only be called by a plugin if interface->hasFeature(KIPI::HostSupportsMetadataProcessing) but e.g. in yandexfotki/yfwindow.cpp (and others) there is no call to hasFe= ature() and the method is just called without the check. (at least it checks if the= value returned is nullptr, but in rajce/rajcesession.cpp it is not checked and might actually crash) I assume this are bugs in the plugins, and the idea of the Interface class = was to actually must use a call to hasFeature(), right ? =2D-=20 Best regards/Sch=F6ne Gr=FC=DFe Martin A: Because it breaks the logical sequence of discussion Q: Why is top posting bad? () ascii ribbon campaign - against html e-mail=20 /\ - against proprietary attachments =46r=FChst=FCck, Geschenkideen, Accessoires, Kulinarisches: www.lillehus.at