No description
Find a file
agrimkasaju 82e7cd814a fix(audio): adjust active device index on node removal
When an audio device preceding the active sink or source is removed,
the internal vector elements shift left, but self.active was not decremented.
Subsequent volume or mute events accessed an out-of-bounds index, causing
an immediate panic:

    thread 'main' panicked at cosmic-applet-audio/src/model.rs:116:64:
    index out of bounds: the len is 6 but the index is 6

Fix by decrementing self.active when active > pos in Nodes::remove.

Fixes #1508

Assisted-by: AI (Google Antigravity)
2026-09-23 12:48:55 -06:00
.github clippy 2026-05-13 12:41:17 -04:00
.zed chore: add zed editor config 2026-04-28 20:35:07 +02:00
cosmic-app-list Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applet-a11y Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applet-audio fix(audio): adjust active device index on node removal 2026-09-23 12:48:55 -06:00
cosmic-applet-battery Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applet-bluetooth Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applet-input-sources Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applet-minimize Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applet-network Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applet-notifications Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applet-osk Add cosmic-applet-osk 2026-09-17 12:55:57 -06:00
cosmic-applet-power Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applet-status-area Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applet-tiling Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applet-time Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applet-workspaces Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applets Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-applets-config Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-panel-app-button/data i18n: translate desktop entries with xdgen (#1328) 2026-03-02 11:33:29 -07:00
cosmic-panel-button Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
cosmic-panel-launcher-button/data i18n: translate desktop entries with xdgen (#1328) 2026-03-02 11:33:29 -07:00
cosmic-panel-workspaces-button/data i18n: translate desktop entries with xdgen (#1328) 2026-03-02 11:33:29 -07:00
data Add cosmic-applet-osk 2026-09-17 12:55:57 -06:00
debian Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
i18n Add cosmic-applet-osk 2026-09-17 12:55:57 -06:00
.gitignore status-area: Seperate daemon for status notifier daemon 2026-02-02 10:36:16 -08:00
Cargo.lock Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
Cargo.toml Epoch 1.9.0 version update 2026-09-22 17:11:57 +02:00
flake.lock feat: updated flake.nix and fixed error due to crane api change 2025-05-20 17:01:17 +02:00
flake.nix chore: bump versions to 1.0.0 2025-12-30 08:34:00 +01:00
justfile Add cosmic-applet-osk 2026-09-17 12:55:57 -06:00
LICENSE license 2022-05-26 11:59:09 -04:00
rust-toolchain.toml chore: update MSRV to Rust 1.93 2026-04-28 20:35:07 +02:00