[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#996040: marked as done (qml-module-qtpositioning: Bogus Altitude, Direction and Speed values with geoclue2 backend)



Your message dated Wed, 10 Nov 2021 19:34:02 +0000
with message-id <E1mktMA-000GJz-IV@fasolo.debian.org>
and subject line Bug#996040: fixed in qtlocation-opensource-src 5.15.2+dfsg-3
has caused the Debian Bug report #996040,
regarding qml-module-qtpositioning: Bogus Altitude, Direction and Speed values with geoclue2 backend
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
996040: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996040
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: qml-module-qtpositioning
Version: 5.15.2+dfsg-2
Severity: important
Tags: upstream
X-Debbugs-Cc: tpikonen@gmail.com

The Altitude, Direction and Speed values are always set to 1 in Position
values from QML PositionSource at least when running with the geoclue2
backend.

To repeat, run this QML script with `qmlscene` on system with GeoClue2
as a position source (the values below are from modem-gps GeoClue
source):

```
import QtPositioning 5.15

PositionSource {
    id: src
    updateInterval: 1000
    active: true

    onPositionChanged: {
        var coord = src.position.coordinate;
        var pos = src.position;
        console.log("Latitude:", coord.latitude);
        console.log("Longitude:", coord.longitude);
        console.log("horizontalAccuracy:", pos.horizontalAccuracy,
pos.horizontalAccuracyValid);
        console.log("Altitude:", coord.altitude, pos.altitudeValid);
        console.log("Speed:", pos.speed, pos.speedValid);
        console.log("Direction:", pos.direction, pos.directionValid);
        console.log("Timestamp:", pos.timestamp);
        console.log("");
    }
}
```

I get this output (after getting a GPS fix):

```
qml: Latitude: <redacted>
qml: Longitude: <redacted>
qml: horizontalAccuracy: 1 true
qml: Altitude: 1 true
qml: Speed: 1 true
qml: Direction: 1 true
qml: Timestamp: Sun Oct 10 21:14:26 2021 GMT+0300
qml: 
qml: Latitude: <redacted>
qml: Longitude: <redacted>
qml: horizontalAccuracy: 1 true
qml: Altitude: 1 true
qml: Speed: 1 true
qml: Direction: 1 true
qml: Timestamp: Sun Oct 10 21:14:27 2021 GMT+0300
qml: 
qml: Latitude: <redacted>
qml: Longitude: <redacted>
qml: horizontalAccuracy: 1 true
qml: Altitude: 1 true
qml: Speed: 1 true
qml: Direction: 1 true
qml: Timestamp: Sun Oct 10 21:14:28 2021 GMT+0300
```

At the same time, the geoclue test client
`/usr/libexec/geoclue-2.0/demos/where-am-i` gives this output:

```
New location:
Latitude:    <redacted>
Longitude:   <redacted>
Accuracy:    1.000000 meters
Altitude:    29.100000 meters
Speed:       0.026536 meters/second
Heading:     0.000000°
Timestamp:   Sun Oct 10 21:14:38 2021 (1633889678 seconds since the
Epoch)

New location:
Latitude:    <redacted>
Longitude:   <redacted>
Accuracy:    1.000000 meters
Altitude:    28.900000 meters
Speed:       0.037632 meters/second
Heading:     0.000000°
Timestamp:   Sun Oct 10 21:14:39 2021 (1633889679 seconds since the
Epoch)

New location:
Latitude:    <redacted>
Longitude:   <redacted>
Accuracy:    1.000000 meters
Altitude:    28.200000 meters
Speed:       0.014104 meters/second
Heading:     0.000000°
Timestamp:   Sun Oct 10 21:14:40 2021 (1633889680 seconds since the
Epoch)

```

-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: arm64 (aarch64)

Kernel: Linux 5.13-sunxi64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CRAP
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages qml-module-qtpositioning depends on:
ii  libc6                                  2.32-4
ii  libqt5core5a                           5.15.2+dfsg-12
ii  libqt5positioning5                     5.15.2+dfsg-2
ii  libqt5positioning5-plugins             5.15.2+dfsg-2
ii  libqt5positioningquick5                5.15.2+dfsg-2
ii  libqt5qml5 [qtdeclarative-abi-5-15-2]  5.15.2+dfsg-8
ii  libqt5quick5                           5.15.2+dfsg-8
ii  libstdc++6                             11.2.0-8

qml-module-qtpositioning recommends no packages.

qml-module-qtpositioning suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: qtlocation-opensource-src
Source-Version: 5.15.2+dfsg-3
Done: Dmitry Shachnev <mitya57@debian.org>

We believe that the bug you reported is fixed in the latest version of
qtlocation-opensource-src, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 996040@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Dmitry Shachnev <mitya57@debian.org> (supplier of updated qtlocation-opensource-src package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 10 Nov 2021 22:11:29 +0300
Source: qtlocation-opensource-src
Architecture: source
Version: 5.15.2+dfsg-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org>
Changed-By: Dmitry Shachnev <mitya57@debian.org>
Closes: 996040
Changes:
 qtlocation-opensource-src (5.15.2+dfsg-3) unstable; urgency=medium
 .
   * Backport upstream patch to fix position handling in geoclue2 plugin
     (closes: #996040).
   * Update debian/watch: use format 4, and track only 5.15.x releases.
   * Bump Standards-Version to 4.6.0, no changes needed.
Checksums-Sha1:
 7fe5b74945a202ff8cdd2102becbf52a6affa590 3846 qtlocation-opensource-src_5.15.2+dfsg-3.dsc
 db020bc2cb8fcca92aae73750c2510e07894d5f0 45800 qtlocation-opensource-src_5.15.2+dfsg-3.debian.tar.xz
 0772b94f5de6786366aefdfa51c175ae7dd975c1 13216 qtlocation-opensource-src_5.15.2+dfsg-3_source.buildinfo
Checksums-Sha256:
 d45417d9b821bc2458b8dbfcbbfd6b0abeda546c5933eabcc117e46989194f32 3846 qtlocation-opensource-src_5.15.2+dfsg-3.dsc
 1d64acc8624b1c6d7968d1fe91a11f33aa05aaf74ca5d1f71aecdc20bf85db1d 45800 qtlocation-opensource-src_5.15.2+dfsg-3.debian.tar.xz
 ab4e3c9453809f055ddb95b990191f4cc4af6a99027c4f372f39a3391e6fdff6 13216 qtlocation-opensource-src_5.15.2+dfsg-3_source.buildinfo
Files:
 4749b0e7ab86b9673a9bea5a336fc6e7 3846 libs optional qtlocation-opensource-src_5.15.2+dfsg-3.dsc
 02f7a645b408ff583bc5c1dfd382c340 45800 libs optional qtlocation-opensource-src_5.15.2+dfsg-3.debian.tar.xz
 f7518fe09d23aadc2d6c8716a583838e 13216 libs optional qtlocation-opensource-src_5.15.2+dfsg-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEE5688gqe4PSusUZcLZkYmW1hrg8sFAmGMGc4THG1pdHlhNTdA
ZGViaWFuLm9yZwAKCRBmRiZbWGuDy1SdD/0SKJYrM0HhsGlv7+hHSsjrLAEY/yzD
L24JkDUDdgzLzBTeGN5z2ieoLEXgNvSUUlSQ1Lanxc/Xmwc9adDgHKLbL9vWdFUK
sJmThJuO4SoScvXdAo6zxJ849NhCboWzrsmjkGUDDEGX5q8ZkesvGv/V6K6Gowtq
ME28U4wL9f0qgg7aHgf1UL6QxxCIXQCBrz+CIkaVqkJKZSmpqs8YXyvcvLaSgphj
tkYilozn4j2ZUp+nTkU0oyltHZjBj73NwSA380l/2paiLb0vhIANUKmCEy6WG7nG
/MSH6v0kQNtVvedZZjqi3CqdFGOL+PTSUrxoxzXqd5P+esgu/6Ioai8gwoLVsEFP
3IDPSSnKyBBSR2YP4KnV05cb7xuj87d86YOXp6umcfuF98h+6oPG9RaT6J4oHfFM
p06muxVQlBKC2LxhN0eWikGK7jyxxzqZs0lJQkGFRc6w3asrOqqmymQjYE2Js29p
HfHS2yxEEnIEJ+oAGnB8IBbM+J+leAMCgVV5bUl6sSfLHNuwlYk/cVOMJ/vpAHTX
Eq4Nqd60GIFui50KDrsRyFzoBOBedeU66VLu3Gf4w7dGBRSsLOaWWb7hbyvEZDy+
U4HjOvVSyzo4F++utdLfxaE7BfEldN527B3BfXmsRQwQ40X2UDV4UJZ9PA31O4UK
82bJI28+N/oPng==
=KG20
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: