Bug 485946 - Dolphin does not show directory/folder thumbnail for any remotely mounted directory.
Summary: Dolphin does not show directory/folder thumbnail for any remotely mounted dir...
Status: RESOLVED DUPLICATE of bug 485984
Alias: None
Product: dolphin
Classification: Applications
Component: view-engine: general (show other bugs)
Version: 24.02.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-22 09:11 UTC by Duy Truong
Modified: 2024-05-14 20:05 UTC (History)
3 users (show)

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


Attachments
Remote vs Local view. (1.11 MB, image/png)
2024-04-22 09:11 UTC, Duy Truong
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Duy Truong 2024-04-22 09:11:27 UTC
Created attachment 168788 [details]
Remote vs Local view.

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***

SUMMARY


STEPS TO REPRODUCE
1. Open Dolphin
2. Open Configure Dolphin > Interface > Previews, making sure "Folders" is selected
3. Set "skip previews for remote files above" to "999999 MiB" and Apply
4. Make sure View (menu) > Show Previews is enabled
5. Use Dolphin to browse to local ~/Pictures/ and observe directory thumbnails (of pictures/videos within those directories) are being shown
6. Use sshfs to mount a SFTP directory with pictures (e.g. `sshfs user@192.168.1.234:~/Pictures ~/sshfsmount`)
7. Use dolphin to browse to the mounted sshfs directory. Observe no directory thumbnail is being shown. Note that individual files' thumbnails are still shown correctly.
8. Use dolphin to view the same remote directory (by typing in `sftp://user@192.168.1.234:~/Pictures` in the address bar). Observe the network mount via dolphin/kio also had individual file thumbnails but did not have directory thumbnails.
9. Use Nautilus to mount the same network folder, via GVFS. This mounts the remote directory at /run/user/1000/gvfs/sftp:host=192.168.1.234,user=user. Use Dolphin to browse to this location. Observe that this also results in only individual files having thumnails but no directory/folder thumbnail.

OBSERVED RESULT
Folder thumbnails only work on local directories.

EXPECTED RESULT
Folder thumbnails should also work on remotely mounted directories.

Note that all files in the example directory used are under 5MB, and the entire directory is under 200MB.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0 
Qt Version: 6.7.0
Kenrel 6.8.7 on Wayland

ADDITIONAL INFORMATION
Comment 1 Duy Truong 2024-04-23 19:30:00 UTC
Some additional information: I tried an older installation of Debian, on i3 on X, running older version of Dolphin (23.08.1 instead of 24.02.2) and it seems like the old Dolphin does not have problem generating directory thumbnails for GVFS mounted remote directories.
Comment 2 Paul Meier 2024-04-26 14:53:24 UTC
Can confirm, no thumbnails for folders and some files on NFS mounted shares
Comment 3 Paul Meier 2024-04-26 14:57:18 UTC
Sorry, ignore the some files not having thumbnails part, the files were larger than the thumbnail file size limit set in dolphin
Comment 4 Sergey Katunin 2024-05-14 20:05:36 UTC

*** This bug has been marked as a duplicate of bug 485984 ***