nannou-org / nannou

A Creative Coding Framework for Rust.
https://nannou.cc/
6.03k stars 305 forks source link

generative example m_1_3_03 failing #546

Open salkin-mada opened 4 years ago

salkin-mada commented 4 years ago

info

System: Arch Linux x86_64 5.6.3-arch1-1 Wm: Sway (Wayland) vulkan-intel 20.0.4.-1

thought

reproducer

mitchmindtree commented 4 years ago

Thanks for the issue @salkin-mada!

I have a very similar setup to you (running vulkan-intel on Linux) and I'm able to run the example:

Screenshot from 2020-04-18 17-36-08

However! I get a very similar issue to you as soon as I try to resize the window whatsoever. My guess is that your tiling manager attempts to resize the window immediately after creation however as the example doesn't account for resizing nicely it panics immediately.

@JoshuaBatty maybe it's worth going over these examples and check they can handle resizing? At least not panic!ing anyways. I'm down to help out :+1: