Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1917145 - Terminal instances started from a file manager context menu are broken
Summary: Terminal instances started from a file manager context menu are broken
Keywords:
Status: CLOSED DUPLICATE of bug 1884977
Alias: None
Product: Fedora
Classification: Fedora
Component: gnome-terminal
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Debarshi Ray
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-17 14:50 UTC by Douglas
Modified: 2021-05-18 18:29 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-18 18:29:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Screenshot of GNOME Terminal with one affected tab (20.23 KB, image/png)
2021-01-17 14:50 UTC, Douglas
no flags Details
Trying to run the "pass" command from a normal and a buggy window (137.45 KB, image/png)
2021-01-17 14:51 UTC, Douglas
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNOME Gitlab GNOME/gnome-terminal - issues 303 0 None None None 2021-02-04 16:06:41 UTC

Description Douglas 2021-01-17 14:50:11 UTC
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.

Comment 1 Douglas 2021-01-17 14:51:23 UTC
Created attachment 1748279 [details]
Trying to run the "pass" command from a normal and a buggy window

Comment 2 Douglas 2021-04-11 23:24:06 UTC
I'm now running a fresh install of Fedora Workstation 34 Beta, and I can still reproduce this.

Comment 3 Debarshi Ray 2021-05-18 18:29:20 UTC

*** This bug has been marked as a duplicate of bug 1884977 ***


Note You need to log in before you can comment on or make changes to this bug.