Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-135653

MessageReceived not fired when subscribing again to just unsubscribed topic

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.15, 6.8.3
    • MQTT
    • Linux/Yocto, Windows

    Description

      Unsubscribing a topic with QMqttClient and then directly subscribing it again, when using the QMqttSubscription classes returned by QMqttClient::subscribe.

      Example project attached.

      The slot onSubscription1 is never triggered
      The payload "trigger_subscription_1" is published correctly, as checked with "mosquitto_sub -h localhost -p 1883 -t Test".

      Attachments

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

        Activity

          People

            mkalinow Maurice Kalinowski
            tommimtauriainen Tommi M. Tauriainen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes