Gnome Terminal no longer preserves working directory


Happy Fedora 32 user here. I just reinstalled my machine because of a problem I have had for a while. I had the problem on F31 before doing a fresh F32 reinstall, and I expected it to be solved. However, on F32, it came back:

For the first hour or so, Gnome Terminal and Tilix work as expected: When I create a new terminal tab, the working directory is inherited from the “parent” terminal. However, all of a sudden this stops working after an hour or so. Then, all new terminals start from my home directory.

I’m using Fish shell, with the standard command prompt, and the problem came without any customizations to the fish setup. The problem also persists when I change my default shell back to bash and log out/log in again.

On this fresh install, I have installed restic fzf fish ripgrep neovim tilix and nothing else. I have added a custom font for the terminal, and changed to a preinstalled color theme. I have also restored my files from a backup, but nothing that should interfere with the shell (I haven’t installed custom fish.config or anything)

Can anyone help me debug this and find the cause of the problem?

Edit: Sorry for the noise, didn’t post to the right forum. Moving the post to Ask Fedora instead: Gnome Terminal doesn't inherit working directory - #2 by jazzpianist - Ask Fedora