quassel can't play audio notifications in wily

Bug #1506550 reported by Dave Chiluk
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
quassel (Ubuntu)
In Progress
Low
Unassigned
Wily
Confirmed
Low
Unassigned
Xenial
In Progress
Low
Unassigned

Bug Description

quassel can't play audio notifications in wily.

As of quassel-client 0.12.2-0ubuntu1, the quassel client does not play sound notifications when highlighted messages are received.

Tags: patch wily
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

Changed in quassel (Ubuntu):
status: New → Confirmed
Revision history for this message
Louis Bouchard (louis) wrote :

This is the message that appears when quasselclient is run in debug :

WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded
WARNING: Phonon::createPath: Cannot connect Phonon::MediaObject ( no objectName ) to Phonon::AudioOutput ( no objectName ).
WARNING: bool Phonon::FactoryPrivate::createBackend() phonon backend plugin could not be loaded

Revision history for this message
Louis Bouchard (louis) wrote :

ok, after a bit of debugging, looks like phonon4qt5-backend-gstreamer is missing. Doing the following and restarting Quassel will fix the bug :

sudo apt-get install phonon4qt5-backend-gstreamer

Changed in quassel (Ubuntu Wily):
status: New → Confirmed
Changed in quassel (Ubuntu):
importance: Undecided → Low
Changed in quassel (Ubuntu Wily):
importance: Undecided → Low
Changed in quassel (Ubuntu):
assignee: nobody → Louis Bouchard (louis-bouchard)
Changed in quassel (Ubuntu Wily):
assignee: nobody → Louis Bouchard (louis-bouchard)
Revision history for this message
Louis Bouchard (louis) wrote :

fix

Changed in quassel (Ubuntu):
status: Confirmed → In Progress
tags: added: patch
Revision history for this message
Louis Bouchard (louis) wrote :

I have just opened a debian bug for the same issue. Let wait for Upstream's opinion

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=805463

Revision history for this message
Louis Bouchard (louis) wrote :

Return from the debian bug is that the dependancy is correct on Debian.

Expansion of ${misc:Depends} is different b/w Ubuntu & Debian that that's what leads to the missing packages :

Debian :
Depends: libc6 (>= 2.14), libdbusmenu-qt5-2 (>= 0.9.3+14.10.20140619), libkf5configwidgets5 (>= 4.96.0), libkf5coreaddons5 (>= 5.2.0), libkf5notifications5 (>= 4.96.0), libkf5notifyconfig5 (>= 4.96.0), libkf5sonnetui5 (>= 4.96.0), libkf5textwidgets5 (>= 4.96.0), libkf5widgetsaddons5 (>= 4.96.0), libkf5xmlgui5 (>= 4.98.0), libphonon4qt5-4 (>= 4:4.8.0), libqt5core5a (>= 5.5.0), libqt5dbus5 (>= 5.0.2), libqt5gui5 (>= 5.2.0), libqt5network5 (>= 5.0.2), libqt5webkit5 (>= 5.0.2), libqt5widgets5 (>= 5.2.0), libstdc++6 (>= 4.4.0), phonon4qt5, zlib1g (>= 1:1.1.4), quassel-data (= 1:0.12.2-2), dbus-x11, gawk

Ubuntu:
Depends: libc6 (>= 2.14), libdbusmenu-qt5, libkf5configwidgets5 (>= 4.96.0), libkf5coreaddons5 (>= 5.2.0), libkf5notifications5 (>= 4.96.0), libkf5notifyconfig5 (>= 4.96.0), libkf5sonnetui5 (>= 4.96.0), libkf5textwidgets5 (>= 4.96.0), libkf5widgetsaddons5 (>= 4.96.0), libkf5xmlgui5 (>= 4.98.0), libphonon4qt5-4 (>= 4:4.8.0), libqt5core5a (>= 5.4.0), libqt5dbus5 (>= 5.0.2), libqt5gui5 (>= 5.0.2) | libqt5gui5-gles (>= 5.0.2), libqt5network5 (>= 5.0.2), libqt5webkit5 (>= 5.0.2), libqt5widgets5 (>= 5.2.0), libstdc++6 (>= 4.4.0), zlib1g (>= 1:1.1.4), quassel-data (= 0.12.2-0ubuntu1)

Debian brings in phonon4qt5 which in turns bring in phonon4qt5-backend-gstreamer

Revision history for this message
Dave Chiluk (chiluk) wrote :

I installed phonon4qt5-backend-gstreamer on my wily machine, and it did not seem to fix the issue. I need to double check, but it might be missing the KDE package that provides the sound files as well.

Revision history for this message
Dan Streetman (ddstreet) wrote :

Yes, the default sounds are from the kde-runtime-data package. You can also select sounds from the oxygen-sounds package, they're in the same directory (/usr/share/sounds/) and have similar names. In quassel configuration under Notifications it lets you choose the sound file for each event.

I'm not sure if the quassel package should require the kde-runtime-data package, as it will still work without it if the sounds are changed...

Revision history for this message
Dave Chiluk (chiluk) wrote :

Yep, I just tested it should depend on both phonon4qt5-backend-gstreamer with kde-runtime-data.

It didn't occur to me that the sounds might not exist. in #7. Anyhow, I'll package up the change to depends unless caribou or ddstreet want to take credit.

Revision history for this message
Louis Bouchard (louis) wrote :

Wait, the problem lies further than that. It seems to lie in the expansion of the ${misc:Depends} variable as the debian package has the same debian/control file and it works as expected.

I still want to look at it further, but I'm a bit short on time

Revision history for this message
Siina Mashek (smashek-deactivatedaccount) wrote :

I installed phonon4qt5-backend-gstreamer and it fixed my problem.

Louis Bouchard (louis)
Changed in quassel (Ubuntu):
assignee: Louis Bouchard (louis) → nobody
Changed in quassel (Ubuntu Wily):
assignee: Louis Bouchard (louis) → nobody
Changed in quassel (Ubuntu Xenial):
assignee: Louis Bouchard (louis) → nobody
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.