Bug 178177

Summary: Mute available in systray context menu even though the master channel is not mutable
Product: [Applications] kmix Reporter: Jason Keirstead <jason>
Component: Obsolete component. Do NOT use!!! (ex: KMix Panel Applet).Assignee: Christian Esken <esken>
Status: RESOLVED FIXED    
Severity: normal CC: lemma
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Image showing issue 2, notice the mute option is checked but the systray icon is unmuted
Issue #1, notice the mute checkbox is not in the dialog at all
Issue #3, this is the mute checkbox that does nothing at all if clicked on, does not even toggle on/off

Description Jason Keirstead 2008-12-19 15:10:52 UTC
Version:            (using KDE 4.1.3)
OS:                Linux
Installed from:    Ubuntu Packages

I have several seemingly VERY odd problems with my KMix system tray panel ever since I upgraded to KDE 4 on this laptop. I will attach screen shots of all of the issues surrounding mute, most of which I have found no similar bug report.

For reference, I am running Kubuntu Ibex with KDe 4.1.3. lspci for my sound card shows "00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)"

- This is the strangest one - when I left click on the systray KMix applet, I see the volume control slider - but there is no mute check box, at all. The widget is not even there anywhere.

- If I open the KMix window, and check the "Mute" checkbox, my systray icon does not change to the "muted" icon. The mute function itself works fine however.

- If I right click on the systray applet, there is a menu option for "Mute", that seems to reflect the correct status of whatever I pick in the Kmix window. However, if I click on this menu option, it does nothing. It doesn't change my mute status, and it doesn't even toggle the checkbox. I can right click and click this checkbox over and over and it doesn't seem to even uncheck.
Comment 1 Jason Keirstead 2008-12-19 15:15:17 UTC
Created attachment 29445 [details]
Image showing issue 2, notice the mute option is checked but the systray icon is unmuted
Comment 2 Jason Keirstead 2008-12-19 15:15:53 UTC
Created attachment 29446 [details]
Issue #1, notice the mute checkbox is not in the dialog at all
Comment 3 Jason Keirstead 2008-12-19 15:16:31 UTC
Created attachment 29447 [details]
Issue #3, this is the mute checkbox that does nothing at all if clicked on, does not even toggle on/off
Comment 4 Michael Leupold 2008-12-19 15:28:11 UTC
kmix depends on the capabilities the hardware reports:
1) If you don't see the "Mute" checkbox when left-clicking the systray icon the selected master channel doesn't have the mute functionality (try right-clicking and select a different master channel). This happens on my desktop as well if I choose "PCM" as the master channel. You can recheck if the channel should have the mute function using alsamixer (select the channel there and press "m" to see if it mutes).

2) Same here. AFAIK the systray icon reflects the master channel's state.

3) This one is indeed a bug. The "Mute" item should not be selectable if the channel is not mutable.

I'm changing the bug description accordingly.
Comment 5 Jason Keirstead 2008-12-19 15:56:57 UTC
RE comments #1 and #2, then how come there is a mute function (that works fine) in the KMix main window then? It isn't doing some kind of manual "set the volume to zero" when I click it either because the volume slider stays where it was - the sound just mutes, and mutes correctly. 

It only seems broken in the system tray components.

Comment 6 Jason Keirstead 2008-12-19 15:59:02 UTC
Also - I did just check alsamixer - I have the mute function (pressing M toggles and untoggles the state)

I think #1 and #2 are real issues - something is inconsistent here between the applet and the main window.
Comment 7 Michael Leupold 2008-12-19 17:10:31 UTC
Please check your first screenshot again. The channel having the "Mute" checkbox is not your PCM master channel but the "Front" channel.
Comment 8 Jason Keirstead 2008-12-19 17:53:41 UTC
Ah I see now. Is there any way to configure kmix to use a different channel for the systray applet? I guess that is a feature request.
Comment 9 Michael Leupold 2008-12-19 18:11:36 UTC
Just right-click the systray icon and select "Choose master channel" :)
Comment 10 Jason Keirstead 2008-12-19 18:14:05 UTC
A-ha :)

Thanks that fixed most of my problems. 
Comment 11 Christian Esken 2008-12-20 11:45:43 UTC
So Issue #1 and Issue #2 are no bugs. And Issue #3 is - as mentioned - a bug. It was fixed about 2 weeks ago, and will ship with KDE4.2. So everything should be fine now. Closing bug report.