Bug 472952

Summary: piping shell history into peco results in garbled font rendering
Product: [Applications] konsole Reporter: Matthias Weiss <matias.liberta>
Component: emulationAssignee: Konsole Developer <konsole-devel>
Status: REPORTED ---    
Severity: normal    
Priority: NOR    
Version: 22.12.3   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Screenshot of the garbled history search output

Description Matthias Weiss 2023-08-03 11:55:06 UTC
Created attachment 160702 [details]
Screenshot of the garbled history search output

SUMMARY
***
When trying to browse the shell history via peco the font rendering fails completely
***


STEPS TO REPRODUCE
1. either start a bash or fish shell
2. type "history | peco"
3. type any character(s) to narrow down history matches
4. garbled output (see attachment)


OBSERVED RESULT
garbled output of shell history

EXPECTED RESULT
narrowed down shell history with readable command lines

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Debian/Linux/trixie
(available in About System)
KDE Plasma Version:  5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
* I first downgraded peco from 0.5.10 to version 0.5.1 -> no change in behavior
* I then downgraded konsole and konsole-kpart to 22.04.1 -> no change in behavior

I assume that some component of konsole that does the font rendering/terminal display that is causing the issue, but I wasn't able to track down which one is the culprit so I leave that to more knowledgeable persons.