<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="font-family: &#39;DejaVu Sans&#39;; font-size: 9pt; font-weight: 400; font-style: normal;">
<div class="im">
&gt; In such a case we miss loading of the default configuration from kritarc.<br>
&gt; So return d-&gt;parentFilter-&gt;defaultConfiguration(); instead :P<br></div>
No we don&#39;t, since the factory is mainly used by the bookmark manager when reading from kritarc, and by using d-&gt;parentFilter-&gt;defaultConfiguration(); we create an infinite loop, since:<br>
defaultConfiguration() calls the bookmarkmanager which call the createDefault() from factory which calls defaultConfiguration() which calls the bookmarkmanager which call the createDefault() from factory which calls defaultConfiguration() which....<br>

<p style="margin: 0px; text-indent: 0px;"></p></div></blockquote><div><br>In such a case we should name it another way, because it doesn&#39;t load &quot;real default configuration&quot; (that is seen as default by the user).<br>
What about KisFilterConfigurationFactory::factoryConfiguration() ? <br>It just creates a new object, but not default config.<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
</blockquote></div>Ok. Now i&#39;ve updated my patch to the fourth version =) <br><a href="http://reviewboard.kde.org/r/203/">http://reviewboard.kde.org/r/203/</a><br>Hope, it&#39;ll be the last one (concerning this very bug). I&#39;ve changed to/fromXML to be more like OpenRaster.<br>
<br>But i found some issues:<br>1a) KisPropertiesConfiguration doesn&#39;t conform to OpenRaster as it doesn&#39;t create something like <br><pre class="changedesc-text">&lt;filter name=&quot;perchannel&quot; type=&quot;applications:Krita:PerChannel&quot;&gt;...&lt;/filter&gt; </pre>
1b) It packs all the properties into CDATA structure. As i understood from specification properties should be written as simple text? Or this is the same?<br clear="all"><br><br>-- <br>Dmitry Kazakov<br>