cosmic-applets/cosmic-applet-status-area
mikairyuu c8104a98ce fix(status-area): lazy-load status notifier menu layouts to prevent DBus timeouts
Previously, the applet subscribed to layout updates for all items immediately
upon registration (eager-loading). This caused severe issues with applications
like VLC, which fail to respond to `com.canonical.dbusmenu.GetLayout` calls
during high-load operations (e.g., initializing video playback).

These unanswered calls resulted in DBus timeouts that:
1. Flooded the connection queue.
2. Blocked the processing of other signals (like `Unregistered`).
3. Caused the applet to become unresponsive and the icon to persist (ghosting).

This patch modifies the subscription logic to only subscribe to layout updates
when the specific menu is actually open. This "lazy-loading" approach:
- Prevents hitting applications with DBus calls during vulnerable states.
- Drastically reduces unnecessary DBus traffic.
2026-02-20 19:07:59 +01:00
..
data Update com.system76.CosmicAppletStatusArea.desktop 2026-02-12 14:46:49 +02:00
src fix(status-area): lazy-load status notifier menu layouts to prevent DBus timeouts 2026-02-20 19:07:59 +01:00
Cargo.toml chore: update dependencies and debian changelog 2026-01-13 15:33:04 -05:00