Summary: | Audio balance feature doesn't work | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | Paolo Zamponi <feus73> |
Component: | kcm_pulseaudio | Assignee: | David Rosca <nowrep> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | cicada3031, kde, kde, nate, pedrinho.forever.2108, plasma-bugs, santurysim |
Priority: | HI | Keywords: | regression |
Version: | 5.22.2 | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-pa/commit/72c9b1e1a6c330310bc98cc42d5b2f255b1e1982 | Version Fixed In: | 5.23 |
Description
Paolo Zamponi
2021-07-11 08:54:22 UTC
I'm trying on another pc with Plasma 5.21.5 and KDE Frameworks 5.81.0, and it works fine. So I think this is a regression... Can you confirm if this works with pavucontrol or another pulseaudio controller? (In reply to David Edmundson from comment #2) > Can you confirm if this works with pavucontrol or another pulseaudio > controller? Yes, it works with pavucontrol. But in the Systemsettings module, moving the two sliders has no effect at all when Balance is toggle on (e.g. I move both to zero, but sound volume is still the same). If I push Balance again and so I have only a slider, moving it has effect on sound, but of course balance can't be adjusted. Broken for me as well with Pipewire on Fedora 34. Also works for me with Pavucontrol. This used to work in the past with plain old Pulse on openSUSE Tumbleweed IIRC. *** Bug 441102 has been marked as a duplicate of this bug. *** *** Bug 442335 has been marked as a duplicate of this bug. *** The error is file:///usr/share/kpackage/kcms/kcm_pulseaudio/contents/ui/DeviceListItem.qml:166: TypeError: Type error (PulseObject.setChannelVolume(index, value);) its seems like PulseObject has no public functions or members Can confirm that. *** Bug 442687 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-pa/-/merge_requests/83 Git commit 49e4938559b29b9bf70d68608bbd4b19c489c09d by Nicolas Fella. Committed on 20/09/2021 at 17:41. Pushed by ngraham into branch 'master'. Fix balance setting The code tries to access the model role 'PulseObject' to set the channel volume. However there is also an (ucreateable) QML type named 'PulseObject' registered which causes a clash. Qualify the access with a model. to avoid said clash. M +4 -2 src/kcm/package/contents/ui/DeviceListItem.qml https://invent.kde.org/plasma/plasma-pa/commit/49e4938559b29b9bf70d68608bbd4b19c489c09d Git commit 72c9b1e1a6c330310bc98cc42d5b2f255b1e1982 by Nate Graham, on behalf of Nicolas Fella. Committed on 20/09/2021 at 20:24. Pushed by ngraham into branch 'Plasma/5.23'. Fix balance setting The code tries to access the model role 'PulseObject' to set the channel volume. However there is also an (ucreateable) QML type named 'PulseObject' registered which causes a clash. Qualify the access with a model. to avoid said clash. (cherry picked from commit 49e4938559b29b9bf70d68608bbd4b19c489c09d) M +4 -2 src/kcm/package/contents/ui/DeviceListItem.qml https://invent.kde.org/plasma/plasma-pa/commit/72c9b1e1a6c330310bc98cc42d5b2f255b1e1982 |