In the current code base we can find Krita's desktop file are using %U / %u as argument in the .desktop's Exec key. While Krita doesn't support file:// scheme url as a launch argument,
for some file manager app like PCManFM (pcmanfm-qt, with LXDE or LXQT) and Deepin File Manager (dde-file-manager, with Deepin Desktop Envrioment), it will use a file:// scheme URL to replace the %u argument. Thus Krita can't open file correctly.
This patch is doing the work about adding support for file:// scheme URLs.