Almost all messages from Gmail boxes are duplicated in the Indicator-messages

Bug #1068061 reported by Simplehuman on 2012-10-18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Messaging Menu Thunderbird Extension

Bug Description

Almost all messages from Gmail boxes are duplicated in the Indicator-messages.

Fox ex. I receive a message on my Gmail box from Launchpad. It is duplicated in my Inbox folder and "Important" folder (see screenshot).

It is also duplicated in the message-indicator and when I read this message in my Inbox folder it is not marking as read and still showing in Indicator-messages, Thunderbird windows and Thunderbird icon on the Unity panel.

If I delete this message - in will be deleted from the "important" folder also.

The problem is on any Gmail boxes and on any PC and laptop where I have installed Ubuntu.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: thunderbird 16.0.1+build1-0ubuntu2
ProcVersionSignature: Ubuntu 3.5.0-17.28-generic 3.5.5
Uname: Linux 3.5.0-17-generic x86_64
NonfreeKernelModules: nvidia
AddonCompatCheckDisabled: False
ApportVersion: 2.6.1-0ubuntu3
Architecture: amd64
 /dev/snd/controlC1: simplehuman 2314 F.... pulseaudio
 /dev/snd/controlC0: simplehuman 2314 F.... pulseaudio
BuildID: 20121017120034
CRDA: Error: command ['iw', 'reg', 'get'] failed with exit code 1: nl80211 not found.
Channel: Unavailable
Date: Thu Oct 18 13:26:25 2012
ExecutablePath: /usr/lib/thunderbird/thunderbird
ForcedLayersAccel: False
 # interfaces(5) file used by ifup(8) and ifdown(8)
 auto lo
 iface lo inet loopback
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Beta amd64 (20121006)
 default via dev eth0 proto static dev eth0 scope link metric 1000 dev eth0 proto kernel scope link src metric 1
 eth0 no wireless extensions.

 lo no wireless extensions.
MostRecentCrashID: bp-3316606e-d66d-4a1f-a84f-e7d562110712
 Shockwave Flash - /usr/lib/flashplugin-installer/
 DivX® Web Player - /usr/lib/mozilla/plugins/ (totem-mozilla)
 VLC Multimedia Plugin (compatible Totem 3.4.3) - /usr/lib/mozilla/plugins/ (totem-mozilla)
 QuickTime Plug-in 7.6.6 - /usr/lib/mozilla/plugins/ (totem-mozilla)
 Windows Media Player Plug-in 10 (compatible; Totem) - /usr/lib/mozilla/plugins/ (totem-mozilla)
PrefSources: prefs.js
 PATH=(custom, no user)
Profiles: Profile0 (Default) - LastVersion=16.0.1/20121017120034 (In use)
RelatedPackageVersions: totem-mozilla 3.4.3-0ubuntu4

RunningIncompatibleAddons: False
SourcePackage: thunderbird
SubmittedCrashIDs: bp-3316606e-d66d-4a1f-a84f-e7d562110712
UpgradeStatus: No upgrade log present (probably fresh install) 08/02/2011
dmi.bios.vendor: American Megatrends Inc.
dmi.bios.version: 1304
dmi.board.asset.tag: To Be Filled By O.E.M. SABERTOOTH X58
dmi.board.vendor: ASUSTeK Computer INC.
dmi.board.version: Rev 1.xx
dmi.chassis.asset.tag: Asset-1234567890
dmi.chassis.type: 3
dmi.chassis.vendor: Chassis Manufacture
dmi.chassis.version: Chassis Version
dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1304:bd08/02/2011:svnSystemmanufacturer:pnSystemProductName:pvrSystemVersion:rvnASUSTeKComputerINC.:rnSABERTOOTHX58:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion: System Product Name
dmi.product.version: System Version
dmi.sys.vendor: System manufacturer

Simplehuman (simplehuman) wrote :
description: updated
summary: - Almost all messages from Gmail boxes are duplicated in the message-
- indicator
+ Almost all messages from Gmail boxes are duplicated in the Indicator-
+ messages
Chris Coulson (chrisccoulson) wrote :

Tbh, I'm not really sure how to fix this, or if it can be properly fixed. The "Important" folder just appears as any other normal IMAP folder

Simplehuman (simplehuman) wrote :

Maybe it is possible just to ignore it in notifications? Because, every message that gets to the folder "Important" also gets to Inbox folder.

Chris Coulson (chrisccoulson) wrote :

How do I work out whether to ignore it? It's just a normal IMAP folder

Simplehuman (simplehuman) wrote :

I'm only just an user :)

And it is hard for me to suggest something specific.

Perhaps like an exception specifically for Gmail boxes?

I think it is quite annoying issue. And it would be great if you, or somebody find a way to fix this.

Micah Gersten (micahg) wrote :

I don't think this is fixable client side save for some code actually checking to see if the messages are the same. The question then is which one to show? The GMail "folders" are simply tags which the GMail server serves as a folder. Some people might have stuff not shown in their inbox once it's tagged, others have the messages in both places.

Simplehuman (simplehuman) wrote :

Yes, you right. But we are talking about default settings of Gmail box and specifically about "Important" tag. And in this case almost every inbox mail is tagged as "important". And here we have this duplicate problem...

You are trying to tell me that it is not possible on client side to make 1 notification for specifically this default "Important" tag (folder)? Or maybe make an option in the Thunderbird settings to combine 1 notification from inbox folder and 1 from "Important" folder. Or as another option disable all notifications from Gmail folders except Inbox folder for people that don't use tags in settings?

Chris Coulson (chrisccoulson) wrote :

I'm not sure why every inbox mail for you is being tagged "important", because that's not the case here and you're the first person to report this as an issue (although, I was already aware of it, having hit it on the occasional time Google flags a message as important).

String matching on the label name won't work, as it's translated in to every language supported by Google, which means it's completely dependant on the UI language you select in Gmail. For this reason, string matching is always unreliable and breaks frequently as translations are updated.

Checking if messages are the same is not really an option. As the 2 messages have different URI's, the only way to check if messages are the same would be to compare their contents, which a) is incredibly slow, and b) requires us to stream the entire contents of every message from the network (rather than just the message headers) just to show a notification.

Unfortunately, there isn't really any good solution here. If it bothers you that much, you can turn on "Inbox only" mode in the preferences....

Chris Coulson (chrisccoulson) wrote :

Oh, it might be possible to use Message-ID, but that's an optional header according to RFC2822

affects: thunderbird (Ubuntu) → messagingmenu-extension
Changed in messagingmenu-extension:
importance: Undecided → Low
status: New → Triaged
Simplehuman (simplehuman) wrote :

Maybe no one report it? I have 3 Gmail boxes with default settings, and all of them have this issue. Also I am supporting a small office with 5 laptops. And the all have about 1 or 2 Gmail boxes and using Thunderbird on Ubuntu. And they all have this issue.

So recording to your last comment it is possible to fix?

Chris Coulson (chrisccoulson) wrote :

From experience, we generally get bug reports pretty quickly when users are having problems.

Yes, it may be possible to fix, but it's a non-trivial amount of work and there's still an issue of choosing which folder to display a notification for when a message is duplicated. And then we are back to square one again....

(so it's not going to be fixed any time soon)

Simplehuman (simplehuman) wrote :

The most problem is that when I read the message in my Inbox the duplicate in "Important" folder is still listed as not read for some time in Thunderbird, an icon on Unity panel and in indicator-messages. Maybe it is possible to just update message status for duplicate in "Important" folder when I read the original one?

The problem with duplicate notification is much lesser then this.

Simplehuman (simplehuman) wrote :

Still actual on Saucy x 64.

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

Other bug subscribers