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

Local QML Image fails to load in offline mode on Symbian

    XMLWordPrintable

Details

    Description

      This bug only occurs when I am using an external library that does some networking setup, but it still seems like an unhandled error case in QML.

      1. Set the phone to "Offline" mode and disallow all network connections.
      2. Create a QML Image with source set to an absolute local path of a file in the Symbian file system (ex. C:/Data/image.jpg).
      3. Image is not shown and the following error is logged: QML Image: Network session error

      It looks like QML Image treats the local path as a network path only under these circumstances.

      Observations:
      1. The bug does not occur if I use a URI like file://C/Data/image.jpg
      2. The bug does not occur if I do not use the external library.
      3. The bug does not occur if I have a valid network connection.

      Attachments

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

        Activity

          People

            qtsymbase Qt Base for Symbian Team
            o2salone Olli Salonen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes