Bug 400738

Summary: Recreating a directory isn't recognised in Dolphin when the embedded Terminal is open
Product: [Applications] dolphin Reporter: Janek <xerusx>
Component: panels: terminalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: normal CC: bugseforuns, justin.zobel
Priority: NOR    
Version First Reported In: 18.08.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Janek 2018-11-06 12:46:07 UTC
SUMMARY
When directories are deleted and recreated (for example for builds), Dolphin doesn't automatically reopen them if the embedded Terminal is open.

STEPS TO REPRODUCE
1. Open Dolphin and open the embedded Terminal
2. Delete the directory you are currently in (externally)
3. Recreate the directory (externally) and press F5 in Dolphin

OBSERVED RESULT
Once the folder is deleted, dolphin shows "folder (deleted)" in the address bar, so the terminal executes "cd 'folder (deleted)'" and Dolphin tells me this folder doesn't exist (who would've guessed...). When the folder is recreated, it insists on it not existing, since it cd'd away.

EXPECTED RESULT
- The Terminal doesn't cd into 'folder (deleted)'
- Dolphin recognises the folder is recreated
Comment 1 Patrick Silva 2019-02-21 16:43:38 UTC
reproducible with dolphin 18.12.2

Operating System: Arch Linux 
KDE Plasma Version: 5.15.1
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.1
Comment 2 Justin Zobel 2020-10-27 01:22:06 UTC
Can confirm on KDE Neon Unstable.