Help get this topic noticed by sharing it on Twitter, Facebook, or email.
I’m frustrated as hell

Thunderbird is duplicating messages in gmail imap accounts.

Thunderbird 3.0x is irritating the hell out of me lately.
First of all, it no longer properly shuts down, and sometimes leaves a process running in memory, which I have to manually kill before I can start it up again. Actually, this happens more often than not. Even on fresh reloads of Vista.

Another thing that it is doing, which is even more incredibly annoying, is that it duplicates emails in my gmail imap accounts. I have several imap accounts, and it does it in ALL of them.

I can happily read mail in the Inbox, but moments later, the 'new mail' sound plays, and the new mail icon shows in the system tray, but there is nothing in the Inbox. If I expand [GMail], then All Mail, it shows unread messages, and most of them are duplicates.

I love thunderbird, but if this doesn't get sorted out, I'm going to have to find something else to use. I really don't want to spend several hours deleting thousands of duplicates out of my many email accounts.
6 people have
this problem
+1
Reply
  • thisgeek,

    do these issues also reproduce when using version 3.1.2?

    does your shutdown issue go away if you start thunderbird in safe mode? https://support.mozillamessaging.com/...

    Is your folder pane in Unified Folders view?
    And is the gmail "All Mail" folder still subscribed?
    Do things improve with All Mail not subscribed?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • I'm not sure. I disabled the global search and indexer in an earlier version which seems to have solved the duplicates issue. I haven't bothered enabling it in 3.1.2.

    I still get shutdown issues, even in safe mode, however with the newer versions, I am at least getting the following messages a short time after thunderbird closes:
    ===
    A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

    Script: file:///C:/Program%20Files%20(x86)/Mozilla%20Thunderbird/modules/dbViewWrapper.js:282
    ===
    A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete.

    Script: chrome://messenger/content/mailWindow.js:195
    ===

    Sometimes there's a third pop-up, but not always.

    My folder pane is in the 'All Folders' view. Yes, I had 'All Mail' subscribed in my various accounts, however I have now unsubscribed it on all accounts, and Thunderbird seems to shutdown without any issues now. I no longer get the popups about the scripts, and on checking task manager, thunderbird seems to have shutdown correctly.

    I'm loathe to enable the global indexer to see if that particular issue has been solved by unsubscribing "all mail". :p
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • Actually no, scratch that. Unsubscribing the 'All Mail' folders did NOT stop the popup messages. After leaving my mail open for a few hours, I came back and shut it down, and I got the popups again. Same as I mentioned previously.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • I’m frustrated
    I also have this problem with the duplicates and script errors. same same I get all 3 pop ups after closing thunderbird. 9 out of 10 times. the general pop ups are the same module/file with different line numbers. the 3rd is a different file all together. My duplicates come from all of my IMAP accounts and they appear at the same time. Deleting one will make the others disappear but inbox still shows (3) or however many are duplicated, as unread.

    the to, from and subject lines disappear but the unread status does not. clicking on the blank line shows the email. I have to rebuild inbox to get rid of them. closing and restarting doesn't remove the duplicates.

    I am using 3.1.4 and none of the above suggestions have helped.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • Just happened again and I copied the file names. I got 4 pop ups total. The first 3 were the same (I pressed stop each time not continue) the error line was:

    Script: file:///C:/Program%20Files/Mozilla%20Thunderbird/modules/dbViewWrapper.js:282

    Line 282 is this:
    this._notifyHelper(aFolder, "_messageCountsChanged");

    which is in this function:
    OnItemIntPropertyChanged: function(aFolder, aProperty, aOldValue, aNewValue) {
    let propertyString = aProperty.toString();
    if ((propertyString == "TotalMessages") ||
    (propertyString == "TotalUnreadMessages"))
    this._notifyHelper(aFolder, "_messageCountsChanged");
    },

    The 4th pop up was this:
    Script: chrome://messenger/content/mailWindow.js:195

    Which I can't find an extended (open) version of messenger, just the .jar file so I have no idea what is on line 195.

    Perhaps this info can assist someone in helping me (us) stop this annoying pop up on shut down problem?
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • The irony in my case is that the script

    ///C:/Program%20Files/Mozilla%20Thunderbird/modules/dbViewWrapper.js

    doesn't even exist on my machine! It's very bizarre...
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated

  • Dragan, how many contacts do you have in your address books? And do you have any AB addons installed, like google contacts?

    dbViewWrapper.js exists in a file that bundles the .js scripts.
  • (some HTML allowed)
    How does this make you feel?
    Add Image
    I'm

    e.g. kidding, amused, unsure, silly indifferent, undecided, unconcerned happy, confident, thankful, excited sad, anxious, confused, frustrated