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

Map with MapPolyLine inside a Popup gives warnings

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: P2: Important
    • Resolution: Unresolved
    • Affects Version/s: 5.12.0
    • Fix Version/s: None
    • Labels:
      None
    • Platform/s:
      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

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

          Activity

            People

            Assignee:
            brunoabinader Bruno de Oliveira Abinader
            Reporter:
            terjerunde Terje Runde
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:

                Gerrit Reviews

                There are no open Gerrit changes