Volume applet does not work as expected when volume set above 100%

Bug #722272 reported by DisembodiedVoice
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Awn Extras
Incomplete
Undecided
onox

Bug Description

When the volume is set with pulseaudio to be above 100%, scrolling over the awn volume applet up will return the sound to 100% - but scrolling down will only lower it by the usual 3-4 percent. I'd recommend this issue be fixed by allowing us to set a custom max volume, like 120 percent, and lowering the volume to that anytime we did an action when the volume was above the set max, and treating it like it is now if the volume is under the max volume. Awn 4.0 from debian unstable repos, with pulse audio version 9.21-4. Thanks.

Revision history for this message
onox (onox) wrote :

So if sound is for example 130% then when you hover over the applet the volume immediately becomes 100%?

In trunk I cannot reproduce this. If sound is > 100%, volume scale is set to the right completely and shows a volume of > 100%. Then when scolling down, the volume lowers, and when it reaches <= 100% the volume scale bar starts moving to the left (as expected).

Can you try to reproduce this with lp:awn-extras trunk?

Changed in awn-extras:
assignee: nobody → onox (onox)
status: New → Incomplete
tags: added: volume-control
Revision history for this message
onox (onox) wrote :

Perhaps you can also try to run avant-window-navigator in a terminal and check whether you see any tracebacks.

Revision history for this message
DisembodiedVoice (disembodiedvoice) wrote :

I believe there were. When I started awn from a terminal, then changed the volume above 100%, then interacted with the volume control applet, it gave this output.

  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 1059, in callback_wrapper
    callback()
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 264, in refresh_icon
    icon = [key for key, value in volume_ranges.iteritems() if volume <= value[0] and volume >= value[1]][0]
IndexError: list index out of range

But I noticed that when I started the applet with the volume already above 100%, it actually failed to start, giving this error.

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/awn/extras/awnlib.py", line 1462, in init_start
    applet_class(applet)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 104, in __init__
    self.setup_context_menu(prefs)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 169, in setup_context_menu
    self.load_track_pref(prefs)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 220, in load_track_pref
    self.reload_tracks()
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 232, in reload_tracks
    self.backend.set_track(self.applet.settings["track"])
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 453, in set_track
    self.__parent.refresh_icon(True)
  File "/usr/share/avant-window-navigator/applets/volume-control/volume-control.py", line 264, in refresh_icon
    icon = [key for key, value in volume_ranges.iteritems() if volume <= value[0] and volume >= value[1]][0]
IndexError: list index out of range

Also, the applet works as expected lowering the volume by scrolling over it - it's when I scroll up that the volume actually decreases, all the way down to 100%, every time. I'm not really sure how I could try that branch of awn from debian, though when I still used ubuntu the behavior was present there. I hope you can see the bug now. Thanks.

Revision history for this message
onox (onox) wrote :

Seems like a duplicate of bug 461123.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.