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

2 geocode queries in a row produce debug warnings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • P3: Somewhat important
    • 5.0.0
    • 5.0.0
    • None
    • Ubuntu, Qt5

    Description

      There are 2 cases when user gets "QCoreApplication::postEvent: Unexpected null receiver" for 2 geocode queries in a row:
      1. Warning is valid but unclear:
      geocodeModel.query = query1
      geocodeModel.update()
      geocodeModel.query = query2
      geocodeModel.update()
      Here geocodeModel is bisy with first request so user gets warning, but it should describe the reason more neatly.

      2. Unexpected warning.
      First geocode is finished successfully and we start second geocode, but user still gets the warning. Please have a look at RouteDialog implementation at mapviewer.qml file, see attached screenshot as well.

      Attachments

        1. geocode.png
          geocode.png
          226 kB
        2. geocodemodel1.png
          geocodemodel1.png
          33 kB
        3. mapviewer.qml
          2 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            alewilso Alex Wilson (closed Nokia identity) (Inactive)
            shubina Natalia Shubina (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes