[alsa-devel] [PATCH] alsamixer: Confirm that a drastic volume change is intentional.

Kusanagi Kouichi slash at ac.auone-net.jp
Sat Jan 14 13:35:36 CET 2012

On 2012-01-13 13:31:03 +0100, Clemens Ladisch wrote:
> Kusanagi Kouichi wrote:
> > Home key has been disabled because it might at least surprise a user
> > unless volume is already nearly full. Not only home but 9, 8 and so
> > on might also surprise a user.
> The surprise is not so much the amount of the resulting volume but the
> meaning of the key; the user might have assumed that Home jumps to the
> first control.  If the volume is too loud after pressing 9, it's easy
> to press another smaller digit, but it would be more difficult to
> remember a volume change key if the jump to 100% happens in a situation
> where a volume change wasn't expected at all.
> (And this would be a good reason to disable the End key, too.)
> > So instead of disableing key, show confirmation dialog for drastic
> > volume change.
> A confirmation dialog is annoying to users who know what they're doing,
> and still confusing to anybody else.
> Instead of having commands that require confirmation, I think it's
> better to have only commands whose meaning is obvious.
> In this case, the jump-to-100% command doesn't seem to be very
> worthwhile because you could just as well press PageUp a few times.
> Is there a reason that you need this command, other than for symmetry
> with the End command?
> Regards,
> Clemens

The reason for this patch is that there is #if 0-ed code. I thought
home key is supposed to set volume to 100%. But that's not true.
Please ignore this patch.

More information about the Alsa-devel mailing list