fix(qconnect): enforce renderer volume capabilities end to end
Preserve remote capability metadata, encode device updates with the required wrapper, and reject disallowed volume or mute commands before state changes and reports. Keep Qt controls locked until the peer grants control, cancel active drags when permissions change, and advertise the same policy used by the local ALSA renderer. Validated with protocol, application and Qt regression tests plus iOS/web controller smoke against ALSA Direct. cx
This commit is contained in:
35 files changed
+866
-92
No files matched your search
@@ -12,6 +12,7 @@ bash scripts/test-updates-qml.sh
|
||||
bash scripts/test-playback-cache-qml.sh
|
||||
bash scripts/test-text-edit-menu-qml.sh
|
||||
bash scripts/test-compact-seek-qml.sh
|
||||
bash scripts/test-remote-volume-qml.sh
|
||||
bash scripts/test-library-folders-qml.sh
|
||||
bash scripts/test-array-model-qml.sh
|
||||
bash scripts/test-keyed-model-qml.sh
|
||||
@@ -27,6 +28,10 @@ node scripts/test_qt_kiosk_art.mjs
|
||||
node scripts/test_qt_kiosk_navigation.mjs
|
||||
node scripts/test_qt_kiosk_feedback.mjs
|
||||
node scripts/test_qt_exclusive_gate.mjs
|
||||
# Volume handoff must retain coverage for unknown levels, capabilities and
|
||||
# peer-to-peer switches. The full suite below executes these tests once.
|
||||
volume_tests=$(python3 scripts/qt-cargo.py test --manifest-path crates/Cargo.toml -p qbz-qt -- --list 2>/dev/null | grep -c '::peer_volume_.*: test$' || true)
|
||||
(( volume_tests >= 4 )) || { printf 'Missing QConnect volume regressions: %s/4\n' "$volume_tests"; exit 1; }
|
||||
python3 scripts/qt-cargo.py test --manifest-path crates/Cargo.toml -p qbz-qt --no-fail-fast
|
||||
target_dir="$CARGO_TARGET_DIR"
|
||||
logs="$(mktemp -d "${TMPDIR:-/tmp}/qbz-qt-gate-XXXXXX")"
|
||||
|
||||
Reference in new issue
Block a user