Bug 766101 - Skype notifications fail to appear with Xfce4-notifyd
Summary: Skype notifications fail to appear with Xfce4-notifyd
Keywords:
Status: CLOSED WORKSFORME
Alias: None
Product: Fedora
Classification: Fedora
Component: xfce4-notifyd
Version: 16
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Christoph Wickert
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-10 04:56 UTC by Stephen Haffly
Modified: 2012-01-10 03:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-10 03:15:30 UTC
Type: ---


Attachments (Terms of Use)

Description Stephen Haffly 2011-12-10 04:56:04 UTC
Description of problem:
xfce4-notifyd does not show notifications for Skype incoming calls

Version-Release number of selected component (if applicable):
xfce4-notifyd-0.2.2-1.fc16.x86_64
libnotify-0.7.4-1.fc16.x86_64
skype-2.1.0.81-fc10.i586

How reproducible:
Have Fedora 16 configured with xfce4 as the desktop manager.
Install Skype with all known dependencies to make it work (used Autoplus)
Receive incoming call

Steps to Reproduce:
1. Receive incoming call
2. notification sound plays, but no on-screen box appears with buttons to answer.
3. 
  
Actual results:
No notification window opens, so call cannot be answered.

Expected results:
Notification window opens with answer/hang-up buttons so call can be either accepted or rejected.

Additional info:
I found that mumbles, which was a package available in Fedora 16 was able to provide this function, albeit, not flawlessly. However, mumbles is not available in the repositories.

mumbles-0.4-14.fc15.noarch

I was able to download and install a copy on my F16 setup, and it works, at least when I test it from the options menu's notifications tab. It remains to be seen if this will work consistently.

Comment 1 Christoph Wickert 2011-12-10 08:39:39 UTC
I am pretty sure that Skype uses libnotify but something of it's own.

If it really used libnotify, you cannot expect it to work because the package is very outdated. Fedora 10 came with libnotify 0.4 and the API changed in 0.7.

Just to be sure, can you please install notification-daemon add it to the list of automatically started applications, uninstall xfce4-notifyd and see if you receive notifications form Skype?

Comment 2 Stephen Haffly 2011-12-10 15:40:13 UTC
Okay. I have notification-daemon already installed. I uninstalled xfce4-notifyd and mumbles. I do not see notification-daemon in /usr/bin. How do I add it to the list of things to automatically start (I am assuming you mean in the Session and Startup/Application Autostart tab where I do not see it among the existing applications)?

locate notification-daemon
/etc/xdg/autostart/gdu-notification-daemon.desktop
/home/stephenh/.config/autostart/gdu-notification-daemon.desktop
/usr/lib64/notification-daemon-1.0
/usr/lib64/notification-daemon-1.0/engines
/usr/lib64/notification-daemon-1.0/engines/libnodoka.so
/usr/libexec/gdu-notification-daemon
/usr/libexec/notification-daemon

Comment 3 Stephen Haffly 2011-12-10 15:52:55 UTC
After uninstalling xfce4-notifyd and mumbles, I rebooted. Even though I had not added notification-daemon to the Session and Startup options, it seems to have been started.

When I tried Skype's notification test for incoming call, the notification did pop up properly. I will need to get an actual call before I can be sure whether or not this will work for sure. but the test was successful.

I do not know why xfce4-notifyd will not display the pop-up for incoming call. I do not know if that verifies whether libnotify is used or not.

The other question is whether removing xfce4-notifyd will impact notifications for other things like incoming Emails from Thunderbird, etc.

Comment 4 Stephen Haffly 2011-12-10 15:56:49 UTC
I just got the answer to notifications for Email. It does not work.

Comment 5 Stephen Haffly 2011-12-10 17:43:51 UTC
Additional information:

I noticed that there was an updated Skype version:

skype-2.2.0.35-fc10.i586

I also noticed that since I started this, the behavior has changed.

After uninstalling mumbles and xfce4-notifyd, Skype notifications seemed to work okay. However, behavior was different (pop-up did not fade away, but remained until I closed it) and I did not see a pop-up for arriving mail.

After reinstalling mumbles and xfce4-notifyd, Skype notifications appear to have continued working.

After uninstalling mumbles, and upgrading Skype to latest version, notifications seem to be continuing to work. However, that is with the testing. I have seen a contact coming online notification, so that may give some hope. The real test will be the next time one of my contacts tries to call me.

What I think is happening is that somehow, notification-daemon and xfce4-notifyd were not playing well together. Since stripping out and then reinstalling xfce4-notifyd, something may have been better integrated than it was before. However, I have no way of knowing what that was or whether it will continue to behave properly.

Comment 6 Stephen Haffly 2011-12-11 01:12:14 UTC
I was able to have my daughter call. Despite what I said previously, it still is not working. The pop-up notification with the answer or reject buttons does not appear, even though the contact online message did appear earlier.

That being said, I figured out an alternate way to answer, which is to right-click on the contact listing for the one calling which brings up a context menu with an option to answer.

I still would like to see this fixed as it should work. However, with a viable alternative method to answer, it is not as urgent an issue.

Comment 7 Christoph Wickert 2011-12-30 13:00:19 UTC
Sorry for the delay. There is absolutely nothing I can do here. I am pretty sure that skype doesn't use libnotify:

# ldd /usr/bin/skype 
	linux-gate.so.1 =>  (0x00768000)
	libasound.so.2 => /lib/libasound.so.2 (0x00a02000)
	libXv.so.1 => not found
	libXss.so.1 => not found
	librt.so.1 => /lib/librt.so.1 (0x45954000)
	libQtDBus.so.4 => not found
	libQtGui.so.4 => not found
	libQtNetwork.so.4 => not found
	libQtCore.so.4 => not found
	libpthread.so.0 => /lib/libpthread.so.0 (0x45938000)
	libstdc++.so.6 => not found
	libm.so.6 => /lib/libm.so.6 (0x45af8000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00814000)
	libc.so.6 => /lib/libc.so.6 (0x457a3000)
	libdl.so.2 => /lib/libdl.so.2 (0x45931000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00110000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x003ab000)
	/lib/ld-linux.so.2 (0x45782000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00b85000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00f84000)

No trace of libnotify there. Even if it's compiled in statically, it's on the skype people to update their packages, but I cannot go back in time.

Can you please run one final test:
1. Install notification-deamon
2. Uninstall xfce4-notifyd
3. Start /usr/libexec/notification-daemon from a terminal
4. See if you get a notification from skype.

If this doesn't work then we definitely cannot fix it. notification-daemon is the reference implementation and if skype doesn't follow it, it's their fault.

Comment 8 Stephen Haffly 2011-12-31 04:18:23 UTC
At this point, I would have to say that the issue is not worth fighting with any more. I can answer by right-clicking on the user name and answering using the menu selection. you checking this out.

I appreciate your looking into this issue. I just don't understand why it works in Gnome but not XFCE. I don't intend to install Gnome again just to get it to work though..

Comment 9 Christoph Wickert 2012-01-10 02:01:33 UTC
You don't need to install a full GNOME desktop, you just need to replace xfce4-notifyd with notification-daemon. If you don't want to do it, that's fine- Please close this bug as "Insuffcient_Data" or "Worksforme" then.

Comment 10 Stephen Haffly 2012-01-10 02:50:09 UTC
I tried your suggestion in post 7. It did not work so the fault is with Skype. I won't hold my breath waiting for Microsoft to fix it. I'll close it then with "Insufficient_Data" as it definitely is not a "worksforme" situation.

Sorry about the delay. When I wrote post 8 we were traveling and I just had time to test it now.

Comment 11 Stephen Haffly 2012-01-10 02:58:31 UTC
I'm reopening it. I tested again and it did at least display the pop-up when testing from the options in Skype. I was able to test it also with my wife using a different computer and it did pop up the window also. So, the problem does appear to be with xfce4-notifyd.

Comment 12 Stephen Haffly 2012-01-10 03:15:30 UTC
Okay. Here is what I think may have been happening. For some reason, both xfce4-notifyd and notification-daemon had been installed. It may be that there was some conflict between the two of them that was causing this. I just uninstalled notification-daemon and reinstalled xfce4-notifyd and had my wife call me from the other computer and it worked.

Until I get some more calls to see if it works, I won't be 100% sure that this was the case. However, I will mark it again as closed, this time with "worksforme." However, if with further testing it continues to have problems, I will report it here so it can be reopened.

Thank you for your assistance.


Note You need to log in before you can comment on or make changes to this bug.