Bug 491659 - Dolphin doesn't recognize type of files without extensions on sshfs
Summary: Dolphin doesn't recognize type of files without extensions on sshfs
Status: REPORTED
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 24.05.2
Platform: NixOS Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-13 10:23 UTC by xezo360hye@gmail.com
Modified: 2024-08-13 10:26 UTC (History)
2 users (show)

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


Attachments
Comparison of how the same PDF file on local storage and sshfs are shown in Dolphin (128.61 KB, image/png)
2024-08-13 10:23 UTC, xezo360hye@gmail.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description xezo360hye@gmail.com 2024-08-13 10:23:10 UTC
Created attachment 172578 [details]
Comparison of how the same PDF file on local storage and sshfs are shown in Dolphin

SUMMARY
Dolphin doesn't recognize type of files without extensions on sshfs (possibly other remote connections too, will try later). Previews unavailable, "Type: Unknown" in properties, doesn't know how to open them

STEPS TO REPRODUCE
1. Mount a remote directory using sshfs (works with both manual mounting and fstab)
2. Open the remote directory in dolphin, drop some files without extensions there
3. Notice how they don't have previews and opening them prompts for app
4. Add back original file extension and see how opening works fine now

OBSERVED RESULT
Dolphin shows the "?" icon and doesn't know how to open files on sshfs

EXPECTED RESULT
File type icons or previews are shown and files open in default apps

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: NixOS unstable
KDE Plasma Version: 6.1.4
KDE Frameworks Version: 6.4.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
I checked how pcmanfm, pcmanfm-qt and thunar work with sshfs and they appear to do what is expected, file types recognized, previews available where set up and opening works too