Bug 1269447

Summary: Sound keys do not work (right)?
Product: Red Hat Enterprise Linux 7 Reporter: Bohdan Milar <bmilar>
Component: control-centerAssignee: Bastien Nocera <bnocera>
Status: CLOSED WONTFIX QA Contact: Desktop QE <desktop-qa-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: mclasen, tpelka, vbenes
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-26 10:27:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1295396    

Description Bohdan Milar 2015-10-07 11:37:51 UTC
Description of problem:
In "gnome-control-center universal-access" you can click "Sound Keys". You will get "Sound Keys" dialog with on/off switch and text of "Beep when Num Lock or Caps Lock are turned on." There are 2 problems:

1) When you turn Sound Keys on and press Caps Lock or Num Lock (on default installation) you hear nothing. The reason is that system alert sound is used to announce the Locks and it is muted by default (All Settings -> Sound -> Sound Effects -> Alert Volume). Possible solutions:
- Alert Volume should be unmuted automatically when Sound Keys are turned on (and then muted when turned off).
- info or alert should be displayed when a user turns Sound Keys on while Alert Volume is muted.
- there should be a button (called something like "Set sound and volume") in the "Sound Keys" dialog which (when pressed) will jump to Sound -> Sound Effects and thus allow user to set the volume (and/or sound) manually.

2) After you turn alert sound on (unmute it) and try to press Caps Lock or Num Lock several times you will find out that the sound is play also when Caps Lock or Num Lock are turned off. So this is a bug or the text in dialog is wrong (should say: "Beep when Num Lock or Caps Lock are turned on or off.")

Version-Release number of selected component (if applicable):
control-center-3.14.5-8.el7.x86_64

How reproducible:
Always (after default installation or when "Alert Volume" is turned off manually)

Steps to Reproduce:
1. Run "gnome-control-center universal-access"
2. Click "Sound Keys" - dialog will appear
3. Click "Sound Keys" switch to turn it on
4. Try to press Caps Lock and/or Num Lock several times
5. Go to All Settings -> Sound -> Sound Effects
6. Unmute Alert Volume
7. Try to press Caps Lock and/or Num Lock several times

Actual results:
step 4 - no sound is played (could not be heard)
step 7 - sound is played when Caps Lock/Num Lock is turned on and even off

Expected results:
step 4 - alert sound should be played (not muted)
step 7 - sound should be played only when Caps Lock/Num Lock is turned on and should not be played when turned off (or the text in "Sound Keys" dialog should be changed)

Additional info:

Comment 2 Matthias Clasen 2015-10-07 13:40:52 UTC
Good suggestion, but this kind of feature request needs to be handled upstream first. I've filed an upstream bug for it.

Comment 4 Bastien Nocera 2016-04-26 09:45:23 UTC
(In reply to Bohdan Milar from comment #0)
> Description of problem:
> In "gnome-control-center universal-access" you can click "Sound Keys". You
> will get "Sound Keys" dialog with on/off switch and text of "Beep when Num
> Lock or Caps Lock are turned on." There are 2 problems:
> 
> 1) When you turn Sound Keys on and press Caps Lock or Num Lock (on default
> installation) you hear nothing. The reason is that system alert sound is
> used to announce the Locks and it is muted by default (All Settings -> Sound
> -> Sound Effects -> Alert Volume).

It is not muted by default. In fact, launch a live version, or do an installation and open a terminal, then press <tab><tab> and hear the very loud ding.

If the sound is muted by default on your system, then it's a bug in the ALSA default mixer configuration, and separate bug is warranted.

> Possible solutions:
> - Alert Volume should be unmuted automatically when Sound Keys are turned on
> (and then muted when turned off).
> - info or alert should be displayed when a user turns Sound Keys on while
> Alert Volume is muted.
> - there should be a button (called something like "Set sound and volume") in
> the "Sound Keys" dialog which (when pressed) will jump to Sound -> Sound
> Effects and thus allow user to set the volume (and/or sound) manually.

Noted, filed as:
https://bugzilla.gnome.org/show_bug.cgi?id=765585

> 2) After you turn alert sound on (unmute it) and try to press Caps Lock or
> Num Lock several times you will find out that the sound is play also when
> Caps Lock or Num Lock are turned off. So this is a bug or the text in dialog
> is wrong (should say: "Beep when Num Lock or Caps Lock are turned on or
> off.")

Filed as:
https://bugzilla.gnome.org/show_bug.cgi?id=765589

All those changes are UI changes, so they would need to happen upstream first, so we can avoid diverting from the upstream UI, and have documentation and translations updated.

Comment 5 RHEL Program Management 2016-04-26 10:27:52 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.