Files icon indicating copy to clipboard operation
Files copied to clipboard

"Applications" can't be launched.

Open FelixZacher opened this issue 6 years ago • 5 comments

Describe the bug "Applications" can't be launched.

Reason:

I'm a german user. "Applications" have the filetype "Anwendung". The german word for Application. So the check if a clicked item is an application fails: https://github.com/duke7553/files-uwp/blob/7fe319b0673a1dc6b8a0902a084fc0bb0448a2e5/Files%20UWP/Interacts/Interaction.cs#L450

Screenshots Files_Bug_LaunchingApplications

Desktop (please complete the following information):

  • OS Version: [e.g. Windows 10 1903 18362.535]
  • App version: [v0.6.6.0]

FelixZacher avatar Dec 18 '19 00:12 FelixZacher

There would definitely be a lower-level solution to detect executables more efficiently.

KaKi87 avatar Dec 23 '19 20:12 KaKi87

Right now the FileType is taken from StorageFile.DisplayType. Might be better to use StorageFile.ContentType.

jeffsieu avatar Dec 23 '19 23:12 jeffsieu

@jeffsieu I saw this on stackoverflow https://stackoverflow.com/questions/3693891/how-to-determine-if-a-file-is-executable, not sure if it would be useful for us.

yair100 avatar Dec 24 '19 04:12 yair100

A fix for this will be included in v0.7.

yair100 avatar Dec 30 '19 21:12 yair100

You can download v0.7.0 here.

yair100 avatar Feb 13 '20 02:02 yair100