Bug 345009 - KDE Telepathy Text UI displays empty messages in log (scrollback) when computer is busy
Summary: KDE Telepathy Text UI displays empty messages in log (scrollback) when comput...
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Frameworks and Libraries
Component: text-ui (show other bugs)
Version: 0.9.0
Platform: Other Linux
: NOR normal
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-10 13:48 UTC by Murz
Modified: 2015-07-09 09:45 UTC (History)
3 users (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 Murz 2015-03-10 13:48:58 UTC
Sometimes (very often, about 2-5 times per day) I see lost messages in text ui chat logs (scroollback). This is reproducible when tab for this contact is closed and system is busy (for example, copying large files).

I see notification about new message, click on it. KDE Telepathy shows Text UI window, but with empty log, so I didn't see what I receive from this contact.

Sometimes those messages i see added to logs in other tabs (inherited in talking logs with other people in other tab).

Seems that rendering function don't wait response from scrollback element of tab and post items in null or other tabs. 

Option "Right click - Reload (F5)" didn't solve the problem. but when I looking "Previous conversations" - I see those losted messages.

This is reproducible sometimes not only on my computer, but on most of my friends with different computers.

Can you try to reproduce and debug this bug in your environment?

Reproducible: Always
Comment 1 Martin Klapetek 2015-04-01 15:22:56 UTC
I cannot reproduce that. But I don't think it has anything to do with system being busy.

Does it happen with any account or just some specific one?

Also, can you run "ktp-text-ui --persist" from konsole and post the output after it has happened?
Comment 2 Murz 2015-04-05 08:37:39 UTC
Today I reproduce this on fresh install of Kubuntu 15.04, using Jabber protocol. Howto:
1. Open KTP chat window and talk with people on different tabs.
2. Go offline.
2. Send to offline account many messages from different contacts
3. Start copying files for increase system load
4. Go online and immediatly press "Respond" on new message popups.
You will see empty message in chat window or messages are placed on wrong tab (for example, message is received from Bob and Anna, and all messages I see mixed in Anna chat history tab).

This is only display problem in chat history window all messages are exist on correct places.

I will try to reproduce this with "ktp-text-ui --persist" but it is not too easy, because this problem is reproducible only 1-2 time per 1-3 days.
Comment 3 Murz 2015-04-06 06:10:22 UTC
Another chance to reproduce: go to system suspend, send many messages to you, when you are offline, and resume system (with auto switch to online status). Sorry, but again without "ktp-text-ui --persist" :(
Comment 4 Lorka 2015-04-06 07:02:43 UTC
I can confirm this problem on my KDE too. It is not every day, but sometimes I see message in notification popup, but in chat log it missed.
Comment 5 Martin Klapetek 2015-04-07 11:56:16 UTC
Can you guys try reproducing this with the 15.04 version (there's a beta out)? The 0.9 is currently unlikely to receive any more updates but it would be awesome to see if it happens in the qt5/kf5 version and attempt to fix it there.
Comment 6 Murz 2015-07-09 06:24:13 UTC
Seems that on 15.04 all works well, I try it and never see missed messages in scrollback. But qt5/kf5 missed many functions, so at now not ready for everyday use, can you backport updates for kf5 to kde4?
Comment 7 Martin Klapetek 2015-07-09 09:45:51 UTC
Sorry, the kde4 version is done from our point of view, we don't even have the manpower to fix issues in kf5/qt5 versions let alone backport stuff and maintain something that we don't use ourselves. In addition qt4 is becoming obsolete and soon will also be unsupported altogether.