Mail Notification Plugin Doesn't Notify

Bug #878941 reported by Geoff Goehle
48
This bug affects 10 people
Affects Status Importance Assigned to Milestone
evolution (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I am using Ubuntu 11.10 with gnome-shell. I am using the latest evolution with the mail notification plugin turned on.

When I get mail I expect the mail notification plugin to present a popup and then leave a message in the notification tray. This does not always happen. One reproducible circumstance is if I leave evolution open on one desktop, move to another desktop and then leave my mouse focus on a window on the second monitor. (For gnome-shell the second monitor shared across all desktops by default). However, I've noticed the behavior in other instances.

Revision history for this message
Geoff Goehle (goehle) wrote :

After digging around a bit I've found that I can't get mail-notification to display a notification icon at all. The notification I was seeing earlier was being displayed by the evolution-indicator plugin.

I can hear a sound when I recieve a new message, so the mail notification plugin is running, but it either does not display a notification message or it tries to and fails.

Revision history for this message
Geoff Goehle (goehle) wrote :

I figured out the problem. In mail-notification the mail-notification applet only sends notifications if ubuntu is running a "stracciatella gnome" session. Stracciatella-gnome-session was a "vanilla" gnome session with very little ubuntu. Presumably mail-notification turns itself off for the regular ubuntu gnome session because of the evolution indicator.

However! Now that ubuntu has moved to unity, the gnome-shell session doesn't have the evolution-indicator conflict anymore and mail-notification should be enabled.

The way to fix this would be to remove the is_stracciatella portions of the mail-notification plugin.

Revision history for this message
Geoff Goehle (goehle) wrote :

After thinking about this for a while, I don't think it will be as simple as just removing the is_stracciatella check. That check should definitely be removed, its crazy for users to have to install some mystery package so that there evolution plugins will work. (Especially now that there is a real need for mail-notification for gnome-shell ubuntu users since evolution-indicator isn't a viable replacement.) However mail-notification needs to be disabled by default for unity users and enabled by default for gnome-shell users (and vice versa for evolution-indicator).

Changed in evolution (Ubuntu):
status: New → Confirmed
Revision history for this message
Matthew Goode (happyhouse19) wrote :

It is now almost two months since this bug was confirmed. Has there been any progress?

Revision history for this message
Geoff Goehle (goehle) wrote :

I just upgraded to 12.04 and this is *still* a problem. Its even worse because now there isn't a gnome-stracciatella-session package to install anymore. Gaa!

Revision history for this message
Geoff Goehle (goehle) wrote :

As a potential fix, could the check in mail-noficiation.c be changed from

 if (g_strcmp0(g_getenv("GDMSESSION"), "gnome-stracciatella") == 0) {

to

 if (g_strcmp0(g_getenv("GDMSESSION"), "gnome-shell") == 0) {

Revision history for this message
John M (jwmwalrus) wrote :

As a workaround: For Ubuntu 11.10, I used the stracciatella PPA ( https://launchpad.net/~janvitus/+archive/gnomestracciatella ). It has already been updated for precise, and includes the evolution packages.

Revision history for this message
Khurshid Alam (khurshid-alam) wrote :

Is it possible now to get mail notification with evolution 3.4 (& above)without running evolution? I think evolution 3.4 supports d-bus service for mail.

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.