Bug 390161

Summary: "Mute Mic" keyboard shortcut (XF86AudioMicMute) does nothing
Product: [Plasma] plasma-pa Reporter: Damjan Georgievski <gdamjan>
Component: generalAssignee: David Rosca <nowrep>
Status: RESOLVED FIXED    
Severity: normal CC: m4ngust, nate, petetheisen, plasma-bugs
Priority: NOR    
Version: 5.12.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In: 5.12.1
Sentry Crash Report:

Description Damjan Georgievski 2018-02-09 16:43:47 UTC
pressing the XF86AudioMicMute does nothing. xev shows the correct event.
the logs say:

plasmashell[32108]: file:///usr/share/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml:132: ReferenceError: sourceModel is not defined

plasma-pa 5.12.0-1 from ArchLinux packages
Comment 1 David Rosca 2018-02-12 08:56:53 UTC
Git commit fb789820c69ed6b7ab78dde305b46d7ae558a2fa by David Rosca.
Committed on 12/02/2018 at 08:55.
Pushed by drosca into branch 'Plasma/5.12'.

Applet: Fix accessing SourceModel from main item

Also rename ids to paSinkModel and paSourceModel.
FIXED-IN: 5.12.1

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

M  +35   -33   applet/contents/ui/main.qml

https://commits.kde.org/plasma-pa/fb789820c69ed6b7ab78dde305b46d7ae558a2fa
Comment 2 Damjan Georgievski 2018-02-12 16:47:53 UTC
i've applied the patch to /usr/share/plasma/plasmoids/org.kde.plasma.volume/contents/ui/main.qml on ArchLinux with Plasma 5.12.0 packages, and it fixes the issue.
Comment 3 Christoph Feck 2018-03-15 04:17:23 UTC
*** Bug 390795 has been marked as a duplicate of this bug. ***