Summary: | Konsole Flatpak inserts an unexpected penultimate argument when the start command includes more than just the program | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Anael <anael> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 24.12.0 | ||
Target Milestone: | --- | ||
Platform: | Flatpak | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/utilities/konsole/-/commit/a114a162152de31ed90e1409258a4c33452e02d7 | Version Fixed In: | |
Sentry Crash Report: |
Description
Anael
2024-12-15 19:55:06 UTC
A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/1052 A possibly relevant merge request was started @ https://invent.kde.org/utilities/konsole/-/merge_requests/1053 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 |