Bug 416686

Summary: On Windows, make .URL files instead of .desktop when KDE Dolphin creates link to Internet URL
Product: [Frameworks and Libraries] frameworks-kio Reporter: Murz <MurzNN>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: kde, kdelibs-bugs-null, kfm-devel, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Murz 2020-01-24 11:36:19 UTC
At now when users drag&drop url string from any Web Browser and select "Link here" - Dolphin creates .desktop file with contents like this:
---
[Desktop Entry]
Icon=text-html
Name=https://bugs.kde.org/enter_bug.cgi?product=dolphin
Type=Link
URL[$e]=https://bugs.kde.org/enter_bug.cgi?product=dolphin
---

But same operation on Windows creates .URL file with name from page title and content like this:
---
[InternetShortcut]
URL=https://bugs.kde.org/enter_bug.cgi?product=dolphin
IDList=
HotKey=0
IconIndex=0
---

Documentation of .URL format can be found here: https://fileinfo.com/extension/url

So will be good if Dolphin creates files in same format, like other operation systems.
Comment 1 Kai Uwe Broulik 2020-01-24 14:33:00 UTC
Perhaps when run on Windows but not Linux, where .desktop files are standardized across desktops.
Comment 2 Nate Graham 2020-01-28 17:45:10 UTC
Yeah, we wouldn't do this on Linux.
Comment 3 Murz 2020-01-31 04:51:45 UTC
Maybe make this on Linux optional via something like "Make Windows compatible link"? Because often we need to make links on folders, shared with Windows users.