Bug 103850

Summary: Problems with colors, bold, and italics
Product: [Applications] konversation Reporter: Michael Gabilondo <eno>
Component: generalAssignee: argonel <argonel>
Status: RESOLVED FIXED    
Severity: normal CC: b.buschinski
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Michael Gabilondo 2005-04-14 03:06:39 UTC
Version:           0.17 #3011 (using KDE KDE 3.3.2)
Installed from:    Debian testing/unstable Packages
Compiler:          gcc (GCC) 3.3.5 (Debian 1:3.3.5-8) 
OS:                Linux

The first problem: the tab character italicizes the text that comes after it

This others I'm not so sure what the problem is. But I can reproduce them.

First try this:
%C4open color %Bopen bold %C9open color

In the the third part, "%C9open color", it is color 9 but it is no longer bolded.

Now try:
%C4open color %Bopen bold %C9open color %Bclose bold

It has the same problem as before, and one other: the part "%Bclose bold" is black, on my black background... it should still be color 9...

I know what its supposed to look like because I used xchat to test...
Comment 1 Michael Gabilondo 2005-04-14 03:11:51 UTC
The tab character you can get by either copying and pasting, or doing
/cmd du -sh somefile
Comment 2 Lars DIECKOW 2007-06-09 13:29:16 UTC
Confirming all three bugs for Konversation 1.0.1 on KDE 3.5.7.

Tab character (ASCII 9) makes font italic. Use something else, see <http://www.visualirc.net/tech-attrs.php>.

Colour code implicitely switches off bold code.

Unbold code implicitely switches off colour.
Comment 3 Peter Simonsson 2008-04-18 21:44:23 UTC
This one seems to be a bug in QTextBrowser. That causes any formating tag to close any other formating tag.
Comment 4 Bernd Buschinski 2010-09-04 22:53:08 UTC
Fixed in current git master (661d3ccff4b830c6a527151348611d60f00c3960)
(1.3.1+ #4074)