Bug 421337

Summary: Switching Dolphin tabs or directories twice quickly causes terminal directory to desync
Product: [Applications] dolphin Reporter: nyanpasu64 <nyanpasu64>
Component: panels: terminalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: CONFIRMED ---    
Severity: minor CC: eduardo.cruz, just4privacythings, kde, kfm-devel, kishore96, mail
Priority: NOR    
Version: 21.08.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description nyanpasu64 2020-05-11 14:05:52 UTC
SUMMARY
If you switch tabs or directories twice in a row, the second switch doesn't get sent to the terminal.

STEPS TO REPRODUCE
1. Open Dolphin and press F4 to open the terminal. I'm using fish shell.
2. Click on a folder.
3. Press Enter and Backspace very quickly.

Alternatively you can switch between tabs.

OBSERVED RESULT
The terminal switches to the folder, but doesn't back out.

EXPECTED RESULT
The terminal switches to the folder and back to the parent directory.

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20200508
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.69.0
Qt Version: 5.14.1
Kernel Version: 5.6.11-1-default
OS Type: 64-bit
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 7.6 GiB of RAM

ADDITIONAL INFORMATION
Comment 1 Julian Steinmann 2020-05-17 08:57:56 UTC
Thank you for your report. Can confirm with Dolphin 20.07.70 on Neon Unstable. Given that the terminal should sync correctly again when you click on another folder, I consider this to be a rather minor issue.
Comment 2 Eduardo 2021-09-24 01:30:14 UTC
It's not a minor issue if somebody is planning to run a "rm *" command while being unaware that the directory in the terminal could not be what they are seeing in dolphin. Could cause serious damage to somebody.

We shouldn't overlook it and treat it as minor, it's a bug and it must be fixed. I myself have been annoyed by it enough to search for a bug report.

It still happens, so I'm updating the version.