Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-309

QMailRetrievalAction signals "progressChanged" after "activityChanged" has signaled "QMailServiceAction::Successful"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • None
    • 1.1.x
    • Messaging: QMF
    • None
    • scratchbox 1.0.12 over Ubuntu lucid.

    Description

      Maybe this is a QMailServiceAction general problem, but I've checked it just with QMailRetrievalAction so far.

      If we perform a "retrieveMessageList" query, when the activity has changed to "QMailServiceAction::Successful", it is not expectable that any other signal could arrive after processing the "activityChanged" signal. However, a "progressChanged" signal is arriving after the "activityChanged" one.

      This could lead to some problems when we are performing several queries with the same QMailRetrievalAction instance. How we will know if the progressChanged signal has been triggered because of the previous or current query?

      This is clearly a potential problem.

      See the attached example which prints the signal arriving order.

      Notice that I've not checked this with the "QMailServiceAction::Failed" activity but it could be that the same problem is happening. The same for the other QMailServiceAction subclasses.

      Attachments

        Activity

          People

            espringe Eric Springer (closed Nokia identity) (Inactive)
            tanty Andres Gomez
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: