<div dir="ltr">Hi,<br><br>I have try to fix the issue <a href="https://bugs.kde.org/show_bug.cgi?id=446019">https://bugs.kde.org/show_bug.cgi?id=446019</a> with that MR => <a href="https://invent.kde.org/frameworks/kio/-/merge_requests/866">https://invent.kde.org/frameworks/kio/-/merge_requests/866</a> and it works fine on Dolphin. But for Kate, it doesn't work and I don't know why.<br><br>After checking the code of the FileBrowser plugin I see the KDirOperator class is well used, and internally it uses the KNewFileMenu. The list of MIME types is well passed to setNewFileMenuSupportedMimeTypes() => <a href="https://invent.kde.org/utilities/kate/-/blob/master/addons/filebrowser/katefilebrowser.cpp#L80">https://invent.kde.org/utilities/kate/-/blob/master/addons/filebrowser/katefilebrowser.cpp#L80</a>. And when I remove the text/plain MIME type I can't create a new file.<br><br><div>But I don't understand why when I rebuild KIO and after Kate, I don't see my debug logs in KIO. I suspect the KIO project is not used and I use the KIO from my system. But I don't understand why it works on Dolphin and not on Kate.</div><div><br></div><div>See above, commands used to build KIO and Kate and start Kate:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">desrc-build --no-include-dependencies --no-src kio && kdesrc-build --no-include-dependencies --no-src kate && kde_app_</span>src kate</span></div><br><div>The script <span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">kde_app_</span>src</span> is in Bash and contains:</div><div><br></div><div><span style="font-family:monospace"><span style="color:rgb(0,0,0);background-color:rgb(255,255,255)">source ~/projects/kde/build/kde/applications/$1/prefix.sh
</span><br>$1<br>
<br></span></div><div>Do you have an idea?</div><br>Thanks,<br><br>Alain Laporte.</div>