You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So I guess GeoClue always emits this signal at least once? Technically I don't think we ever had that guarantee but I think it would make sense in location_session_start to block until we have the first location update and then raise an error to the client if the GeoClue call failed.
I expect the API to return some error in case the location is unknown so that I can handle that, e.g. fallback to other source or present a error to the user, as well as destroy the related resources. Right now it just never returns.
Operating System
NixOS
XDG Desktop Portal version
1.18
XDG Desktop Portal version (Other)
No response
Desktop Environment
Plasma
Desktop Environment (Other)
No response
Expected Behavior
g_clue_simple_new_sync returns
Current Behavior
gclue_simple_new_sync hangs forever
Steps to Reproduce
Anything else we should know?
The cause seem to be early returns in
xdg-desktop-portal/src/location.c
Line 156 in 6b95613
If the location is unknown, the signal is never emitted and GClueSimple hangs forever. I believe portal should emit the singal at least once.
The text was updated successfully, but these errors were encountered: