After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 635327 - No notification from evolution when a new email is received on Ubuntu
No notification from evolution when a new email is received on Ubuntu
Status: RESOLVED NOTGNOME
Product: evolution
Classification: Applications
Component: Plugins
3.2.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-plugin-maintainers
Evolution QA team
Depends on: 653699
Blocks:
 
 
Reported: 2010-11-20 04:19 UTC by Cyril Arnaud
Modified: 2012-02-13 09:38 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cyril Arnaud 2010-11-20 04:19:02 UTC
The title says it all, I am using gnome-shell (built from git 20101119) and even though evolution is started, when I receive a new email I have no feedback of any kind from the system.
An alert should be displayed in the tray right ?
Comment 1 Milan Bouchet-Valat 2010-11-20 10:25:34 UTC
But do you receive notifications from Evolution when you're using "classic GNOME"? There's a plugin to enable in Evolution (Edit->Plugins), the Shell does no magic in that regard. ;-)
Comment 2 Cyril Arnaud 2010-11-20 14:25:57 UTC
Yes of course it does, and yes the plugin is activated.
Comment 3 Cyril Arnaud 2010-11-20 15:03:36 UTC
Funny, it worked on gnome-panel in ubuntu, in the plugins section of evolution i had 2 plugins activated : Evolution Indicator (Neil Jagdish) and Mail Notification (Miguel Angel López Hernández, Srinivasa Ragavan)

But it didn't worked under gnome-shell
I searched for another indicator and found this package mail-notification-evolution.
I installed it, restarted Evolution, and now I have an additionnal plugin Jean-Yves Lefort's Mail Notification

And guess what : now it works under Gnome-shell
Comment 4 Milan Bouchet-Valat 2010-11-20 18:07:58 UTC
(In reply to comment #3)
> Funny, it worked on gnome-panel in ubuntu, in the plugins section of evolution
> i had 2 plugins activated : Evolution Indicator (Neil Jagdish) and Mail
> Notification (Miguel Angel López Hernández, Srinivasa Ragavan)
I'm using the latter here, and it works.

> But it didn't worked under gnome-shell
> I searched for another indicator and found this package
> mail-notification-evolution.
> I installed it, restarted Evolution, and now I have an additionnal plugin
> Jean-Yves Lefort's Mail Notification
> 
> And guess what : now it works under Gnome-shell
But you shouldn't need this, so it sounds like a real bug, even if it's probably not in the Shell. Could you try disabling the indicator plugin and check that Miguel Angel López Hernández and Srinivasa Ragavan's plugin works when you disable the other notification plugin?

What Ubuntu version are you using?
Comment 5 Cyril Arnaud 2010-11-22 16:13:47 UTC
I am using Ubuntu 10.10, Evolution 2.30
I disabled all the indicator plugins in evolution and enabled only Miguel Angel López Hernández and Srinivasa Ragavan's plugin
... and it doesn't work anymore
I disabled all the indicator plugins and enabled Jean-Yves Lefort's Mail Notification 
... and it doesn't work anymore
I tried to activate both at the same time and no chance either
But when i activate the three of them it works again ...
Crap i am completely lost
Comment 6 Jean-François Fortin Tam 2011-04-09 13:55:40 UTC
Looks like this is still the case with the current Fedora 15 packages, that is gnome-shell 3.0.0 and evolution 3.0.0. And since this is Fedora, there is no chance that it's some kind of libappindicator patch misbehaving...
Comment 7 Jean-François Fortin Tam 2011-04-09 16:21:30 UTC
Nevermind what I just said in comment 6: it actually works perfectly fine with Evolution 3.0 on Fedora 15.

It does not notify when an existing message gets marked unread (if you do it from another IMAP client for example) but it does notify when an actual *new* message arrives.

Also, for the record, I'll say that it worked fine for me on Ubuntu 10.10 with Evo 2.30 if I removed all the libappindicator packages and used the notification plugin that comes with evolution.

So I'm not sure there's still a bug now. If there is one, I suspect it's due to Ubuntu's indicator applet.
Comment 8 Julien Olivier 2011-05-26 10:08:21 UTC
I confirm what Cyril Arnaud said. On Ubuntu, with evolution-indicator uninstalled, there is no notification when a new email is received.
Comment 9 Julien Olivier 2011-06-25 21:04:14 UTC
I just noticied that I don't seem to get alarm reminders either. Could it be a more general problem with the way Evolution communicates with gnome-shell's notification area?
Comment 10 Julien Olivier 2011-06-25 21:07:09 UTC
And it seems I'm not the only one: bug #622618
Comment 11 Marina Zhurakhinskaya 2011-06-30 02:51:56 UTC
I had to uncheck "Notify new messages for Inbox only" when I added my gmail account.

However, I'm still only getting one notification for one new e-mail that I receive when I start Evolution, and don't get any subsequent notifications, though a sound does get played. I'm not getting subsequent notifications regardless of whether there is an item in the tray indicating a previous message or whether it got cleared because I have switched to the Evolution window (and then switched away).

I filed bug 653699 against Evolution about this.
Comment 12 Julien Olivier 2011-12-11 10:08:27 UTC
Well, this bug is still present in Evolution 3.2.1. I have a gmail account configured through the gnome online accounts (as IMAP+). Can I do anything to debug this?
Comment 13 Milan Bouchet-Valat 2011-12-11 14:59:10 UTC
You should first check that the same problem doesn't happen when using Unity or the fallback mode. If it does, that's a bug in Evolution.

If it doesn't that would be a bug in the Shell, and we'd need to check what kind of notifications are passed over D-Bus. Running
dbus-monitor --session path=/org/freedesktop/Notifications
and waiting for the problem to happen would provide interesting information.
Comment 14 Milan Bouchet-Valat 2011-12-11 15:00:18 UTC
...and please also try installing the plugin from comment #3.
Comment 15 Julien Olivier 2011-12-13 10:10:42 UTC
(In reply to comment #13)
> You should first check that the same problem doesn't happen when using Unity or
> the fallback mode. If it does, that's a bug in Evolution.
>

I get no new email notification in unity or fallback mode either. So I guess it's abug in Evolution.
Comment 16 Milan Bouchet-Valat 2011-12-13 10:41:21 UTC
(In reply to comment #15)
> I get no new email notification in unity or fallback mode either. So I guess
> it's abug in Evolution.
Or in the mix of plugins that are enabled. Could you have a look at them, as explained in comment #3?
Comment 17 Julien Olivier 2011-12-14 13:42:08 UTC
> Or in the mix of plugins that are enabled. Could you have a look at them, as
> explained in comment #3?

When I first tried, I had neither evolution-indicator nor mail-notification-evolution installed, and it didn't work. After installing those packages, it still didn't work.
Comment 18 Julien Olivier 2012-02-13 09:13:36 UTC
I found this Ubuntu bug: https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/878941
Could this be the culprit?
Comment 19 Milan Bouchet-Valat 2012-02-13 09:38:17 UTC
(In reply to comment #18)
> I found this Ubuntu bug:
> https://bugs.launchpad.net/ubuntu/+source/evolution/+bug/878941
> Could this be the culprit?
Yeah, very likely. Another Ubuntu tweak that hurts when using GNOME Shell. Thanks for finding it!