Icon does not show right amount of new email

Bug #848774 reported by David Henningsson
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
thunderbird (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Not sure if this is a Unity or Thunderbird bug, but when I read email (and therefore changing them from "unread" to "read" and then look at the thunderbird application icon (in alt-tab or in the unity launcher), the number does not seem to decrease correctly.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: thunderbird 7.0~b2+build2+nobinonly1-0ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-10.16-generic 3.0.4
Uname: Linux 3.0.0-10-generic x86_64
NonfreeKernelModules: nvidia
AddonCompatCheckDisabled: False
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
Architecture: amd64
AudioDevicesInUse: Error: command ['fuser', '-v', '/dev/snd/controlC2', '/dev/snd/hwC2D0', '/dev/snd/hwC2D1', '/dev/snd/hwC2D2', '/dev/snd/hwC2D3', '/dev/snd/pcmC2D3p', '/dev/snd/pcmC2D7p', '/dev/snd/pcmC2D8p', '/dev/snd/pcmC2D9p', '/dev/snd/by-id', '/dev/snd/controlC3', '/dev/snd/pcmC3D0c', '/dev/snd/pcmC3D0p', '/dev/snd/by-path', '/dev/snd/controlC1', '/dev/snd/pcmC1D0c', '/dev/snd/pcmC1D0p', '/dev/snd/pcmC1D1c', '/dev/snd/pcmC1D1p', '/dev/snd/midiC1D0', '/dev/snd/controlC0', '/dev/snd/hwC0D0', '/dev/snd/pcmC0D0c', '/dev/snd/pcmC0D0p', '/dev/snd/pcmC0D1c', '/dev/snd/pcmC0D1p', '/dev/snd/pcmC0D2c', '/dev/snd/seq', '/dev/snd/timer'] failed with exit code 1:
BuildID: 20110906004732
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'SB'/'HDA ATI SB at 0xfe024000 irq 16'
   Mixer name : 'Realtek ALC888'
   Components : 'HDA:10ec0888,1458e601,00100001'
   Controls : 40
   Simple ctrls : 22
Card1.Amixer.info:
 Card hw:1 'Juli'/'ESI Juli@ at 0xcf00, irq 21'
   Mixer name : 'ICE1724 - multitrack'
   Components : ''
   Controls : 36
   Simple ctrls : 14
Card2.Amixer.info:
 Card hw:2 'NVidia'/'HDA NVidia at 0xfcffc000 irq 19'
   Mixer name : 'Nvidia GPU 14 HDMI/DP'
   Components : 'HDA:10de0014,10de0101,00100100'
   Controls : 16
   Simple ctrls : 4
Card3.Amixer.info:
 Card hw:3 'Headset'/'Logitech Logitech USB Headset at usb-0000:00:12.0-1, full speed'
   Mixer name : 'USB Mixer'
   Components : 'USB046d:0a0c'
   Controls : 6
   Simple ctrls : 2
Channel: default
Date: Tue Sep 13 11:03:26 2011
ForcedLayersAccel: False
IfupdownConfig:
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha amd64 (20110802.1)
IpRoute:
 default via 192.168.8.1 dev eth0 proto static
 169.254.0.0/16 dev eth0 scope link metric 1000
 192.168.8.0/24 dev eth0 proto kernel scope link src 192.168.8.102
IwConfig:
 lo no wireless extensions.

 eth0 no wireless extensions.
Prefs:
 places.database.lastMaintenance - 1315804584
 extensions.lastAppVersion - 7.0
 network.cookie.prefsMigrated - true
 places.history.expiration.transient_current_max_pages - 63108
Profiles: Profile0 (Default) - LastVersion=7.0/20110906004732 (Running)
PulseSinks: Error: command ['pacmd', 'list-sinks'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
PulseSources: Error: command ['pacmd', 'list-sources'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RfKill:

RunningIncompatibleAddons: False
SourcePackage: thunderbird
UpgradeStatus: No upgrade log present (probably fresh install)
WifiSyslog:
 Sep 13 10:36:04 david-desktop kernel: [10092.964741] usb 1-4: USB disconnect, device number 3
 Sep 13 10:36:04 david-desktop kernel: [10092.981811] NILFS: unable to write superblock (err=-5)
 Sep 13 10:36:04 david-desktop kernel: [10092.981820] NILFS: unable to write superblock (err=-5)
dmi.bios.date: 06/24/2009
dmi.bios.vendor: Award Software International, Inc.
dmi.bios.version: F2
dmi.board.name: GA-MA770T-UD3P
dmi.board.vendor: Gigabyte Technology Co., Ltd.
dmi.board.version: x.x
dmi.chassis.type: 3
dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrF2:bd06/24/2009:svnGigabyteTechnologyCo.,Ltd.:pnGA-MA770T-UD3P:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-MA770T-UD3P:rvrx.x:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
dmi.product.name: GA-MA770T-UD3P
dmi.sys.vendor: Gigabyte Technology Co., Ltd.

Revision history for this message
David Henningsson (diwic) wrote :
Revision history for this message
Chris Coulson (chrisccoulson) wrote :

Hi,

The count doesn't display unread messages, but rather "new" messages, which is the same as the messaging indicator. A message is only considered new if it was delivered since you last navigated in a particular message folder.

If the count on the launcher is the sum of the counts in the messaging menu, then it's working as intended.

We don't display unread count because it generally isn't interesting for most people, and results in the launcher showing a permanent count until you have zero unread e-mail

Revision history for this message
David Henningsson (diwic) wrote :

Okay, but read messages are never considered "new", are they? My problem is that the number is too high, indicating I should check my email when in fact I have no new mail.

If it matters, I have checked the "Show in the messaging menu" and "Only for messages in my Inbox" checkboxes in Preferences -> General.

summary: - Icon does not show right amount of unread email
+ Icon does not show right amount of new email
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in thunderbird (Ubuntu):
status: New → Confirmed
Revision history for this message
Natim (site-remy) wrote :

What you can do :

Open : "Tools -> Options -> Advanced -> General -> Config Editor (button)"

Search for `extensions.messagingmenu.inboxOnly` set it to true and that's it.

Revision history for this message
Alkalyzer (alkalyzer) wrote :

Comment #5 by Natim has solved the problem for me. Now, the correct number of mail appears in the messaging menu and the Unity launcher and the letter (messaging menu) turns blue whenever I receive any e-mail.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.