Skip to content

kcm/SpeakerTest: Close dialog when the tested device disconnects

Ismael Asensio requested to merge work/iasensio/close-test-on-disconnect into master

If a device gets disconnected while the Speaker Test dialog is open, the dialog will correctly remove the channels from the model, leaving it in a visual broken state.

Testing plan

  1. Connect an external audio device (bluetooth for instance)
  2. In the Sound settings, press Test for that device
  3. Disconnect the device

Screenshot

BEFORE: Screenshot_20240609_021609

AFTER: Happiness

Merge request reports