My build of Kate seems not use my build of KIO

Alain Laporte <[email protected]>
Newsgroups gmane.comp.kde.devel.kwrite
Message-ID <CAKscb0RjXhkNggOm3Ekd9nh2Z2XD6mfebKS6eXnZ1OG_Km+biw@mail.gmail.com>
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.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.