layer-shell crash when no outputs are connected
Closed this issue · 2 comments
hallettj commented
The 0.1.6 release is fantastic as always! I enjoyed adding a workspace indicator to my waybar config with the new message option.
I'm getting a crash sometimes when resuming from suspend. I think this was happening once in a while on 0.1.5 too. The error message is:
thread 'main' panicked at src/handlers/layer_shell.rs:31:14:
called `Option::unwrap()` on a `None` value
The full log output with stack backtrace is here
System Information
- niri version: niri stable 0.1.6
- Distro: NixOS 23.11 (I'm using sodiboo's niri-flake)
- GPU: AMD RX 6700 XT
- CPU: AMD Ryzen 7 5800X
YaLTeR commented
Mhm, thanks for the report. Looks like it's hitting the undertested case of "no outputs connected". I will look into this.