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

Subsequent signal networkAccessibleChanged emitting problem of class QNetworkAccessManager.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • None
    • 4.7.1
    • None
    • 5b1484a920fe27beb53401272da1b7b87d006035

    Description

      Please find the attached testapp to reproduce the problem. As when I am
      connecting and disconnecting n/w from connectivity UI only signal is emitting
      once and later on there is no signal emission. We are dependent on this signal
      to abort operation and resume service once it will connect again.

      Additional information:
      The bug seems to originate from
      src/plugins/bearer/icd/qnetworksession_impl.cpp:128

      [QNetworkSessionPrivateImpl::iapStateChanged(...)]
      
        if ((publicConfig.type() == QNetworkConfiguration::UserChoice) && opened) {
              updateIdentifier(iapid);
          }
      
      

      where 'opened=false' causes updateIdentifier(iapid) not to be called. This
      means that when there is no connection(opened=false) Qt will not update the iap
      and no signals will be sent due to the next if-statement on line 132.

      Attachments

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

        Activity

          People

            kumarkun Kranthi Kuntala
            jupakari Juuso Pakarinen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes