cosmic-applets/cosmic-app-list/src
Votre Nom 6fe087f4fd fix(wayland): graceful exit on compositor disconnect
Replace 3 panicking unwrap() in cosmic-app-list/wayland_handler.rs
(event loop dispatch + 2 conn.flush in screencopy) with logged
errors that break/return None instead.

Wrap cosmic-applets/main.rs entry point in panic::catch_unwind to
catch panics propagating from libcosmic/iced/winit (which we cannot
patch locally without forking) when the COSMIC compositor closes
the Wayland connection at logout. This eliminates the cascade of
~12 SIGABRT coredumps observed at session shutdown.

Panic strategy is unwind (default), catch_unwind is sound here.

Leyoda 2026 – GPLv3
2026-05-26 09:17:36 +02:00
..
app.rs yoda: smooth animated fisheye for dock hover (phase B v3, closes b) 2026-05-26 09:17:36 +02:00
lib.rs refactor: make app-tray config its own crate 2024-07-24 08:51:46 -04:00
localize.rs chore: apply recommendations from clippy 2025-10-04 02:51:18 +02:00
main.rs chore: add SPDX license identifiers 2024-05-06 21:56:50 +02:00
utils.rs chore: update references to favorites 2024-06-03 12:48:25 -04:00
wayland_handler.rs fix(wayland): graceful exit on compositor disconnect 2026-05-26 09:17:36 +02:00
wayland_subscription.rs update libcosmic after reexports are removed 2026-04-16 15:27:25 -06:00