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

Consider showing a message when the server failed to start #4

Open
lanodan opened this issue Apr 22, 2021 · 2 comments
Open

Consider showing a message when the server failed to start #4

lanodan opened this issue Apr 22, 2021 · 2 comments

Comments

@lanodan
Copy link

lanodan commented Apr 22, 2021

Hi
With WebKitGTK sandbox activated (as it is in my own browser, badwolf) it shouldn't be possible to start the server, I think there should be an error message (fprintf(stderr, …) or maybe a GTK popup if that can work) instead of silently exiting.

(Also not sure if /tmp/ars is reachable in the sandbox, it probably isn't)

@dudik
Copy link
Owner

dudik commented Apr 22, 2021

BlocKit should now show a dialog window when the server can't be started. Thank you.

Regarding the sandboxing, I wasn't able to run badwolf on my system as the web process crashes because the browser doesn't have permissions to access /var/cache/fontconfig, so it will take some time.

Overall, I just heard about the sandboxing API and I'm not completely sure how to go about accessing /tmp/ars. Maybe using webkit_web_context_add_path_to_sandbox?

@lanodan
Copy link
Author

lanodan commented Apr 23, 2021 via email

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