-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Does not wait for server to start and fails #10
Comments
Not sure if this should be reported for aw-qt or for aw-watcher-window-wayland. |
aw-qt takes some precautions to start the server before watchers (and sleeps ~1s in between to give the server time to start). IMO, an unavailable server should not lead to a crash/error, it should just try again later (or even better, queue up the events). |
@ErikBjare 1s sounds racy, why not poll if the aw-server port is up or something? I agree that it's good if watchers wait and queue up events, but at the same time the watcher should eventually tell the user that it's not connected, and the usual way to do that is to shutdown/crash. |
I think I saw the same when I tried running the watcher with aw-qt --autostart-modules aw-server,aw-watcher-window-wayland Then I get the error dialogue
It gives me the option to restart and when I do everything works. Is there a workaround to this until this is fixed? Can I start the server and wayland watcher manually and then connect UPDATE:I fixed that by hardcoding a 3s sleep in the |
When starting from aw-qt the wayland-window-watcher calls the aw-server before it starts.
The text was updated successfully, but these errors were encountered: