-
Notifications
You must be signed in to change notification settings - Fork 219
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
Possible use of "two different versions of crate core_foundation_sys
"
#96
Comments
I've tried to fix it by changing versions in the various vendored dependencies over here: https://github.com/maps4print/azul-dependencies/pull/1 I could start a simple App on Mac (see my example code - mostly the hot reload example, but without the cat) to show this: |
Oh wow it actually works on a Mac? I honestly didn't expect that after what happened with #5. Do you have any other issues with resizing (or did they magically solve themselves now just by upgrading webrender)? Thanks for looking into this - I expected the CI for Mac to catch this, but it's not always very reliable. |
Reopening because it's not fixed yet in azul, only in the dependencies |
Yes, I've used a path to the dependencies to test this. On Mac, I experience some flashing, especially when resizing and I'm unsure if the hover effect is really working correctly. I can see the orange part getting yellow, but moving the mouse around seems to let it flash a bit. There might also be an issue with Retina displays: When the app opens on a regular monitor, it does not show all of what you see above, it's about only the left half of it, resizing it shows a bit more. Still, it's not the best experience, but I actually just wanted to try out the API and see a bit for myself if I could create a GUI with Rust... :) |
Did you compile in release mode? The hot reloading of the CSS somehow would make things flicker in debug mode in the past. |
I've used When doing
So I'd keep the "fix" removing the |
@Narigo The odd behaviour when resizing is probably due to this known issue in winit: rust-windowing/winit#219 I believe it's considered a high-priority issue, but the fix involves refactoring the core event loop of winit. |
I'm on macOS, with Rust stable-x86_64-apple-darwin.
I cloned the repo, and
cargo build
failed, giving me:The hints, as you might see, seem to suggest multiple versions of the CoreFoundation library being used. I'm not versed enough in Rust to know if this is true.
Nightly has the same issue.
This probably isn't relevant, but I might as well include it for completion:
The text was updated successfully, but these errors were encountered: