Created attachment 145206 [details] Error message after pressing "Explore in Filelight" If you right click on a folder in Dolphin, you can choose the "Properties" menu. In the tab "General", there is a button "Explore in Filelight" which normally opens Filelight which displays a graphical statistics about the directory's content. If you try to do the same with a folder of an MTP device like an Android phone, this function fails with an error message popping up that the folder could not be read. Note that it is possible to open the folder of the MTP device from within Filelight directly, so this is why I think Dolphin is to blame here. STEPS TO REPRODUCE 1. Plug in an Android phone by USB, choose the USB setting "Files" on the phone 2. Browse into the phone's file system with Dolphin, right click on any folder and press the button "Explore in Filelight" OBSERVED RESULT An error message pops up, see screenshot EXPECTED RESULT Filelight should be opened and show a statistics of the folder SOFTWARE/OS VERSIONS Linux/KDE Plasma: OpenSUSE Tumbleweed 20220106 KDE Plasma Version: 5.23.4 KDE Frameworks Version: 5.89.0 Qt Version: 5.15.2
Git commit f94a6f7fb1de8612d6d9f5134b586997385b8120 by Nicolas Fella. Committed on 07/01/2022 at 21:38. Pushed by nicolasfella into branch 'release/21.12'. Announce that we accept urls, not just files in the desktop file Filelight can handle any KIO urls. However we claim that we can only handle file paths in the desktop file, which results in kioexec being triggered when launching Filelight via KIO::ApplicationLauncherJob Instead state that we can handle URLs so ApplicationLauncherJob knows that it can pass URLs right through M +1 -1 misc/org.kde.filelight.desktop https://invent.kde.org/utilities/filelight/commit/f94a6f7fb1de8612d6d9f5134b586997385b8120