Bug 416687

Summary: Add support for Windows .URL files to open Internet URL from file content via KDE Dolphin
Product: [Frameworks and Libraries] frameworks-kio Reporter: Murz <MurzNN>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: CONFIRMED ---    
Severity: wishlist CC: bugseforuns, kde, kdelibs-bugs-null, kfm-devel, nate, yanth
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:39:31 UTC
Windows creates .URL files as links to URLs, example of content:
---
[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

When opening file with .URL extension, Windows Explorer opens Internet Browser with target URL. Will be good to have same behavior in KDE Dolphin too.

So will be good if Dolphin creates files in same format, like other operation systems.
Comment 1 Kai Uwe Broulik 2020-01-24 14:32:13 UTC
Fwiw Wine registers a handler for those files but perhaps some handling for those files could be added to KRun, re-assigning.