[konsole] [Bug 450987] New: '--new-tab' does not inherit environment variables

Naotaka Horiguchi bugzilla_noreply at kde.org
Tue Mar 1 02:00:52 GMT 2022


https://bugs.kde.org/show_bug.cgi?id=450987

            Bug ID: 450987
           Summary: '--new-tab' does not inherit environment variables
           Product: konsole
           Version: unspecified
          Platform: RedHat RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: tabbar
          Assignee: konsole-devel at kde.org
          Reporter: naotaka at square-enix.com
  Target Milestone: ---

SUMMARY

A new shell by konsole inherit other tab's environment instead of the parent
shell.

STEPS TO REPRODUCE
1. close all of konsole and open other window-terminal (like xterm).
2. do "export AAA=1" to set environment at the other window-terminal.
3. do "konsole --new-tab"
4. confirm the "AAA" variable by "echo $AAA" at the new konsole window. it will
be 1 - correct.
5. do "export AAA=2" to set another value at the other window-terminal.
6. and, do "konsole --new-tab" again.
7. confirm the "AAA" variable by "echo $AAA" at the new konsole window. it is
still 1 - wrong.

OBSERVED RESULT
The new shell seams to inherit environment from the konsole process instead of
the executing process.

EXPECTED RESULT
The "AAA" value should be 2 at step 7.

SOFTWARE/OS VERSIONS
Linux: CentOS 7.9
Qt: 4.8.7
KDE Development Platform: 4.14.8
Konsole: 2.10.5

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list