Bug 510250

Summary: Open Terminal Here(i use Ghostty) shortcut don't pass the current directory as working directory to terminal
Product: [Applications] dolphin Reporter: SpriteOvO
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: REPORTED ---    
Severity: normal CC: aristsakas, dolphin-bugs-null, grantaidj, kodyvonbargen
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description SpriteOvO 2025-10-05 04:20:02 UTC
SUMMARY

I'm using Ghostty, and I remember this used to work. And I've set Ghostty option `gtk-single-instance = false` in `~/.config/ghostty/config` to better observe the options passed in by Dolphin.

STEPS TO REPRODUCE

1. Ctrl+Alt+T, open the first Ghostty terminal.
2. Navigate to some directory in Dolphin.
3. Press Open Terminal Here shortcut in Dolphin (FWIW, I remember before it was Shift+F4 but in settings it is Alt+Shift+F4 now, anyway I have tried both and they produce the same result)
4. Click "Open Ghostty Here" from the right-click menu in Dolphin.

OBSERVED RESULT

Observe the three Ghsotty process launch options: (in order of launch)
```
/usr/bin/ghostty --gtk-single-instance=true --initial-window=false
/usr/bin/ghostty
/usr/bin/ghostty --working-directory=/home/asuna/dev
```

EXPECTED RESULT

```
/usr/bin/ghostty --gtk-single-instance=true --initial-window=false
/usr/bin/ghostty --working-directory=/home/asuna/dev
/usr/bin/ghostty --working-directory=/home/asuna/dev
```

SOFTWARE/OS VERSIONS

Operating System: Arch Linux
KDE Plasma Version: 6.4.5
KDE Frameworks Version: 6.18.0
Qt Version: 6.9.2
Comment 1 Kody 2026-01-08 04:45:05 UTC
When I'm using Ghostty as the default terminal emulator, I also experience the issue of shift+F4 or alt+shift+F4 opening to the currently focused path only if no other instances of Ghostty are up, otherwise it opens to an existing instance's PWD.

I tried it with Konsole, Kitty, and WezTerm, but did not encounter the same issue with any of those other terminal emulators being set as the default. 

Operating System: Arch Linux
KDE Plasma Version: 6.5.4
KDE Frameworks Version: 6.21.0
Qt Version: 6.10.1