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

Request addition of location XDG Desktop Portal position plugin

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Unresolved
    • Not Evaluated
    • None
    • None
    • Positioning
    • None
    • Flatpak applications running on Linux.

    • Linux/Wayland, Linux/X11
    • Linux/Wayland, Linux/X11

    Description

      Note: I have not seen this discussed elsewhere, but if it has, please point me in that direction.

      Flatpaks cannot access the `org.freedesktop.GeoClue2` DBus service directly in order to access location information on Linux. Adding a plugin for the location XDG Desktop Portal would add support for basic location information in this situation. GeoClue provides this desktop portal.

      The portal is very simple, possibly making implementation relatively simple, although it may be missing required features. It has no support for polling the current location. This should most likely only be a fallback for when GeoClue is not directly available.

      My use case is location reporting in Supercell Wx, a weather radar application, run as a Flatpak. Other applications which use location data and release Flatpak versions may also benefit from this addition.

      If I can find the time, I would be happy to work on this. I would need feedback on how to handle the limitations of portal.

      Desktop portal documentation: https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.portal.Location.html

      Attachments

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

        Activity

          People

            ablasche Alex Blasche
            adenkoperczak Ankom Copper
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes