Notification sounds aren't being played back on E4.5 (ubuntu-push restricts directories and block custom sounds)

Bug #1413818 reported by Sergio Schvezov
238
This bug affects 46 people
Affects Status Importance Assigned to Milestone
Canonical System Image
Fix Released
Critical
Łukasz Zemczak
The Savilerow project
Invalid
High
Zhang Enwei
ubuntu-push (Ubuntu)
Fix Released
High
Jonas G. Drange
ubuntu-touch-session (Ubuntu)
Fix Released
Critical
Łukasz Zemczak
ubuntu-touch-session (Ubuntu RTM)
Fix Released
Critical
Łukasz Zemczak

Bug Description

This affects mostly the push notifications based alerts, SMS et.al. work fine.

With export PULSE_PROP='media.role=alert'

This has no audible output: paplay /usr/share/sounds/ubuntu/notifications/Slick.ogg
This does: paplay /usr/share/sounds/ubuntu/ringtones/Soul.ogg

$ system-image-cli -i
current build number: 14
device name: mako
channel: ubuntu-touch/stable
alias: ubuntu-touch/ubuntu-rtm/14.09
last update: 2015-01-16 13:12:29
version version: 14
version ubuntu: 20150116
version device: 20141119
version custom: mako-1.1

The hunch is some buffering going on on the android side for short sound bytes.

Related branches

Revision history for this message
Sergio Schvezov (sergiusens) wrote :

Works fine on flo/vivid

system-image-cli -i
current build number: 71
device name: flo
channel: ubuntu-touch/devel-proposed
alias: ubuntu-touch/vivid-proposed
last update: 2015-01-21 22:10:44
version version: 71
version ubuntu: 20150121
version device: 20150121
version custom: 20150121

Revision history for this message
Ricardo Salveti (rsalveti) wrote :

Also works fine on mako/vivid.
current build number: 73
device name: mako
channel: ubuntu-touch/vivid-proposed
last update: 2015-01-23 01:12:12
version version: 73
version ubuntu: 20150122
version device: 20150121
version custom: 20150122

description: updated
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Mako 175

The two largest files in notifications (Positive.ogg and Mallett.ogg) do play, the other do not.

Changed in canonical-devices-system-image:
assignee: nobody → Canonical Phone Foundations (canonical-phonedations-team)
Revision history for this message
Nephilim1973 (nephilim1973-e) wrote :

@ Pat:

Workaround with Positive.ogg or Mallett.ogg not working for me :-(

build: 20 (krillin)
channel: ubuntu-touch/stable/bq-aquaris.en
alias: ubuntu-touch/ubuntu/rtm/14.09
version version: 20
version ubuntu: 20150312
version device: 20150310-3201c0a
version custom: 20150216-561-29-186

Regards.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Is this in the queue to get worked on?

Changed in canonical-devices-system-image:
status: New → Confirmed
importance: Undecided → High
Changed in pulseaudio (Ubuntu RTM):
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Canonical Phone Foundations (canonical-phonedations-team)
Changed in pulseaudio (Ubuntu RTM):
assignee: Canonical Phone Foundations (canonical-phonedations-team) → Ricardo Salveti (rsalveti)
Revision history for this message
Nephilim1973 (nephilim1973-e) wrote :

I copied /usr/share/sounds/ubuntu/ringtones/Soul.ogg to /usr/share/sounds/ubuntu/notifications/Soul.ogg and changed notification sound to "Soul".

Doesn't work. :-(

Revision history for this message
Michał Karnicki (karni) wrote :

We have quite a number of users reporting this bug.

tags: added: bq
Revision history for this message
SB (emehntehtt) wrote :

Yes, notifications for applications like Telegram and Twitter dont work for me either on BQ, from what I heard this will be fixed when 15.04 image arrives, too bad the fix wont seem to land for OTA-3 but maybe I am wrong :)

Revision history for this message
Markcortbass (markcortbass) wrote :

Telegram notifications still don't produce any sound with Ubuntu 15.04 r23 BQ Aqauris E4.5 Ubuntu Edition.

Revision history for this message
costales (costales) wrote : Re: [Bug 1413818] Re: Notification sounds aren't being played back

Uhm... Me it is playing sounds :)) same version as you.
Can confirm more users? Thanks

On Friday, June 19, 2015, Markcortbass <email address hidden> wrote:
> Telegram notifications still don't produce any sound with Ubuntu 15.04
> r23 BQ Aqauris E4.5 Ubuntu Edition.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1451023).
> https://bugs.launchpad.net/bugs/1413818
>
> Title:
> Notification sounds aren't being played back
>
> To manage notifications about this bug go to:
>
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413818/+subscriptions
>

Revision history for this message
Jorgga (jorgga) wrote : Re: Notification sounds aren't being played back

For me there is no sound either on Telegram.
Ubuntu 15.04 r23 BQ Aqauris E4.5 Ubuntu Edition.

Revision history for this message
Markcortbass (markcortbass) wrote :

I think it's a bug in Telegram?
Because I receive notification sounds with Gmail, Twitter and SMS, but not with Telegram.

Revision history for this message
Michał Karnicki (karni) wrote :

I'm quite sure it is not. It is a long standing bug that's been around for much longer than I wish. Gmail and Twitter are not native apps. SMS has nothing to do with it, as it's not using push notifications (which are responsible for causing the sound to be emitted). Telegram is a regular (though, pre-loaded) native confined click app, that uses push notifications the way other apps would (although besides a "Hello" example I don't know of a single other app making use of that yet, so it's hard to have a comparison). It's a system service responsible for making those sounds. Native apps other than system apps have not been allowed to play sounds with notifications, which eventually I saw was considered a bug. Please correct me if I'm wrong on why Gmail and Twitter actually work, but this bug is not of Telegram - feel free to tail -f .cache/upstart/ubuntu-push-client.log to see things like: http://paste.ubuntu.com/11772804/ - this should use a default sound.

Changed in canonical-devices-system-image:
milestone: none → ww34-2015
Revision history for this message
Pat McGowan (pat-mcgowan) wrote : Re: Notification sounds aren't being played back on E4.5

Works on MX4 but not BQ E4.5 so seems to be related to the hardware somehow
Need to get logs from hardware decode side to see if its getting there

summary: - Notification sounds aren't being played back
+ Notification sounds aren't being played back on E4.5
Revision history for this message
Michał Karnicki (karni) wrote :

Sent an e-mail to ralsina and Chipaca looking for answer to Jim's question:

"Do you use an Audio element or MediaPlayer element in Qt for this, or is it the low-latency AudioEffect class?"

Cc'ed Jim, Pat and Ricardo.

Revision history for this message
John Lenton (chipaca) wrote :

it's not Qt at all; what we do is invoke paplay. If you ssh in and do

$ PULSE_PROP="media.role=alert" paplay
/usr/share/sounds/ubuntu/notifications/Slick.ogg

that's what the push client does (.../Slick.ogg is the fallback
default sound it plays; if you're specifying a file instead of a
boolean, it'll look for it in XDG_DATA_DIRS).

Revision history for this message
John Lenton (chipaca) wrote :

This is the code that does the playing:
http://bazaar.launchpad.net/~ubuntu-push-hackers/ubuntu-push/trunk/view/head:/sounds/sounds.go

This is the default configuration (including the fallback sound):
http://bazaar.launchpad.net/~ubuntu-push-hackers/ubuntu-push/trunk/view/head:/debian/config.json

This is the code that calls the code that does the playing, when requested via the postal service (or helper output):
http://bazaar.launchpad.net/~ubuntu-push-hackers/ubuntu-push/trunk/view/head:/client/service/postal.go

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

PULSE_PROP="media.role=alert" paplay /usr/share/sounds/ubuntu/notifications/Slick.ogg
does not play a sound on krillin but it works on arale

 paplay /usr/share/sounds/ubuntu/notifications/Slick.ogg without the PROP set does play a sound

Revision history for this message
John Lenton (chipaca) wrote :

Suspect you need to poke pulseaudio people to find out why :-)

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Seems the alert and alarm roles do not play, whereas phone and multimedia do

Revision history for this message
Jim Hodapp (jhodapp) wrote :

When trying to play something under the alert or alarm roles, make sure that the volume for that role is not set to zero. Try to increase the volume during the time that one of those roles should be set.

Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

any progress or should we reassign

Revision history for this message
Alex - WarumLinuxBesserIst - (wlbi) wrote :

Still no notification alert in Telegram yet. That's really bad, if there is no notification, you can't use this.
Without checking every few minutes the phone, you really miss messages. Many times I get in trouble with my wife, when she told me, that she send me message in Telegram and I don't realize it. She waited hours for me.. :-(

Changed in canonical-devices-system-image:
assignee: Canonical Phone Foundations (canonical-phonedations-team) → John McAleely (john.mcaleely)
Changed in pulseaudio (Ubuntu RTM):
assignee: Ricardo Salveti (rsalveti) → nobody
Changed in canonical-devices-system-image:
milestone: ww34-2015 → ww40-2015
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Same here... All my devices (flo, mako, arale) ring fine on telegram messages, krillin does not. Really annoying when used as a phone.

affects: pulseaudio (Ubuntu RTM) → pulseaudio (Ubuntu)
Changed in pulseaudio (Ubuntu):
assignee: nobody → David Henningsson (diwic)
Revision history for this message
David Henningsson (diwic) wrote :

 > PULSE_PROP="media.role=alert" paplay /usr/share/sounds/ubuntu/notifications/Slick.ogg

I just tried this on my krillin and it does play a sound.

Revision history for this message
John Lenton (chipaca) wrote :

You need to get a krillin that doesn't, then, and figure out why it doesn't =)

Revision history for this message
David Henningsson (diwic) wrote :

@john, can you also reproduce this from Sound settings, i e, when choosing a notification signal, does it work there or not?

Revision history for this message
John McAleely (john.mcaleely) wrote :

@chipaca, assuming yours is one, and it still does it, can you provide the output from system-image-cli -i please?

This will be software, not hardware :-)

Revision history for this message
David Henningsson (diwic) wrote :

Setting to incomplete while waiting for John to answer.

Changed in pulseaudio (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
John Lenton (chipaca) wrote : Re: [Bug 1413818] Re: Notification sounds aren't being played back on E4.5

I'm sure it's "software, not hardware", but I don't think
"system-image-cli" will help; note how Pat was able to get his device
"unstuck", above.

I'm on this bug because of my involvement with the "postal service"
(local notification delivery) early on; I don't have the issue.

On 11 September 2015 at 14:30, John McAleely
<email address hidden> wrote:
> @chipaca, assuming yours is one, and it still does it, can you provide
> the output from system-image-cli -i please?
>
> This will be software, not hardware :-)
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1413818
>
> Title:
> Notification sounds aren't being played back on E4.5
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413818/+subscriptions

Revision history for this message
David Henningsson (diwic) wrote : Re: Notification sounds aren't being played back on E4.5

Okay, so is there *anyone* who actually experiences this bug and can help me get some logs out of it?

Revision history for this message
David Henningsson (diwic) wrote :

If you can reproduce this, please do the following:

pacmd set-log-level 4
PULSE_PROP="media.role=alert" paplay /usr/share/sounds/ubuntu/notifications/Slick.ogg
grep pulseaudio /var/log/syslog

And attach the result of the last command here. Thanks!

Revision history for this message
Markcortbass (markcortbass) wrote :
Download full text (12.7 KiB)

The .Slick command produces sound. But Telegram doesn't give any notification sound.
This is my output:

/var/log/syslog:Sep 15 20:48:38 ubuntu-phablet pulseaudio[2109]: [pulseaudio] client.c: Created 9 "UNIX socket client"
/var/log/syslog:Sep 15 20:48:38 ubuntu-phablet pulseaudio[2109]: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Client added for object /org/pulseaudio/core1/client9
/var/log/syslog:Sep 15 20:48:38 ubuntu-phablet pulseaudio[2109]: [pulseaudio] cli.c: CLI got EOF from user.
/var/log/syslog:Sep 15 20:48:38 ubuntu-phablet pulseaudio[2109]: [pulseaudio] client.c: Freed 9 "UNIX socket client"
/var/log/syslog:Sep 15 20:48:38 ubuntu-phablet pulseaudio[2109]: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Client removed from object /org/pulseaudio/core1/client9
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] client.c: Created 10 "Native client (UNIX socket client)"
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] protocol-dbus.c: Interface org.PulseAudio.Core1.Client added for object /org/pulseaudio/core1/client10
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] protocol-native.c: Protocol version: remote 30, local 30
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] protocol-native.c: Got credentials: uid=32011 gid=32011 success=1
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] protocol-native.c: SHM possible: yes
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] protocol-native.c: Negotiated SHM: yes
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] protocol-native.c: Disabling srbchannel, reason: Must be enabled by module parameter
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] module-augment-properties.c: Looking for .desktop file for pacat
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] sink-input.c: Negotiated format: pcm, format.sample_format = "\"float32le\"" format.rate = "44100" format.channels = "2" format.channel_map = "\"front-left,front-right\""
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] sink-input.c: Trying to change sample rate
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] sink-input.c: Rate changed to 44100 Hz
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] module-stream-restore.c: Restoring volume for sink input sink-input-by-media-role:alert.
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] module-suspend-on-idle.c: Sink sink.primary becomes busy, resuming.
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] sink.c: Suspend cause of sink sink.primary is 0x0000, resuming
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [droid-sink-primary] droid-sink.c: Resuming...
/var/log/syslog:Sep 15 20:48:46 ubuntu-phablet pulseaudio[2109]: [pulseaudio] module-suspend-on-idle.c: Sink sink.primary becomes idle, timeout in 5 seconds.
/var/log/syslog:Sep 15 20:48:46 ubuntu-p...

Revision history for this message
Michał Karnicki (karni) wrote :

Works on not so up-to-date krillin/vivid. Amazing :')

phablet@ubuntu-phablet:~$ system-image-cli -i
current build number: 24
device name: krillin
channel: ubuntu-touch/stable/ubuntu
last update: 2015-08-27 18:54:48
version version: 24
version ubuntu: 20150713
version device: 20150529-8e13c5f
version custom: 20150713

Revision history for this message
Michał Karnicki (karni) wrote :

For the record ^^^ I meant sound from a Telegram notification works.

This also works on krillin now:
PULSE_PROP="media.role=alert" paplay /usr/share/sounds/ubuntu/notifications/Slick.ogg

Revision history for this message
David Henningsson (diwic) wrote :

While troubleshooting this together with karni and mzanetti, an interesting find is in the ubuntu-push client. It seems to restrict the sound files allowed to be inside /usr/share/xdg.

Could affected people check if they have manually modified what sound they want to be played back from telegram? And change it back to something inside /usr/share/xdg and see if that works?

Revision history for this message
Michael Zanetti (mzanetti) wrote :

Ok... after digging into this for a while it seems the issue is in ubuntu-push-client. It can't find the sound because on Aquaris phones we use a customized sound file that's not located in a XDG_DATA_DIR. From the log:

2015/09/16 16:43:40.739431 sounds.go:76: DEBUG [UqURQ1yBEeWC7foWPmWXaQ==] unable to find sound /custom/usr/share/sounds/ubuntu/notifications/Aquaris.mp3

FWIW, we should not only add support for this path (/custom/) but instead don't restrict sound files to XDG_DATA_DIRs at all. For example Ubuntu Touch Tweak Tool supports changing the default ringtones just by setting our used gsettings key. Eventually we will probably allow the user to select his own sound files for ring tones with the default settings app just like that. In which case we'd run into this bug again.

affects: pulseaudio (Ubuntu) → ubuntu-push (Ubuntu)
Revision history for this message
Michael Zanetti (mzanetti) wrote :

Ok, discussing this with John, it turns out an app can choose arbitrary sounds in the push-helper. So to minimize the security implications it might be a good idea to keep the restriction on XDG_DATA_DIR. Instead, /custom/ should be added to the XDG_DATA_DIR paths. In case we ever want to allow the user setting his custom sound file for ringtones, we'd need to hardlink/copy it to ~/.local/share first.

Revision history for this message
David Henningsson (diwic) wrote :

Note: there's one more thing. paplay cannot play back mp3 files. Let's take it one more time so it does not get lost in the noise:

*** paplay can not play back mp3 files! ***

Mp3 is not in the list of supported file formats for paplay, and trying to play an mp3 back fails with "Failed to open audio file.". So even if you fix the helper to fix the xdg path stuff, you also need to convert /custom/usr/share/sounds/ubuntu/notifications/Aquaris.mp3 into a format (or use something else than paplay).

Changed in ubuntu-push (Ubuntu):
status: Incomplete → Triaged
assignee: David Henningsson (diwic) → Bill Filler (bfiller)
Changed in canonical-devices-system-image:
assignee: John McAleely (john.mcaleely) → Bill Filler (bfiller)
tags: added: push
Revision history for this message
Penk Chen (penk) wrote :

Updated dconf key of [com/ubuntu/touch/sound] in custom tarball:

incoming-call-sound='/usr/share/sounds/ubuntu/notifications/Xylo.ogg'
incoming-message-sound='/usr/share/sounds/ubuntu/notifications/Xylo.ogg'

This change will be available in next build.

Changed in savilerow:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Penk Chen (penk)
Changed in canonical-devices-system-image:
assignee: Bill Filler (bfiller) → Penk Chen (penk)
status: Confirmed → In Progress
Revision history for this message
Sebastien Bacher (seb128) wrote :

why do you want to change the default sounds to Xylo? that's not what that bug is about...

Revision history for this message
Penk Chen (penk) wrote :

It's now:

[com/ubuntu/touch/sound]
incoming-call-sound='/usr/share/sounds/ubuntu/ringtones/Ubuntu.ogg'
incoming-message-sound='/usr/share/sounds/ubuntu/notifications/Xylo.ogg'

(Unless we want to keep using Aquaris.mp3 and figure out how to play mp3)

Revision history for this message
Sebastien Bacher (seb128) wrote :

extra comment, but is that dconf key still used somewhere? we migrated the config to accountsservice so it can be shared with the greeter and that's where system settings writes as well, if things use gsettings/dconf they might not get updated config when the user changes the ringtone...

Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Revision history for this message
Roascio Paolo (roa) wrote :

Please reopen this because doesn't work in ota-7. I think users should be able to choose the notifications songs and not to be forced to use only xylo

Revision history for this message
Sebastien Bacher (seb128) wrote :

yeah, no surprised, I tried to point that before, unsure how changing a dconf profile is supposed to resolve that issue...

Changed in canonical-devices-system-image:
status: Fix Released → Confirmed
Changed in savilerow:
status: Fix Committed → Confirmed
Changed in canonical-devices-system-image:
milestone: ww40-2015 → ww46-2015
summary: - Notification sounds aren't being played back on E4.5
+ Notification sounds aren't being played back on E4.5 (ubuntu-push
+ restricts directories and block custom sounds)
Changed in canonical-devices-system-image:
assignee: Penk Chen (penk) → Yuan-Chen Cheng (ycheng-twn)
milestone: ww46-2015 → none
milestone: none → ww46-2015
assignee: Yuan-Chen Cheng (ycheng-twn) → Bill Filler (bfiller)
milestone: ww46-2015 → none
Changed in ubuntu-push (Ubuntu):
assignee: Bill Filler (bfiller) → Jonas G. Drange (jonas-drange)
Changed in canonical-devices-system-image:
milestone: none → ww46-2015
Revision history for this message
Roascio Paolo (roa) wrote :

Little update... (This may screws up some assumption)

Today i received a spare email from gmail (usually emails are never notified, but this is another story). the room was absolutely silent and the phone near me, then i heard a feeble "plin" from the phone. the volume was extremely low, and the tone was different from all in the configuration list for notifications (mine is Aquaris) so, at least for gmail notifications, although wrong, something is played.

Immediately i repeated the test (silent room, ear near the phone) with telegram notifications, but in this case no sound at all, only vibration and led blinking.

The question is: don't gmail and telegram share the same notification mechanism? Then, why gmail is, in some way, notified and telegram not at all?

Revision history for this message
John Lenton (chipaca) wrote : Re: [Bug 1413818] Re: Notification sounds aren't being played back on E4.5 (ubuntu-push restricts directories and block custom sounds)

The way the phone gets the notification itself is different (telegram
uses the push notification service, whereas gmail uses account-polld),
but the mechanism that presents the notification to the user is the
same. Account-polld specifies “sounds/ubuntu/notifications/Blip.ogg”,
overriding the system default and the user's settings.

Revision history for this message
Michał Karnicki (karni) wrote :

So in theory I could change "sound: true" in the push helper output to point to this path, and this would resolve the problem... ?
In practice though, outputting "sound: true" from the push helper should Just Work™, so while we could mitigate the problem for Telegram, this would not be the proper solution on the platform level. Please correct me if I'm wrong.

Changed in canonical-devices-system-image:
milestone: ww46-2015 → ww02-2016
Changed in ubuntu-push (Ubuntu):
status: Triaged → In Progress
Changed in canonical-devices-system-image:
status: Confirmed → In Progress
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Changed in ubuntu-push (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-touch-session (Ubuntu):
status: New → Confirmed
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Revision history for this message
Roascio Paolo (roa) wrote :

Again... no luck with OTA-9, please reopen...

Revision history for this message
Victor gonzalez (victor-gonzalez-0) wrote :

Same here, Aquaris message ringtone is not played with Telegram push notifications tested with:

Vegeta OTA9
Krillin rc 244

Revision history for this message
Jonas G. Drange (jonas-drange) wrote :

As discussed in #40-41, XDG_DATA_DIRS will have to include /custom/usr/share, otherwise ubuntu-push-client will refuse to play sound

/custom/usr/share/sounds/ubuntu/notifications/Aquarius.mp3

Changed in canonical-devices-system-image:
status: Fix Released → In Progress
milestone: ww02-2016 → ww08-2016
assignee: Bill Filler (bfiller) → Yuan-Chen Cheng (ycheng-twn)
Changed in ubuntu-touch-session (Ubuntu):
assignee: nobody → Penk Chen (penk)
importance: Undecided → High
Changed in canonical-devices-system-image:
importance: High → Critical
Changed in ubuntu-touch-session (Ubuntu):
importance: High → Critical
Revision history for this message
Kevin Bradley (ke6in) wrote :

Same here - E4.5 @ OTA-9 only plays telegram notifications if the message tone is set to Xylo.

Revision history for this message
Guillaume F (marsguo) wrote :

I don't know if I'm encountering the same bug but comment #49 seems to say so… I have two 4.5 phones, and I think I've always had a notification sound for Gmail, even though there's no way to choose which sound is played. However, since OTA-9 one of my phone only plays the notification sound very quietly as described by roa. The other continues to work fine. I've checked different sound levels (main, multimedia, alarm) but they all appear to be good.

Changed in savilerow:
assignee: Penk Chen (penk) → Jin (jin.cth)
Changed in canonical-devices-system-image:
milestone: ww08-2016 → 11
Penk Chen (penk)
Changed in savilerow:
assignee: Jin (jin.cth) → Zhang Enwei (zhangew401)
Changed in canonical-devices-system-image:
assignee: Yuan-Chen Cheng (ycheng-twn) → Penk Chen (penk)
tags: added: bq-feedback
removed: bq
Changed in ubuntu-push (Ubuntu):
status: Fix Committed → Fix Released
Changed in ubuntu-touch-session (Ubuntu):
assignee: Penk Chen (penk) → Łukasz Zemczak (sil2100)
Changed in ubuntu-push (Ubuntu RTM):
importance: Undecided → Critical
status: New → Confirmed
assignee: nobody → Łukasz Zemczak (sil2100)
no longer affects: ubuntu-push (Ubuntu RTM)
Changed in ubuntu-touch-session (Ubuntu RTM):
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Łukasz Zemczak (sil2100)
Revision history for this message
Pat McGowan (pat-mcgowan) wrote :

Per comment 41 the fix should be made to the ubuntu-touch-session package.
I will mark the savillerow task invalid
Push was previously updated to play mp3 files

Changed in canonical-devices-system-image:
assignee: Penk Chen (penk) → Łukasz Zemczak (sil2100)
Changed in savilerow:
status: Confirmed → Invalid
Revision history for this message
Łukasz Zemczak (sil2100) wrote :

This bug was fixed in the package ubuntu-touch-session 0.108+15.04.20160407-0ubuntu1 in https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/stable-phone-overlay

---------------

ubuntu-touch-session (0.108+15.04.20160407-0ubuntu1) vivid; urgency=medium

  [ Łukasz 'sil2100' Zemczak ]
  * Add an etc profile.d to add the /custom/usr/share directory to
    enable using customized notification sounds by the push client. (LP:
    #1413818)

 -- Łukasz Zemczak <email address hidden> Thu, 07 Apr 2016 11:59:05 +0000

Changed in ubuntu-touch-session (Ubuntu RTM):
status: Confirmed → Fix Released
Changed in canonical-devices-system-image:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-touch-session - 0.108+16.04.20160407-0ubuntu1

---------------
ubuntu-touch-session (0.108+16.04.20160407-0ubuntu1) xenial; urgency=medium

  [ Łukasz 'sil2100' Zemczak ]
  * Add an etc profile.d to add the /custom/usr/share directory to
    enable using customized notification sounds by the push client. (LP:
    #1413818)

 -- Łukasz Zemczak <email address hidden> Thu, 07 Apr 2016 11:59:05 +0000

Changed in ubuntu-touch-session (Ubuntu):
status: Confirmed → Fix Released
Changed in canonical-devices-system-image:
status: Fix Committed → Fix Released
Revision history for this message
groby (groby) wrote :

Seems like the Bug is back on OTA-11 - ubuntu-touch-session 0.108+15.04.20160415-0ubuntu1

I don't get no notification sound by telegram anymore.

Revision history for this message
Victor gonzalez (victor-gonzalez-0) wrote :

Hi Groby!

Please check if changing the message ringtone in settings>sound fix it.
Aquaris ringtone is set by default and it could be the problem.

Cheers,
On 4 Jun 2016 22:15, "groby" <email address hidden> wrote:

> Seems like the Bug is back on OTA-11 - ubuntu-touch-session
> 0.108+15.04.20160415-0ubuntu1
>
> I don't get no notification sound by telegram anymore.
>
> --
> You received this bug notification because you are subscribed to a
> duplicate bug report (1531162).
> https://bugs.launchpad.net/bugs/1413818
>
> Title:
> Notification sounds aren't being played back on E4.5 (ubuntu-push
> restricts directories and block custom sounds)
>
> Status in Canonical System Image:
> Fix Released
> Status in The Savilerow project:
> Invalid
> Status in ubuntu-push package in Ubuntu:
> Fix Released
> Status in ubuntu-touch-session package in Ubuntu:
> Fix Released
> Status in ubuntu-touch-session package in Ubuntu RTM:
> Fix Released
>
> Bug description:
> This affects mostly the push notifications based alerts, SMS et.al.
> work fine.
>
> With export PULSE_PROP='media.role=alert'
>
> This has no audible output: paplay
> /usr/share/sounds/ubuntu/notifications/Slick.ogg
> This does: paplay /usr/share/sounds/ubuntu/ringtones/Soul.ogg
>
> $ system-image-cli -i
> current build number: 14
> device name: mako
> channel: ubuntu-touch/stable
> alias: ubuntu-touch/ubuntu-rtm/14.09
> last update: 2015-01-16 13:12:29
> version version: 14
> version ubuntu: 20150116
> version device: 20141119
> version custom: mako-1.1
>
> The hunch is some buffering going on on the android side for short
> sound bytes.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/canonical-devices-system-image/+bug/1413818/+subscriptions
>

--

 Nos encantan los árboles. No me imprimas si no es necesario.

Protección de Datos: Mundo Reader S.L. le informa de que los datos
personales facilitados por Ud. y utilizados para el envío de esta
comunicación serán objeto de tratamiento automatizado o no en nuestros
ficheros, con la finalidad de gestionar la agenda de contactos de nuestra
empresa y para el envío de comunicaciones profesionales por cualquier medio
electrónico o no. Puede consultar en www.bq.com los detalles de nuestra
Política de Privacidad y dónde ejercer el derecho de acceso, rectificación,
cancelación y oposición.

Confidencialidad: Este mensaje contiene material confidencial y está
dirigido exclusivamente a su destinatario. Cualquier revisión, modificación
o distribución por otras personas, así como su reenvío sin el
consentimiento expreso está estrictamente prohibido. Si usted no es el
destinatario del mensaje, por favor, comuníqueselo al emisor y borre todas
las copias de forma inmediata. Confidentiality: This e-mail contains
material that is confidential for de sole use of de intended recipient. Any
review, reliance or distribution by others or forwarding without express
permission is strictly prohibited. If you are not the intended recipient,
please contact the sender and delete all copies.

Revision history for this message
groby (groby) wrote :

Thanks Viktor!

After restarting the phone, it plays the notification sounds again. I think the problem depends on uRadio. I opened the app and changed a channel, the sound of uRadio stopped and Telegram doesn't play the notification sounds anymore, until restarting the phone. Then the same game again. So it must be a bug in uRadio.

Regards,
Groby

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.