[konsole] [Bug 497519] Konsole Flatpak inserts an unexpected penultimate argument when the start command includes more than just the program

Kurt Hindenburg bugzilla_noreply at kde.org
Fri Dec 20 19:23:22 GMT 2024


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

Kurt Hindenburg <khindenburg at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/util
                   |                            |ities/konsole/-/commit/a114
                   |                            |a162152de31ed90e1409258a4c3
                   |                            |3452e02d7
         Resolution|---                         |FIXED
             Status|ASSIGNED                    |RESOLVED

--- Comment #3 from Kurt Hindenburg <khindenburg at kde.org> ---
Git commit a114a162152de31ed90e1409258a4c33452e02d7 by Kurt Hindenburg, on
behalf of Anael González Paz.
Committed on 20/12/2024 at 16:35.
Pushed by hindenburg into branch 'master'.

Fix TERM env argument being misplaced in Flatpak

As it was previously, it only worked as intended if the user had only
the binary as the start command (e.g. /bin/bash). Otherwise, it would
had appended the flatpak-spawn related argument after the start command
program.

Instead of passing the start command args to KSandbox::makeHostContext,
this will append them to the ones returned by makeHostContext on the
'postProcessArgs' function. In case Konsole is being run as a Flatpak,
all of said args would be added after '--env=TERM=xterm-256color' and
the program name.

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

https://invent.kde.org/utilities/konsole/-/commit/a114a162152de31ed90e1409258a4c33452e02d7

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


More information about the konsole-devel mailing list