Bug 372857 - First space eaten at beginning of line if formatting is used
Summary: First space eaten at beginning of line if formatting is used
Status: CONFIRMED
Alias: None
Product: konversation
Classification: Applications
Component: ircview (show other bugs)
Version: Git
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: argonel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-11-23 21:03 UTC by Christian (Fuchs)
Modified: 2022-10-27 05:05 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.