Bug 498843 - Account info portal response not recognized by ASHPD when the user has no profile picture
Summary: Account info portal response not recognized by ASHPD when the user has no pro...
Status: CONFIRMED
Alias: None
Product: xdg-desktop-portal-kde
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.2.5
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-01-18 12:52 UTC by Ilya Bizyaev
Modified: 2025-01-22 21:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ilya Bizyaev 2025-01-18 12:52:38 UTC
SUMMARY
From https://flatpak.github.io/xdg-desktop-portal/docs/doc-org.freedesktop.impl.portal.Account.html, I get an impression that the response should contain an "image" field regardless.

STEPS TO REPRODUCE
1. Install and launch https://flathub.org/apps/com.belmoussaoui.ashpd.demo
2. On the "Account" page, enter a reason and click Request
3. Accept the portal dialog

OBSERVED RESULT
"Request to fetch user information failed". From the demo's logs:
"ERROR ashpd_demo::portals::desktop::account: Failed to retrieve user information: ZBus Error: missing field `image`"

EXPECTED RESULT
Account information is fetched successfully

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20250116
KDE Plasma Version: 6.2.5
KDE Frameworks Version: 6.10.0
Qt Version: 6.8.1
Kernel Version: 6.12.9-1-default (64-bit)
Graphics Platform: Wayland

ADDITIONAL INFORMATION
Comment 1 Ilya Bizyaev 2025-01-18 14:45:29 UTC
Tested with GNOME 47, works there
Comment 2 Ilya Bizyaev 2025-01-22 21:31:00 UTC
From portal logs:

Failed to register file:///home/user/.face: Failed to open file:///home/user/.face