window-inherit-working-directory gets stuck after some time #8514
Unanswered
uloco
asked this question in
Issue Triage
Replies: 2 comments 3 replies
-
|
i leave ghostty running for upwards of 30+ days at a time and have never seen this you also dont need to set |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
Can you try the latest tip release and see if this still happens? The pwd is reported by the shell, so it could be there too. I don't see yet how time would affect either though. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Issue Description
After having ghostty open for some time (probably over night), the issue starts happening. At some point the working directory is stuck on the directory the tab was left open. All my new tabs from this tab will point to the same directory even when I switch directories. Creating new tabs and cd from there works correctly as it should, but the old tab behaves the same after that, too. So it must be something related to the old tab, where the working directory detection and inheritance gets stuck. This also applies to splits or windows.
ghostty-window-inherit-bug.mov
Expected Behavior
With my current configuration, windows, splits and tabs should always use the current directory and not get stuck in an old directory I used when I left the tab open.
Actual Behavior
Working directory stops working for tabs that are left open for some time
Reproduction Steps
Hard to reproduce unfortunately since it happens randomly. Manually setting my mac to sleep did not reproduce this issue. But It happens like a couple of times per week, it's quite annoying.
Ghostty Logs
Ghostty Version
OS Version Information
macOS 15.6.1 (24G90)
(Linux only) Display Server
None
(Linux only) Desktop Environment/Window Manager
No response
Minimal Ghostty Configuration
Additional Relevant Configuration
No response
I acknowledge that:
```) on separate lines.Beta Was this translation helpful? Give feedback.
All reactions