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

DBusPreviewer does not wait for the previewer to register its D-Bus Object #699

Open
theCapypara opened this issue Oct 21, 2023 · 1 comment

Comments

@theCapypara
Copy link
Contributor

theCapypara commented Oct 21, 2023

Right now the DBusPreviewer code in Workbench starts the Vala previewer in a seperate process and then waits for the connection to be established. The code then assumes the D-Bus object that the previewer registers then also exists.

An issue arises when the object is for some reason not registered fast enough. I'm running into this issue at the moment with the Python previewer, which is slower to register the object than the JS code is at trying to access the object.

@theCapypara theCapypara changed the title DBusPreviewer does not wait for the previewer to register it's D DBusPreviewer does not wait for the previewer to register it's D-Bus Object Oct 21, 2023
@theCapypara

This comment was marked as resolved.

@theCapypara theCapypara changed the title DBusPreviewer does not wait for the previewer to register it's D-Bus Object DBusPreviewer does not wait for the previewer to register its D-Bus Object Oct 25, 2023
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

1 participant