Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signal doesn't go through xdg-dbus-proxy if unique connection name is specified as destination #25

Open
ilya-fedin opened this issue Sep 7, 2021 · 2 comments

Comments

@ilya-fedin
Copy link

tdesktop uses dbus for its IPC. Whenever it needs to create a webview, it spawns a child process that initializes webkit2gtk (Qt initializes gtk as well, so if they initialize different gtk versions (qt may initialize gtk2 while tdesktop initializes gtk3), the process will crash, so it's going on in a separate process), then main process calls methods and subscribes to signals on service of the child process. Child process checks for connection ID to be equal to parent process connection ID when it gets a request to a method, signals have parent connection ID as destination as well. The check in method calls works just fine, but signals don't go to the destination in flatpak for some reason :(. I think xdg-dbus-proxy is the cause of this weird behavior, IPC works just fine if I run the package with --socket=session-bus.

@davin67
Copy link

davin67 commented Feb 26, 2022

@davin67
Copy link

davin67 commented Feb 26, 2022

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

No branches or pull requests

2 participants