Created attachment 125289 [details]
Demonstration of current "Audio playing" indicator on horizontal and vertical panels
With vertical panel on the left side it's very to accidentally mute application sound
STEPS TO REPRODUCE
1. Right click on panel > "Edit Panel"
2. with "Screen Edge" move panel to the left
3. Open something with sound
4. Try to switch between application windows on the panel
I accidentally click on "audio playing" indicator and mute sound of the application
"Audio playing" indicator doesn't stand in my way. Maybe make it smaller or relocate it to the bottom left (some users and even distros (like KaOS) put panel to the right edge so top right side location of the indicator will stand in their way), or give user option to relocate it. Another way is an option to make that indicator not clickable.
Linux/KDE Plasma: Kubuntu 20.04
(available in About System)
KDE Plasma Version: 5.17.90
KDE Frameworks Version: 5.66.0
Qt Version: 5.12.5
On the attached screenshot there's 3 panel:
- vertical with "Task Manager"
- horizontal with "Task Manager"
- horizontal with "Icons-only Task Manager"
As you can see on both horizontal and vertical panels with "Icons-only Task Managers" that "Audio playing" indicator can be easily accidentally clicked.
Yeah we've gotten a few complaints about this, now that we fixed the bug that was preventing the indicator from being visible when it was supposed to be visible.
We could make it even smaller, and/or eliminate the margins separating it from the corner when using an IOTM. This would ensure that it gets in the way much less often. We could also make it configurable (ugh, not a fan of that).
Correction: it's already configurable.
Additional options are to remove the feature that makes the button clickable when using an Icons-Only Task Manager and hide the indicator for very small IOTM icons.
We can disable mute-on-click under a certain size, and decrease icon 10% and click-area 20%.
Indicator should stay as it is IMO. It is helpful for every size. And cannot be moved more into the corner, as it will overlap with the blue-bars/elements of the breeze theme. (Indicator barely has any margin when mute.)
Git commit a35d2b9adf40072e242b8820dcb07cf0a7ed037b by Nate Graham, on behalf of George Vogiatzis.
Committed on 12/02/2020 at 19:11.
Pushed by ngraham into branch 'master'.
[Applet/Task Manager] Move audio indicator to the corner
When vertical or Icon-only task manager, shrink click area 10% and
This allows moving it closer to the corner, away from the center,
to avoid accidental audio muting.
Reviewers: #vdg, #plasma, hein, ngraham
Reviewed By: #vdg, ngraham
Subscribers: broulik, Fuchs, ndavis, filipf, cblack, plasma-devel
Differential Revision: https://phabricator.kde.org/D26861
M +19 -13 applets/taskmanager/package/contents/ui/AudioStream.qml
M +4 -3 applets/taskmanager/package/contents/ui/Task.qml
I landed this for Plasma 5.19, but if it looks stable enough, we can consider backporting it to Plasma 5.18.1 or .2.