I thought I was so clever in thinking of this idea, then I researched
and discovered that it's what iOS already does.
<https://developer.apple.com/library/ios/documentation/MediaPlayer/Reference/MPVolumeView_Class/index.html>

> The sound indicator does suppress the notification when it is shown

On the PC it does, but not on the phone. And if it's not obvious enough
even for Canonical engineers to do it, that bodes ill for app
developers. With this scheme, they get the notification-suppressing
behavior for free whenever they choose the easy way of embedding a
volume control.

> what if a notification goes off while the app is open ? you will
suddenly adjust the notification volume.

Yes, that's a drawback. But then, a notification probably should
temporarily quieten media playback, so changing the media volume
wouldn't be that meaningful during those few seconds anyway.

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

Title:
  Don't show the volume overlay when changing the volume with the slider

Status in indicator-sound package in Ubuntu:
  Triaged
Status in ubuntu-system-settings package in Ubuntu:
  New
Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  The overlay and the slider are redundant when the user changes the
  volume with the slider and the overlay shouldn't be displayed.

  ProblemType: Bug
  DistroRelease: Ubuntu RTM 14.09
  Package: indicator-sound 12.10.2+14.10.20141021~rtm-0ubuntu1
  Uname: Linux 3.4.67 armv7l
  ActionStates: ({'mediaplayer-app.desktop.greeter': (true, signature '', 
[<{'running': <false>, 'state': <'Paused'>}>]), 'mute': (true, '', [<false>]), 
'phone-settings': (true, '', []), 'mic-volume': (true, '', [<1.0>]), 'scroll': 
(true, 'i', []), 'high-volume': (true, '', [<false>]), 
'play-playlist.mediaplayer-app.desktop': (true, 's', []), 'desktop-settings': 
(true, '', []), 'mediaplayer-app.desktop': (true, '', [<{'running': <false>, 
'state': <'Paused'>}>]), 'play.mediaplayer-app.desktop': (true, '', 
[<'Paused'>]), 'volume': (true, 'i', [<1.0>]), 'next.mediaplayer-app.desktop': 
(true, '', []), 'root': (true, '', [<{'title': <'Son'>, 'accessible-desc': 
<'Volume (100%)'>, 'icon': <('themed', <['audio-volume-high-panel', 
'audio-volume-high', 'audio-volume', 'audio']>)>, 'visible': <true>}>]), 
'previous.mediaplayer-app.desktop': (true, '', []), 'silent-mode': (true, '', 
[<false>])},)
  ApportVersion: 2.14.7-0ubuntu8
  Architecture: armhf
  Date: Wed Nov  5 16:58:35 2014
  InstallationDate: Installed on 2014-11-05 (0 days ago)
  InstallationMedia: Ubuntu Utopic Unicorn (development branch) - armhf 
(20141105-120036)
  SourcePackage: indicator-sound
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-sound/+bug/1389761/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to