[konsole] [Bug 458591] OSC 7 stopped working to preserve path when creating a new tab

Harald Sitter bugzilla_noreply at kde.org
Sat Oct 22 19:16:12 BST 2022


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

Harald Sitter <sitter at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/konsole/commit/252eab
                   |                            |8537d8274ed32cb0a008f5d6ce9
                   |                            |109908f
         Resolution|---                         |FIXED

--- Comment #5 from Harald Sitter <sitter at kde.org> ---
Git commit 252eab8537d8274ed32cb0a008f5d6ce9109908f by Harald Sitter.
Committed on 21/10/2022 at 15:17.
Pushed by hindenburg into branch 'release/22.08'.

don't lose environment variables

the resetting was nonesense, Pty appends _environment on top of the
existing environment, so concat the two for potential sandboxing (the
ksandbox class will only apply the diff to system environment anyway).
once the sandboxing was applied reset the actual process environment to
the original variable rather than emptying it, this prevents us from
losing variables when outside a sandbox

M  +3    -3    src/session/Session.cpp

https://invent.kde.org/utilities/konsole/commit/252eab8537d8274ed32cb0a008f5d6ce9109908f

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


More information about the konsole-devel mailing list