Bug 461519

Summary: Launching .desktop applications causes empty new tab "Loading cancelled"
Product: [Applications] dolphin Reporter: AvidSeeker <avidseeker7>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel, markcapella, nicolas.fella
Priority: NOR    
Version: 22.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description AvidSeeker 2022-11-06 20:57:58 UTC
$ cat shortcut.desktop

[Desktop Entry]
Icon=text-markdown
Name=shortcut
Type=Link
URL[$e]=file:///home/user/note.md

$ dolphin shortcut.desktop

results in opening note.md in the default markdown editor, but dolphin has an empty new tab showing "Loading cancelled". Expected behavior is to open shortcut.desktop without new tabs in dolphin.
Comment 1 Nicolas Fella 2022-11-07 22:58:43 UTC
The behavior is the same for any file, not just .desktop files

That said, why would you pass a file to Dolphin in the first place? It's a file manager, so it makes sense to pass folders to it, but not files. I'd say the fact that it does something vaguely useful is more accidental than anything else
Comment 2 Nicolas Fella 2022-11-07 23:01:44 UTC
I see that clicking the desktop file in Dolphin also causes the view to change to "Loading cancelled". That's certainly not expected