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

QNetworkConfiguration is not reported as QNetworkConfiguration::Active when connection was up before application was started (Symbian)

    XMLWordPrintable

Details

    Description

      WLAN QNetworkConfiguration::Active state is not detected when WLAN was connected before test app was started. Problem is important as it makes impossible to discover whether there phone is online or offline in terms of WLAN network connection.
      Small test app attached.
      Issue was found on Nokia E7 with Symbian Anna + Qt 4.7.4 (not checked anywhere else)

      Observed output in different scenarios:

      Preconditions:

      • phone is in Offline mode (no SIM card, was NOT checked with SIM card)

      1) Output on Symbian when started test app with WLAN already connected:
      [Qt Message] Is online? false
      [Qt Message] Active configs count: 0
      [Qt Message] Is online? false
      [Qt Message] Active configs count: 0
      [Qt Message] Is online? false
      [Qt Message] Active configs count: 0

      2) Output on Symbian when started test app and after that connected WLAN:
      [Qt Message] Is online? true
      [Qt Message] Active configs count: 2
      [Qt Message] Active connection detected
      [Qt Message] Is online? true
      [Qt Message] Active configs count: 2
      [Qt Message] Active connection detected

      3) Output on desktop:
      Is online? true
      Active configs count: 1
      Active connection detected

      There is active connection on 1) so it should show "Is online? true" and more then 0 Active connections.

      Attachments

        1. NetworkTest.zip
          16 kB
        2. NetworkTest0.zip
          27 kB
        3. NetworkTest1.zip
          76 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            liaqi Liang Qi
            jacquesbaniaque Tomasz Baniak
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes