Bug 515692

Summary: Dolphin only unmounts auto-mountable cifs share on the second attempt
Product: [Applications] dolphin Reporter: Patrick Silva <bugseforuns>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: dolphin-bugs-null
Priority: NOR    
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Patrick Silva 2026-02-07 19:29:17 UTC
STEPS TO REPRODUCE
1. set your system to auto-mount a cifs share via fstab file
2. in Dolphin, right-click on the entry of your cifs share, under "Network" section of the Places panel, and choose "Mount"
3.  right-click on the entry of your cifs share again and this time choose "Unmount"

OBSERVED RESULT
the cifs share remains mounted. If I repeat the last step, the cifs share is unmounted, as expected.

EXPECTED RESULT


SOFTWARE/OS VERSIONS
Operating System: KDE neon Unstable Edition
KDE Plasma Version: 6.6.80
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.1
Graphics Platform: Wayland

ADDITIONAL INFORMATION
The cigs shares in my fstab file:

#cifs
//192.168.0.50/2TB /cifs/2TB_CIFS cifs workgroup=workgroup,users,guest,iocharset=utf8,noauto,x-systemd.automount,x-systemd.device-timeout=10ms,_netdev
//192.168.0.50/TOSHIBA /cifs/TOSHIBA_CIFS cifs workgroup=workgroup,users,guest,iocharset=utf8,noauto,x-systemd.automount,x-systemd.device-timeout=10ms,_netdev
//192.168.0.50/WIN10 /cifs/WIN10_CIFS cifs workgroup=workgroup,users,guest,iocharset=utf8,noauto,x-systemd.automount,x-systemd.device-timeout=10ms,_netdev
//192.168.0.50/WD /cifs/WD_CIFS cifs workgroup=workgroup,users,guest,iocharset=utf8,noauto,x-systemd.automount,x-systemd.device-timeout=10ms,_netdev
//192.168.0.50/DADOS /cifs/DADOS_CIFS cifs workgroup=workgroup,users,guest,iocharset=utf8,noauto,x-systemd.automount,x-systemd.device-timeout=10ms,_netdev
Comment 1 Patrick Silva 2026-02-07 19:36:00 UTC
I cannot reproduce if the "x-systemd.automount" mount option is removed from the fstab file.

EXPECTED RESULT
the cifs share should be unmounted in the last step.