Created attachment 1748278 [details] Screenshot of GNOME Terminal with one affected tab Description of problem: Whenever I open a directory on GNOME Files and use its right-click context menu to open a terminal at that location, then open a new tab by clicking the plus (+) icon to the left, the resulting tab and any other new tabs on that window start malfunctioning. The tab initially created when the window spawns on the screen is working as expected. Only new tabs on that window are affected. The first thing you would notice (see screenshot) is that the username in the shell prompt string is missing. That's the visual indication that you're affected by this. The biggest issue is that some commands misbehave on these tabs. For example, the CLI password manager "pass" cannot locate my password store, even though it works on terminal windows opened from the launcher. It's as if terminal windows opened from a file manager context menu were forgetting who am I. Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Close all running instances of GNOME Terminal 2. Open GNOME Files (the only file manager I've tested) 3. Right-click inside any directory 4. Select "Open in Terminal" 5. On the terminal window that spawns, open new tabs Actual results: The newly opened tabs in the affected window appear to be unaware of the user in their prompt strings, and they misbehave as described above. Expected results: New tabs on windows opened from a context menu should behave the same as tabs and windows opened by clicking the launcher button.
Created attachment 1748279 [details] Trying to run the "pass" command from a normal and a buggy window
I'm now running a fresh install of Fedora Workstation 34 Beta, and I can still reproduce this.
*** This bug has been marked as a duplicate of bug 1884977 ***