Bug 372857

Summary: First space eaten at beginning of line if formatting is used
Product: [Applications] konversation Reporter: Christian (Fuchs) <kde>
Component: ircviewAssignee: argonel <argonel>
Status: CONFIRMED ---    
Severity: normal CC: konversation-devel
Priority: NOR    
Version: Git   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christian (Fuchs) 2016-11-23 21:03:58 UTC
When colour codes or other formatting is used at the beginning of a line, the first space is eaten.

Steps to reproduce: 

Write three lines, each consisting of a space and then the letter X. 
Use colour codes for foreground and fg/background in the second and third, e.g.

" X^O"
"^C04 X^O"
"^C04,03 X^O"

They all should have an equal length. 
However, the two lines with colour codes only show the X and not the space in front of it. 

The same happens with the control code for bold. 

It's also only the first space and only at the beginning of a line. 
If you e.g. write a colour code, three spaces and a letter, only two spaces will be printed. 

This also happens for incoming text, not only the one you write.
Comment 1 Justin Zobel 2022-10-27 02:48:46 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 2 argonel 2022-10-27 05:05:01 UTC
The space is sent, it is lost after receipt.