Bug 509253

Summary: In SMB shares, Dolphin displays "No shared folders found" in empty folders instead of "folder is empty".
Product: [Applications] dolphin Reporter: yoann.yvin
Component: panels: foldersAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version First Reported In: 25.08.0   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Empty SMB folder

Description yoann.yvin 2025-09-07 22:31:47 UTC
Created attachment 184796 [details]
Empty SMB folder

SUMMARY
In SMB shares, Dolphin displays "No shared folders found", which makes no sense.

STEPS TO REPRODUCE
1. Go to an empty folder in an SMB share with Dolphin (smb://server/empty_folder/)

OBSERVED RESULT
Dolphin displays "No shared folders found". This is the shared folder, it's empty, there's no actual error.
Creating a file makes the message disappear, even though it was about folders.

EXPECTED RESULT
Dolphin should display "Folder is empty", or "Shared folder is empty".

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora 42
KDE Plasma Version: 6.4.4-1