[telepathy] [Bug 319883] New: Messages are sometimes not displayed if multiple contacts send messages before text-ui is opened

Sven Brauch svenbrauch at googlemail.com
Wed May 15 22:30:28 BST 2013


https://bugs.kde.org/show_bug.cgi?id=319883

            Bug ID: 319883
           Summary: Messages are sometimes not displayed if multiple
                    contacts send messages before text-ui is opened
    Classification: Unclassified
           Product: telepathy
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: text-ui
          Assignee: kde-telepathy-bugs at kde.org
          Reporter: svenbrauch at googlemail.com

I found this issue because I misunderstood 318549.

To reproduce:
Have one contact in telepathy, and two other contacts in another IM. Close
text-ui in telepathy. Send a message to the telepathy contact from *both* the
other contacts, and only then open text-ui. Sometimes both opened tabs will be
empty, sometimes only the second one will be empty, instead of displaying the
messages.

The problem can be reproduced on my setup (telepathy from git or 0.6 packages,
arch linux x86-64, SSD hard drive*) every time, but on another system (chakra
linux, telepathy from packages) I couldn't ever reproduce it.

Changing the theme view to use a QWebPage instead of a KWebPage resolves the
problem (see commit dd8ea96d3 in text-ui) but breaks proxy settings, so that
doesn't work as a fix.

The issue is caused by the javascript initializing the text view failing to
execute, presumably because the web page is for some reason not fully loaded
when it gets run or something similar. The error message is:
TypeError: 'undefined' is not an object (evaluating
'coalescedHTML.shouldScroll')

___________
* I'm mentioning this because the bug could be related to race conditions while
loading the text web page, which could be related to the loading speed, which
could be related to the SSD drive.

Reproducible: Sometimes

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kde-telepathy-bugs mailing list