Bug 448411 - Corruption of text display in terminal after invoking `flatpak-spawn --host 'pwsh' -Command 'Start-Transcript -Append -NoClobber -IncludeInvocationHeader' -NoExit`.
Summary: Corruption of text display in terminal after invoking `flatpak-spawn --host '...
Status: CLOSED MOVED
Alias: None
Product: konsole
Classification: Applications
Component: font (show other bugs)
Version: master
Platform: Flatpak Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL: https://github.com/PowerShell/PowerSh...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-13 23:15 UTC by Roke Julian Lockhart Beedell
Modified: 2024-06-10 14:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
4wy78uwh: performance-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roke Julian Lockhart Beedell 2022-01-13 23:15:38 UTC
SUMMARY
Corruption of textual presentation during utilisation of '/usr/bin/env /usr/bin/flatpak-spawn --host /usr/bin/env /usr/bin/pwsh -NOEXIT -COMMAND 'START-TRANSCRIPT -APPEND -NOCLOBBER -INCLUDEINVOCATIONHEADER'' after invocation by '/usr/bin/flatpak'.

STEPS TO REPRODUCE
1. sudo dnf --verbose --debugsolver install powershell-preview
2. sudo dnf --verbose --debugsolver install flatpak
3. flatpak --verbose -vv --ostree-verbose remote-add --installation=default --if-not-exists flathub --from 'http://flathub.org/repo/flathub.flatpakrepo'
4. flatpak --verbose -vv --ostree-verbose install --installation=default --or-update 5. flathub runtime/org.kde.Sdk//5.15-21.08
6. flatpak --verbose -vv --ostree-verbose remote-add --installation=default --if-not-exists kdeapps --from 'http://distribute.kde.org/kdeapps.flatpakrepo'
7. flatpak --verbose -vv --ostree-verbose install --installation=default --or-update kdeapps app/org.kde.konsole//master
8. flatpak --verbose -vv --ostree-verbose run --installation=default --log-system-bus --log-session-bus --runtime=org.kde.Sdk app/org.kde.konsole//master

OBSERVED RESULT
Corruption of textual presentation.

[📦 org.kde.konsole /]$ /usr/bin/env /usr/bin/flatpak-spawn --host /usr/bin/env /usr/bin/pwsh -NOEXIT -COMMAND 'START-TRANSCRIPT -APPEND -NOCLOBBER -INCLUDEINVOCATIONHEADER'
Transcript started, output file is /home/BEEDELLROKEJULIANLOCKHART/PowerShell_transcript.fedora.8w0eKJsQ.20220113224917.txt
PS /> ssusudsudosudo sudo dsudo dnsudo dnfsudo dnf sudo dnf csudo dnf chsudo dnf chesudo dnf checsudo dnf checksudo dnf check-sudo dnf check-usudo dnf check-upsudo dnf check-updsudo dnf check-updasudo dnf check-updatsudo dnf check-update
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:43:20 ago on Thu Jan 13 22:06:07 2022.
PS />

EXPECTED RESULT
Correct presentation of text.

[📦 org.kde.konsole /]$ /usr/bin/env /usr/bin/flatpak-spawn --host /usr/bin/env /usr/bin/pwsh -NOEXIT -COMMAND 'START-TRANSCRIPT -APPEND -NOCLOBBER -INCLUDEINVOCATIONHEADER'
Transcript started, output file is /home/BEEDELLROKEJULIANLOCKHART/PowerShell_transcript.fedora.8w0eKJsQ.20220113224917.txt
PS /> sudo dnf check-update
Failed to set locale, defaulting to C.UTF-8
Last metadata expiration check: 0:43:20 ago on Thu Jan 13 22:06:07 2022.
PS />

SOFTWARE/OS VERSIONS
KDE Plasma Version: 5.23.4
KDE Frameworks Version: 5.89.0
Qt Version: 5.15.2
Comment 1 Roke Julian Lockhart Beedell 2022-01-13 23:41:34 UTC
This has been reported at 'http://github.com/PowerShell/PowerShell/issues/16746' and 'http://github.com/flatpak/flatpak/issues/4671'.
Additionally, I have assigned numbers to the reproductive instruction incorrectly, and the inclusion '-NOEXIT -COMMAND 'START-TRANSCRIPT -APPEND -NOCLOBBER -INCLUDEINVOCATIONHEADER'' is not necessary, so removal of that is ideal for potential reduction of confusion.
Comment 2 Roke Julian Lockhart Beedell 2022-03-24 02:26:27 UTC
"http://github.com/PowerShell/PowerShell/issues/16746#issuecomment-1076995838" is my rationale for closure of "http://bugs.kde.org/show_bug.cgi?id=448411".
Comment 3 Roke Julian Lockhart Beedell 2024-06-10 14:39:15 UTC
(In reply to Roke Julian Lockhart Beedell from comment #2)
I'm forever sorry for this hideous report.