My build of Kate seems not use my build of KIO

Alain Laporte alain.laporte12345 at gmail.com
Wed Jun 15 07:19:12 BST 2022


Hi,

I have try to fix the issue https://bugs.kde.org/show_bug.cgi?id=446019
with that MR => https://invent.kde.org/frameworks/kio/-/merge_requests/866
and it works fine on Dolphin. But for Kate, it doesn't work and I don't
know why.

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() =>
https://invent.kde.org/utilities/kate/-/blob/master/addons/filebrowser/katefilebrowser.cpp#L80.
And when I remove the text/plain MIME type I can't create a new file.

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.

See above, commands used to build KIO and Kate and start Kate:

desrc-build --no-include-dependencies --no-src kio && kdesrc-build
--no-include-dependencies --no-src kate && kde_app_src kate

The script kde_app_src is in Bash and contains:

source ~/projects/kde/build/kde/applications/$1/prefix.sh
$1

Do you have an idea?

Thanks,

Alain Laporte.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwrite-devel/attachments/20220615/f49751bf/attachment.htm>


More information about the KWrite-Devel mailing list