mailnag-gnome-shell icon indicating copy to clipboard operation
mailnag-gnome-shell copied to clipboard

Counter badge not properly updated

Open HeikoAdams opened this issue 9 years ago • 3 comments

Given the following scenario: You've got 10 unread mails in your inbox. Then you read or delete 7 of them. If you now let the gs-extension check for new mails the counter badge still says you've got 10 unread mails. The list of mails seems to be not updated too.

HeikoAdams avatar May 19 '16 06:05 HeikoAdams

That's a known problem and a relict of the days when Mailnag was supporting libnotify notifications only. Libnotify notifcations can't be silently updated on mail removal so Mailnag only supported (and still supports) removing mails completeley when the mailcount decreases to zero (i.e. it currently emits the mails-removed signal only if there is no unread mail left).

pulb avatar May 19 '16 17:05 pulb

Duplicate of issue #1.

pulb avatar May 19 '16 17:05 pulb

I have these problem too.. but when I opened terminal and launch mailnag seem the indicator properly update:

$ mailnag
/usr/lib/python2.7/site-packages/Mailnag/common/credentialstore.py:38: PyGIWarning: GnomeKeyring was imported without specifying a version first. Use gi.require_version('GnomeKeyring', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import GnomeKeyring
Shutting down existing Mailnag process...OK
/usr/lib/python2.7/site-packages/Mailnag/plugins/libnotifyplugin.py:27: PyGIWarning: Notify was imported without specifying a version first. Use gi.require_version('Notify', '0.7') before import to ensure that the right version gets loaded.
  from gi.repository import Notify, Gio, Gtk
/usr/lib/python2.7/site-packages/Mailnag/plugins/libnotifyplugin.py:27: PyGIWarning: Gtk was imported without specifying a version first. Use gi.require_version('Gtk', '3.0') before import to ensure that the right version gets loaded.
  from gi.repository import Notify, Gio, Gtk
/usr/lib/python2.7/site-packages/Mailnag/plugins/soundplugin.py:26: PyGIWarning: Gst was imported without specifying a version first. Use gi.require_version('Gst', '1.0') before import to ensure that the right version gets loaded.
  from gi.repository import Gst
INFO (2016-05-30 03:17:08): Successfully enabled plugin 'libnotifyplugin'.
INFO (2016-05-30 03:17:08): Successfully enabled plugin 'soundplugin'.
INFO (2016-05-30 03:17:08): Successfully enabled plugin 'dbusplugin'.
INFO (2016-05-30 03:17:08): Checking 1 email account(s).


RobbiNespu avatar May 29 '16 19:05 RobbiNespu