Bug 405678 - Wrong mime type for folders in KDevelop file tree sftp (kio) items
Summary: Wrong mime type for folders in KDevelop file tree sftp (kio) items
Status: REPORTED
Alias: None
Product: kdevelop
Classification: Applications
Component: file tree (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-20 10:59 UTC by Murz
Modified: 2019-03-20 10:59 UTC (History)
0 users

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 Murz 2019-03-20 10:59:32 UTC
When I select "Open with ยป External Applications" action on "sftp folder" (and maybe any other kde-kio item?) item into file tree widget and select some app, I see the dialog:

> Do you want to open all 'application/octet-stream' files by default with [MyCoolApp]?

So KDevelop detects wrong mime type 'application/octet-stream' for folders in list. As result, this app will applied to all other regular files with unknown extension.

Also when I select default "Open" item - KDevelop also try to open folder as file in internal text editor, instead of opening folder in file tree.

Same actions on local folders works well, because KDevelop detect right type of item 'inode/directory'.

Can you fix this problem or provide some workaround for open sftp folders in external app?