8000 contacts: discover EDS bus names via D-Bus so saving works in Flatpak by fegue · Pull Request #314 · hyprlab/hylki · GitHub
[go: up one dir, main page]

Skip to content

contacts: discover EDS bus names via D-Bus so saving works in Flatpak - #314

Closed
fegue wants to merge 1 commit into
hyprlab:mainfrom
fegue:fix/flatpak-eds-discovery
Closed

fegue wants to merge 1 commit into
hyprlab:mainfrom
fegue:fix/flatpak-eds-discovery

Conversation

@fegue
@fegue fegue commented Sep 29, 2026
Copy link
Copy Markdown

In the Flatpak, saving a contact fails with "Evolution Data Server is not available".

factory_dest() and sources_dest() look for the versioned EDS names (AddressBook10, Sources5) in /usr/share/dbus-1/services. Inside Flatpak that's the runtime's directory, which has no EDS service files, so both return None.

They now ask the session bus (ListNames + ListActivatableNames) and take the highest <prefix><N>. The file scan stays as a fallback.

Tested with a local Flatpak build (GNOME 50 SDK) on Ubuntu 24.04 with EDS 3.52. Contacts save and sync to Nextcloud.

🤖 Generated with Claude Code

hyprlab added a commit that referenced this pull request Sep 30, 2026
The Flatpak runtime has none of EDS's service files, so saving a contact and the LDAP directories reported EDS as unavailable. The name found is kept for the session.

Co-Authored-By: Felix Günther <19360071+fegue@users.noreply.github.com>
hyprlab added a commit that referenced this pull request Sep 30, 2026
Previews 1.42.0 with shortcuts on the whole selection (#313), contacts and LDAP directories in the Flatpak (#314), the address book picker (#315), the search conversation fix (#317) and updated Spanish, German, French and Greek.
@hyprlab
hyprlab commented Sep 30, 2026
Copy link
Copy Markdown
Owner

Agentic reply:

Your change is in the 1.42.0-beta.5 release (x86_64 only), with one addition: the name found on the bus is kept for the session, so it is looked up once rather than on every call. It also fixed the LDAP directories added in #307, which failed in the Flatpak the same way. You are credited in the commit, the changelog, the release notes and the About window. Please test it there and report anything that doesn't look right; it reaches the stable channel with the next stable release.

The beta build is in the repo now: flatpak update picks it up.

@hyprlab hyprlab closed this Sep 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0