Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-622 Messaging API
  3. QTMOBILITY-1126

Add Symbian backend implementation for QMessageService::cancel()

XMLWordPrintable

    • Icon: Change Request Change Request
    • Resolution: Unresolved
    • Icon: P2: Important P2: Important
    • None
    • Messaging
    • None

      QMessageService::cancel() does not cancel the previous asynchronous operation.

      This is a known and documented limitation of the QMessageService class.

      The QMessageService documentation states:
      "A client may attempt to cancel a requested operation after it has been initiated. The cancel() slot is provided for this purpose. Cancelation is not guaranteed to succeed, and is not possible on all platforms."

      Steps to reproduce:
      1) Invoke an asynchronous method say QMessageService::send() or QMessageService::queryMessages()
      2) Immediately after that invoke QMessageService::cancel()

      Expectation:
      If called on send, cancel should actually cancel the sending of the message & corresponding signal should not be emitted.
      If called on queryMessages, query operation should be canceled and messagesFound signal should not be emitted.

      Actual behaviour:
      In case of send, message is being sent
      In case of queryMessages, even after cancelling the request messagesFound is being emitted.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            topit Toni Pirttilä (Inactive)
            minshin Minjung Shin (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:

                There are no open Gerrit changes