Use visible buttons to switch the default device

Authored by ngraham on Sep 3 2019, 6:54 PM.

Description

Use visible buttons to switch the default device

Summary:
We get numerous complaints that it's hard to figure out how to make an audio device the
default for playback or output. Despite the multiple methods (drag-and-drop, hamburger
menu item, radio button in the KCM), it still seems un-discoverable for many users.

This patch attempts to address the issue by standardizing on a single consistent method:
Make default buttons right there on the list items for the devices, for both the applet
and the KCM.The buttons are only shown when there is more than one device that could
be the default.

Various other elements of the UI are slightly adjusted or adapted to accommodate this change.

FEATURE: 411065
BUG: 408490
FIXED-IN: 5.17.0

Test Plan:
Connected my Bluetooth speaker and toggled between it and the internal speakers using
the new button.

Applet:


KCM:

My wife was impressed by how easy it was and how the audio instantly switched.

Reviewers: drosca, Plasma, VDG, ndavis

Reviewed By: VDG, ndavis

Subscribers: broulik, GB_2, alexde, ndavis, anthonyfieroni, plasma-devel

Tags: Plasma

Differential Revision: https://phabricator.kde.org/D23389

Details

Committed
ngrahamSep 16 2019, 5:13 PM
Reviewer
VDG
Differential Revision
D23389: Use visible buttons to switch the default device
Parents
R115:50187c018c22: SVN_SILENT made messages (.desktop file) - always resolve ours
Branches
Unknown
Tags
Unknown