Bug 471044

Summary: Dolphin hangs when opening home directory with symlink to remote folder that is currently unavailable
Product: [Applications] dolphin Reporter: Daniel Rees <dan>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: kfm-devel
Priority: NOR    
Version: 23.04.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Daniel Rees 2023-06-15 00:28:28 UTC
SUMMARY
***
NOTE: If you are reporting a crash, please try to attach a backtrace with debug symbols.
See https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports
***


STEPS TO REPRODUCE
1. There is an existing symlink in home directory to a network file share via Autofs that is not mounted at the time Dolphin opens (e.g. ~/Music links to /mnt/server/Music where a remote NTFS server is normally mounted at /mnt/server, but not currently available). 

OBSERVED RESULT

Dolphin hangs when opening with the Home directory.

EXPECTED RESULT

Dolphin should elegantly ignore symlinks to remote folders which are not available.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

Removing the symlinks from home directory prevents the problem from arising.