Bug 416686 - On Windows, make .URL files instead of .desktop when KDE Dolphin creates link to Internet URL
Summary: On Windows, make .URL files instead of .desktop when KDE Dolphin creates link...
Status: CONFIRMED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: David Faure
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-01-24 11:36 UTC by Murz
Modified: 2020-01-31 04:51 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.