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

QNetworkSession::waitForOpened(-1) opens a non modal dialog, allowing the user to interact with the other UI widgets. Widgets appear disabled (dimmed) when the IAP dialog is displayed but are not.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.0.2
    • Component/s: Bearer Management
    • Labels:
      None

      Description

      QNetworkSession::waitForOpened(-1) opens a non modal dialog, allowing the user to interact with the other UI widgets. Widgets appear disabled (dimmed) when the IAP dialog is displayed but are not disabled.

      The IAP dialog should be modal.

      Consider the following code being executed inside a custom QT dialog...

      QNetworkSession* networkSession = new QNetworkSession(cfg, this);
      networkSession->open();
      networkSession->waitForOpened(-1);

      // The IAP dialog is shown. However the user can interact with the widgets drawn behind the IAP dialog.
      // At this point the user the user closes the custom QT dialog

      int networkID = cfg.identifier().toUInt();
      doSomethingWithNetworkID(networkID);

      // The above two lines of code are never executed and networkSession is never destroyed after the user closes the containing custom QT dialog.

        Attachments

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

          Activity

            People

            Assignee:
            juvuolle Juha Vuolle (closed Nokia identity) (Inactive)
            Reporter:
            spol loughlin spollen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes