← Back to team overview

touch-packages team mailing list archive

[Bug 1520548] Re: Volume slider in sound indicator ignores the "volume" action coming from indicator-sound in a particular case

 

The UI is stuck in a "waiting for server" state.  We are using a live
slider, and constantly sending updates to the server. And since the
server stops responding to our requests (doesn't set the value to above
75% until we let it) we stick in this state for a timeout (up to 30
seconds), after which we will reset to the server state.

So we do eventually end up in the correct value, but it takes time.

This is because if we responded directly to every server change, the UI
would be unusable (slider would bob/stutter about as we drag it). We
can't do much about the server silently rejecting change requests other
than re-syncing the server value after a time.


That being said, I've had a bit of a thought.
We basically need some feedback from the server to cause a "reset to server value". Could we add an action to the backend for this? Think of it like a "in-sync number". If we detect an increment to the sync number, we re-sync to the server value. The backend could increment the action value after the user decision on the snap decision.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1520548

Title:
  Volume slider in sound indicator ignores the "volume" action coming
  from indicator-sound in a particular case

Status in unity8 package in Ubuntu:
  New

Bug description:
  To re-create this:

  Use last rc flash image.

  1. Plug headphones in
  2. Play audio multimedia
  3. Open the sound indicator
  4. Move the volume slider to the maximum
      A warning dialog should appear asking the user to approve high volume
      At this point the indicator-sound has clamped the volume to 75% waiting for the user to accept or decline the warning.
  5. Press cancel
  6. The slider shows the value over 75%

  I can see with dbus-monitor that the volume action signal is emitted
  with the 75% value, although it seems that the UI is ignoring it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity8/+bug/1520548/+subscriptions


References