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

azul didn't create a window #361

Open
BreakOrContinue opened this issue Dec 13, 2023 · 3 comments
Open

azul didn't create a window #361

BreakOrContinue opened this issue Dec 13, 2023 · 3 comments
Labels
question Question about how to use azul

Comments

@BreakOrContinue
Copy link

When I run the example on macOS, I get an output azul.App.run(x11) in the terminal, but there is no window. I'm using version azul-d54e1d94090e89b78e3ddcefd6372dcf6b5e317f and 1.0.0-alpha4. How can I fix it?
2023-12-13 10 32 01

@BreakOrContinue BreakOrContinue added the question Question about how to use azul label Dec 13, 2023
@fschutt
Copy link
Owner

fschutt commented Dec 18, 2023

You can't, window creation is currently a stub on macOS. It's not implemented yet, only Windows works.

My current development plan is developing in Parallels (on a Mac, but using Windows). Once Windows works 100% I'll port it to macOS. I had to reimplement the window handling due to winit not implementing support for native menus (menu bars / context menus).

@BreakOrContinue
Copy link
Author

Is there an old commit that can be build, run, create a window, and place HTML on it can running on three platforms? Can you tell me which commit it is?

@fschutt
Copy link
Owner

fschutt commented Jan 10, 2024

@IceCreamChocolateCandy no, azul is not mature enough for that yet however, I've done this here https://github.com/projekt-dgb/dgb/blob/b521304d71b55979ec67bf76808e88069503131d/src/main.rs#L6923-L7040 (uses the wry and webview crates), so you might copy from that

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Question about how to use azul
Projects
None yet
Development

No branches or pull requests

2 participants