https://bugs.kde.org/show_bug.cgi?id=469697

            Bug ID: 469697
           Summary: xdg-desktop-portal-kde - Account - GetUserInformation
                    portal provides the name and image fields the wrong
                    way around (and image should be URI)
    Classification: Plasma
           Product: xdg-desktop-portal-kde
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: plasma-b...@kde.org
          Reporter: garethdanielsm...@gmail.com
                CC: aleix...@kde.org, jgrul...@redhat.com, n...@kde.org
  Target Milestone: ---

SUMMARY

When GetUserInformation
(https://flatpak.github.io/xdg-desktop-portal/#gdbus-org.freedesktop.portal.Account)
is called, the results are a bit wrong:
- The image field contains the user name
- The name field contains the image path
- The image path, as well as being in the wrong field, is given as a regular
file path but it should be (according to the spec linked above) a file:// URI.

Looking at the code, it seems like this is a straightforward mistake:
https://invent.kde.org/plasma/xdg-desktop-portal-kde/-/blob/master/src/userinfodialog.cpp#L55

STEPS TO REPRODUCE
1. install and run
https://flathub.org/apps/io.github.Dretch.MonomerFlatpakExample
2. click "Get User Information"

OBSERVED RESULT
The "User name" and "User image" values are the wrong way around (and the image
is not a URI).

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to