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

macOS: QGeoPositionInfoSource sometimes picks geoclue2 instead of corelocation as createDefaultSource return value

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P3: Somewhat important
    • 5.12.1
    • 5.12
    • Positioning
    • None
    • macOS

    Description

      (I will update this bug when I find out more..)

          _positionSource = QGeoPositionInfoSource::createDefaultSource(this);
          if (_positionSource) qDebug() << _positionSource->sourceName(); else qDebug() << "no position source";
      

      Maybe this is alternating, e.g. I kill my app in creator that is using corelocation, then the next launch is using geoclue2 (which doesnt work). Then I kill that again, then it is using corelocation.

      default	19:57:41.256314 +0100	LocationMenu	LSExceptions shared instance invalidated for timeout.
      default	19:57:44.337849 +0100	locationd	#Warning Location connection invalid!
      default	19:57:44.338023 +0100	locationd	{"msg":"CLConnection::handleDisconnection", "event":"activity"}
      default	19:57:44.338792 +0100	locationd	{"msg":"state transition", "event":"state_transition", "state":"DaemonClient", "id":"0x7f9511646880", "property":"lifecycle", "old":"0x7f9511646880", "new":"0x0"}
      default	19:57:44.339110 +0100	locationd	WIFI_LOC: reset
      default	19:57:45.947387 +0100	locationd	#Notice Location icon should now be in state 'RequestingLocationInformation'
      default	19:57:54.536465 +0100	locationd	#Notice Location icon should now be in state 'Inactive'
      

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            mgoetz2 Markus Goetz (Woboq GmbH)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes