Is your issue REALLY a bug?
Is there an existing issue for this?
Is this issue related to iced?
What happened?
When disconnecting an external monitor while my app is running, wgpu briefly(?) believes that only Opaque alpha mode is available. The iced runtime selected PreMultiplied at startup and does not check for changed capabilities, causing my app to crash with a validation error.
What is the expected behavior?
Apps should not crash when a monitor is disconnected.
Version
master
Operating System
Windows
Do you have any log output?
wgpu error: Validation Error
Caused by:
In Surface::configure
Requested alpha mode PreMultiplied is not in the list of supported alpha modes: [Opaque]
Is your issue REALLY a bug?
Is there an existing issue for this?
Is this issue related to iced?
What happened?
When disconnecting an external monitor while my app is running,
wgpubriefly(?) believes that onlyOpaquealpha mode is available. Theicedruntime selectedPreMultipliedat startup and does not check for changed capabilities, causing my app to crash with a validation error.What is the expected behavior?
Apps should not crash when a monitor is disconnected.
Version
master
Operating System
Windows
Do you have any log output?
wgpu error: Validation Error Caused by: In Surface::configure Requested alpha mode PreMultiplied is not in the list of supported alpha modes: [Opaque]