[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-25 Thread Jamie Strandboge
David, can you explain? Are you saying pulseaudio already has all the
code to alert indicator-sound that it is recording, is using it, but
indicator-sound is not responding to it?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-25 Thread David Henningsson
I don't think there is a need to change PulseAudio, because the required
API is already available.

I think indicator-sound is currently using the API to monitor playback,
but not to monitor recording.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-25 Thread David Henningsson
Hmm, maybe indicator-sound is already using that API for recording too,
because I remember at some point that the drop-down menu would show the
recording gain only when recording was active. If so, it's just a matter
of transforming that information to an icon, too.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-25 Thread Jamie Strandboge
I see-- I thought pulseaudio would tell indicator-sound it was
recording, but instead indicator-sound is monitoring pulseaudio.

Mathew, this bug is marked 'Incomplete'-- can someone not just turn the
indicator red for the time being and then the full design can be fleshed
out later? As it stands now, apps can eavesdrop on users without them
knowing because of this bug.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-25 Thread Matthew Paul Thomas
I marked it as Incomplete because nobody has answered my question.
Complexity of design is not the issue; I imagine the design would take
about 20 minutes.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-25 Thread Jamie Strandboge
Lars, yes the microphone source. Another use case that may be worth
considering is video recording-- most of the time it will accompany
audio recording, but it is conceivable it video-only recording is
possible too.

My initial thought is that it would result in a red icon (or whatever)
appearing in every Ubuntu screencast that included real-time audio. That
seems like a bad idea. If it's okay for a screencast app to record the
screen without befouling it first, why shouldn't it be okay for it to
record audio too?

Matthew, screencast (I guess you mean screen capture?) apps are a
special case and not supported by Mir or application confinement at this
time (ie, no app can perform a screen capture right now on Touch). I'm
not sure why it actually is bad that the icon be read in the screen
capture (but maybe it is). Looking towards converged, my understanding
is that screen capture apps will be trusted, not confined and not
available in the app store. IMHO, I think for now we just always adjust
the icon (or whatever) to close this bug and then file a wishlist
feature request bug to add an inhibit API for the visual cue (or
something) that would only be available to trusted and/or unconfined
apps. (I can imagine a DBus call in indicator-sound:
InhibitRecordingVisualCue and UninhibityRecordingVisualCue-- screen
capture apps can use this all they want and appstore apps are blocked
from using it). In concrete terms-- for 13.10 implement the visual cue
and for 14.04 implement the feature to inhibity the visual cue.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-25 Thread Matthew Paul Thomas
I meant screencasts as in http://screencasts.ubuntu.com/. I posit that
having a red icon in every audio+video screencast of Ubuntu Touch would
be cringeworthy in exactly the same way as having a screencast utility
icon in the panel or menu bar in most 2007~2012-era Ubuntu screencasts
was cringeworthy. Because audio recording and screen recording often go
together, it is important that both of them be invisible during the
recording.

I suggest instead that access to the microphone be something that the
system requires run-time confirmation of, in the same way that it
requires confirmation of access to location or contacts. That wouldn't
require any new APIs *or* any work in indicator-sound.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-25 Thread Matthew Paul Thomas
Specification updated.
https://wiki.ubuntu.com/AccountPrivileges?action=diffrev2=13rev1=12

** Changed in: indicator-sound (Ubuntu Saucy)
   Status: Incomplete = In Progress

** Changed in: indicator-sound (Ubuntu Saucy)
   Status: In Progress = Triaged

** Changed in: indicator-sound (Ubuntu Saucy)
 Assignee: Matthew Paul Thomas (mpt) = (unassigned)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-18 Thread Matthew Paul Thomas
** Changed in: indicator-sound (Ubuntu Saucy)
 Assignee: (unassigned) = Matthew Paul Thomas (mpt)

** Changed in: indicator-sound (Ubuntu Saucy)
   Status: New = Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-13 Thread Lars Uebernickel
I assume by recording you mean reading from an microphone source? (I
can't imagine any other way to figure out if an application is
recording.)

Also, I'm not sure whether turning the icon red is enough to convey an
application is using the microphone. Maybe we can get some design input
before implementing this?

By the way, this will most likely be implemented in indicator-sound, not
pulseaudio.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-13 Thread Matthew Paul Thomas
My initial thought is that it would result in a red icon (or whatever)
appearing in every Ubuntu screencast that included real-time audio. That
seems like a bad idea. If it's okay for a screencast app to record the
screen without befouling it first, why shouldn't it be okay for it to
record audio too?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-13 Thread Jamie Strandboge
** Description changed:

  David and the security team (inspired by an observation from Rick)
  discussed that when recording, pulseaudio should somehow unobtrusively
  show the user that it is recording. The easiest thing to do would be for
  pulseaudio to alert indicator-sound which would then turn its icon red
  (similar to indicator-message turning blue with new messages). Marking
  'high' because apps with access to pulseaudio can currently eavedrop on
  users. If the app is allowed to do networking (the default for apps),
- then it can ship that information off to a server somewhere. Note, this
- must happen via the out of process pulseaudio server and not the
- confined app itself to be effective.
+ then it can ship that information off to a server somewhere.
+ 
+ Note 1, this must happen via the out of process pulseaudio server and
+ not the confined app itself to be effective.
+ 
+ Note 2, we should consider how to enforce this for foreground apps only.
+ Application lifecycle should probably handle this for 13.10 (apps are
+ suspended if not in foreground or if the screensaver is on), but we
+ don't want an app on the converged device to record in the background
+ when the user isn't paying attention. Example eavesdropping attack:
+ start recording only when the screensaver is on (perhaps inhibiting the
+ screensaver during recording would be enough).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-13 Thread Jamie Strandboge
I think the pulseaudio task is valid-- it will certainly need to alert
indicator-sound that it is recording, no?

** Description changed:

  David and the security team (inspired by an observation from Rick)
  discussed that when recording, pulseaudio should somehow unobtrusively
  show the user that it is recording. The easiest thing to do would be for
  pulseaudio to alert indicator-sound which would then turn its icon red
  (similar to indicator-message turning blue with new messages). Marking
  'high' because apps with access to pulseaudio can currently eavedrop on
  users. If the app is allowed to do networking (the default for apps),
  then it can ship that information off to a server somewhere.
  
- Note 1, this must happen via the out of process pulseaudio server and
- not the confined app itself to be effective.
+ Note 1, the alert to indicator-sound must happen via the out of process
+ pulseaudio server and not the confined app itself to be effective.
  
  Note 2, we should consider how to enforce this for foreground apps only.
  Application lifecycle should probably handle this for 13.10 (apps are
  suspended if not in foreground or if the screensaver is on), but we
  don't want an app on the converged device to record in the background
  when the user isn't paying attention. Example eavesdropping attack:
  start recording only when the screensaver is on (perhaps inhibiting the
  screensaver during recording would be enough).

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-13 Thread David Henningsson
There is already possibilities for indicator-sound to get notification
when a recording starts/stops.

** Changed in: pulseaudio (Ubuntu Saucy)
   Status: Triaged = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-12 Thread Jamie Strandboge
** Description changed:

  David and the security team (inspired by an observation from Rick)
  discussed that when recording, pulseaudio should somehow unobtrusively
  show the user that it is recording. The easiest thing to do would be for
  pulseaudio to alert indicator-sound which would then turn its icon red
  (similar to indicator-message turning blue with new messages). Marking
  'high' because apps with access to pulseaudio can currently eavedrop on
  users. If the app is allowed to do networking (the default for apps),
- then it can ship that information off to a server somewhere.
+ then it can ship that information off to a server somewhere. Note, this
+ must happen via the out of process pulseaudio server and not the
+ confined app itself to be effective.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1224756] Re: pulseaudio should give a visual indication when it is recording

2013-09-12 Thread Jamie Strandboge
Adding an indicator-sound task in case there is work to do there to
support this. If the API is there already, please mark 'Invalid'.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1224756

Title:
  pulseaudio should give a visual indication when it is recording

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs