Bug 428869 - Link to address (URL) > Select file has folder icon and acts like folder first
Summary: Link to address (URL) > Select file has folder icon and acts like folder first
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: 5.75.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-09 05:40 UTC by Thiago Sueto
Modified: 2020-11-09 05:40 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thiago Sueto 2020-11-09 05:40:45 UTC
As mentioned in the title, if you create a Link to address (URL) pointing to a local file, the icon shown is "folder". Additionally, it gets treated as a folder (it can be opened) and only after opening it is the file opened (a markdown file would be opened in Okular for instance).

It seems like inconsistent behavior to me given that all other kinds of usage are consistent:

If you make a URL to a folder, it shows a folder icon and behave like one.
If you make a URL to a kioslave like man://, it shows a help-contents icon and opens the main man:// folder.
If you make a URL to a kioslave like fonts://, it shows a preferences-desktop-font-installer icon, opening the main font folder.
If you make a URL to a website, it shows a text-html icon, and it opens on your browser.

SOFTWARE/OS VERSIONS
Operating System: Fedora 34 (Rawhide, Wayland session)
Plasma Version: 5.20.2
KDE Frameworks Version: 5.75.0
Qt Version: 5.15.1