Bug 352370 - Able to select master sinks to show as icon volume
Summary: Able to select master sinks to show as icon volume
Status: RESOLVED FIXED
Alias: None
Product: plasma-pa
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.0
Platform: Other Linux
: NOR wishlist
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-06 23:58 UTC by Weng Xuetian
Modified: 2016-04-05 12:53 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Weng Xuetian 2015-09-06 23:58:21 UTC
Plasma shows my hdml volume by default, which is mostly useless for me, especially when the hdmi volume step is wrong currently (only show 100% and mute on the icon, probably because of the FIXME in icon.js). plasma-pa hardcoded to show the first device volume.

I'd like to be able to set a master channel, and make all operation on the icon only operates the default channel instead of all channel.

Reproducible: Always

Steps to Reproduce:
1. Mouse Scroll on the volume applet


Actual Results:  
All channel volume changes


Expected Results:  
Only one channel volume changes
Comment 1 David Rosca 2016-04-05 12:53:36 UTC
Git commit 1e95d867a6296ca4b3fa8f021e82b0e6feec6edd by David Rosca.
Committed on 05/04/2016 at 12:37.
Pushed by drosca into branch 'master'.

Use default output device when changing global volume

Global shortcuts now changes volume of default output device
only, instead of all output devices. Applet icon now displays
volume of default output device only, instead of first output device
in list.

Changing volume with wheel and muting with middle click on applet icon
no longer shows OSD.

Added tooltip subtext for applet showing volume level and name of
default output device.
Related: bug 357214, bug 352727

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

M  +4    -4    applet/contents/code/icon.js
M  +1    -36   applet/contents/ui/ListItemBase.qml
M  +41   -22   applet/contents/ui/main.qml
M  +10   -9    src/pulseaudio.cpp
M  +7    -2    src/pulseaudio.h
M  +5    -1    src/qml/plugin.cpp

http://commits.kde.org/plasma-pa/1e95d867a6296ca4b3fa8f021e82b0e6feec6edd