Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 499910 - net-news/quiterss-0.13.3 doesn't produce notification sound
Summary: net-news/quiterss-0.13.3 doesn't produce notification sound
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Nikoli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-01-31 17:54 UTC by Rostislav Devyatov
Modified: 2014-04-26 13:17 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rostislav Devyatov 2014-01-31 17:54:50 UTC
Reproducible: always

Steps to reproduce:
1. Run quiterss
$ quiterss &
2. Open configuration window (Tools -> Options), choose "Notifications" on the left, mark the checkbox "Play sound for incoming new news", choose a valid sound file using the "browse..." button. Also mark the "Display notification for incoming news" checkbox. Unmark the "only show selected feeds" checkbox if it is marked. Then press "OK".
3. Click "Add" to subscribe to an rss feed. Enter the feed's URL and click "OK".
4. Minimize quiterss (with the default settings it should go to the system tray) and wait until a new headline appears in the feed (DON'T close quiterss completely until this happens).

Expected results: 
A notification appears in a corner of the screen AND the sound chosen at step 2 is played.

Actual results:
A notification appears, but NO sound is played.

Portage 2.2.7 (default/linux/amd64/13.0, gcc-4.7.3, glibc-2.17, 3.8.13-gentoo-gnu_build20130603 x86_64)
=================================================================
System uname: Linux-3.8.13-gentoo-gnu_build20130603-x86_64-Intel-R-_Core-TM-_i5_CPU_M_450_@_2.40GHz-with-gentoo-2.2
KiB Mem:     3906808 total,    818300 free
KiB Swap:    6291452 total,   4880172 free
Timestamp of tree: Mon, 20 Jan 2014 20:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.11.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            3.4.6-r2, 4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -ggdb"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf
CXXFLAGS="-O2 -pipe -ggdb"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --e
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
USE="X acl alsa amd64 apng berkdb bluetooth bzip2 cairo cdda cli consolekit cracklib crypt cxx dbus deblob declarative device-mapper djvu dri ebook embedded extras fontconfig fortran gdbm gdu gpm iconv ipv6
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 1 Nikoli 2014-01-31 21:07:25 UTC
Portage tree does not have such version, may be you mean 0.13.3? Anyway try building 0.14.3 with USE phonon enabled.
Comment 2 Rostislav Devyatov 2014-02-08 22:52:46 UTC
Of course, I mean 0.13.3. I've tried 0.14.3 today without success (it builds successfully, it does not crash, but it does not produce a sound either).
Comment 3 Nikoli 2014-02-08 23:03:02 UTC
So was phonon enabled? Which phonon and backends versions do you have?
Comment 4 Rostislav Devyatov 2014-02-08 23:07:34 UTC
Phonon was enabled. I don't really know how phonon works and how it should be used, so I don't really know how to check "which phonon and backends versions" I have, but here is the output of emerge -pqv phonon
[ebuild   R   ] media-libs/phonon-4.6.0-r1  USE="gstreamer (-aqua) -debug -pulseaudio -vlc (-zeitgeist)"
Comment 5 Nikoli 2014-02-10 06:28:20 UTC
What sound file are you using? Is other phonon based player able to play it? May be gstreamer plugin with support for some format is not installed?
Comment 6 Nikoli 2014-02-10 06:33:28 UTC
There is 'Play' button near 'Browse...' button, do you hear the sound after pressing it?
Comment 7 Rostislav Devyatov 2014-02-16 08:57:44 UTC
I tried to read the source and I think I know where the bug is in version 0.13.3. In file rsslisting.cpp, line 5979 is:

QProcess::startDetached(QString("play %1").arg(soundNotifyPath_));

My system does not have command "play", I don't know in which package it should be

$ play
bash: play: command not found

But if I create file /usr/local/bin/play
with the following contents:

#!/bin/bash
aplay "$@"

, quiterss starts producing sounds.
Comment 8 Nikoli 2014-02-16 14:12:51 UTC
If quiterss is compiled with phonon enabled, it will use phonon, play and aplay are fallback. Please answer questions from comments 5 and 6.
Comment 9 Rostislav Devyatov 2014-03-14 15:59:09 UTC
Comment 5: I am tryng to use the standard quiterss notification sound file: /usr/share/quiterss/sound/notification.wav . I don't know what "phonon based players" are, but aplay and vlc play this file correctly.

Comment 6: Sound in 0.14.3 is quite unstable on my system: when I press the "play" button, sometimes there is no sound, sometimes there is, but sometimes it is repeated more than once after I press the "play" button once. I don't know how problematic this fact is, this is an unstable version, so I could expect something like that.

However, I insist that there is a problem in the current stable quiterss (which does not use phonon at all), and that my comment 7 explains where exactly the problem in the current stable version is.
Comment 10 Nikoli 2014-04-06 14:19:57 UTC
Version 0.15.2 was added to tree, if it still has the bug, please report it upstream.
Comment 11 Nikoli 2014-04-26 13:17:38 UTC
Please reopen if bug still exists and you reported it upstream.