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

Map with MapPolyLine inside a Popup gives warnings

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 5.12.0
    • None
    • Linux/X11

    Description

      Having a Map with a MapPolyline inside a Popup like the pseudo-QML below gives a bunch of warnings when it is closed and then reopened.

      Popup {
          id: popup
          Map {
              // (...)
      
              MapPolyline {
                      path: [
                          { latitude: 59.91, longitude: 10.75},
                          { latitude: 60, longitude: 11}
                      ]
              }
          }
      }
      

      One popup.close() and popup.open() later, I get these warnings:

      Layer not found: "QtLocation-94551043880960"
      Layer not found: "QtLocation-94551043880960"
      Layer not found: "QtLocation-94551043880960"
      Layer not found: "QtLocation-94551043880960"
      Layer not found: "QtLocation-94551043880960"
      Layer not found: "QtLocation-94551043880960"
      Layer not found: "QtLocation-94551043880960"
      Layer not found: "QtLocation-94551043880960"
      Layer not found: "QtLocation-94551043880960"
      Layer not found: "QtLocation-94551043880960"
      Layer not found: "QtLocation-94551043880960"
      Layer not found: "QtLocation-94551043880960"
      

      See attachment qtmaptest.zip for a complete but minimal example.

      Attachments

        1. qtmaptest.zip
          2 kB
          Terje Runde
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            brunoabinader Bruno de Oliveira Abinader
            terjerunde Terje Runde
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes