Edgy: kopete sending   instead of space

Bug #69754 reported by Christopher J. Bottaro
8
Affects Status Importance Assigned to Milestone
kdenetwork (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: kopete

My gf keeps complaining that I'm sending messages with " " in them. It only seems to happen when I send multiple spaces in a row. For example:

"Yes, I fed her. She seemed very hungry."

appears in her Trillian 3.1 Basic chat window as:

"Yes, I fed her.  She seemed very hungry."

This bug only started happened with I upgraded from Dapper to Edgy.

We are using the AIM protocol.

Thanks.

Revision history for this message
Thomas Langvann (thomas-langvann) wrote :

I'm also experiencing the same behaviour.

I'm using the AIM protocol and the other client (that receives the  -sequence) is using Trillian.

Kopete 0.12.3
Edgy

Revision history for this message
Sarah Kowalik (hobbsee-deactivatedaccount) wrote :

is this just on aim?

Revision history for this message
Juan Carlos Torres (jucato) wrote :

Does this behavior only happen with AIM and Trillian? If so, it looks like a possible regression of this KDE bug:

http://bugs.kde.org/show_bug.cgi?id=80158

Waiting for more information from upstream.

Revision history for this message
Juan Carlos Torres (jucato) wrote :

By the way, does this behavior still happen in the latest Kopete version (0.12.4)?

Changed in kopete:
status: Unconfirmed → Needs Info
Revision history for this message
Thomas Langvann (thomas-langvann) wrote :

I just compiled from the KDE3.5 branch and the same behavior can be observed there (Kopete 0.12.4).

I've tested MSN, Jabber and AIM-protocols against a Trillian-client... Only AIM seems to be affected by this issue

Revision history for this message
Susan Rosenberger (susan-rosenberger) wrote :

This happens with me as well, using AIM, with me using Kopete and the recipient using Trillian 3.1 build 121. I'm using Kubuntu Edgy - KDE 3.5.5 and Kopete 0.12.3.

I tried using the Auto Replace plugin to fix it. I tried replacing   with one space, two spaces, and replacing two spaces with one space, and none of them worked.

One space is normal, two spaces gets  , three spaces gets a space and a  , and four spaces gets two   - example (three spaces between when and i in the first sentence, 4 spaces between about and four in the second sentence):

Susan: and what do you get when  i send 3 spaces in a row like that? how about    four like there?

Is there anything else I should do? I'm totally new at using Launchpad. Do I click the Also Needs Fixing Here button?

Revision history for this message
TheReaperD (djones) wrote :

I'm running into the same issue. Running Kubuntu 7.04 i386. Contact is on AIM channel with the other end being a Trillian user.

Changed in kdenetwork:
status: Incomplete → Confirmed
Revision history for this message
ssh (shawnpc) wrote :

This is by design within the lexer:

 while ((pos = re.search(str, pos)) != -1) {
        len = re.matchedLength();

        if (len == 1)
            continue;
        QString s = " ";
        for (int i = 1; i < len; i++)
            s += "&nbsp;";
        str.replace(pos, len, s);
    }

As much as I'd like this bug to go away, as this is intentionally AWFUL design (we want to send two spaces? fudge it so it'll pass an HTML client!) I'd like Trillian to get this taken care of, too.

I'd also like a pony.

Revision history for this message
Risto H. Kurppa (risto.kurppa) wrote :

fixed in gutsy?

Revision history for this message
Susan Rosenberger (susan-rosenberger) wrote :

Yes, it's fixed for me in Gutsy! Using Kopete 0.12.7 (Using KDE 3.5.8).

Revision history for this message
Matt Rogers (mattr-kde) wrote :

Fixed upstream in KDE 4 for both AIM and Trillian.

Changed in kdenetwork:
status: Confirmed → Fix Released
Revision history for this message
EasilyAmused (white-wb) wrote :

Not fixed for me. Running Gutsy with Kopete 0.12.7 and KDE 3.5.8.

Revision history for this message
Beata Graff av dalHagen (beatadalhagen) wrote :

Just ran into this bug again. Local is Kopete 0.12.7 with KDE 3.5.9, remote is Trillian 3.1 (May 19, 2008), not pro.

Remote reports that the first message from me contains many nbsp:
(I typed 'Woof!' followed by Enter, remote copy/pasted back)

Woof! &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;

and that subsequent messages only follow with deliberate multiple spaces.

Hope this helps.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.