Closed Bug 1538670 Opened 6 years ago Closed 6 years ago

Message filter editor hangs up

Categories

(Thunderbird :: Filters, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1342054

People

(Reporter: ova, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.1; rv:66.0) Gecko/20100101 Firefox/66.0

Steps to reproduce:

menu Tools - Filters
Press Edit button

Actual results:

Trying to edit existing filter hangs Thunderbird up with 100% CPU load.

Expected results:

I expect the current filter Editor window is opened and ready to accept the necessary filter changes.

P.S. I have about 10+ e-mail profiles and 100+ message filters for each of them.
Now I have to edit msgFilterRules.dat manually for filter editing.

Can you try this in Safe mode (Help->restart and disable addons) ?

Done. All the same.
By the way, I have also 100+ folders for mail organizing within Local mail folder. And there is a one big virtual folder here with 10000+ e-mails accuired from real folders. Maybe it's not the hangover. Maybe it's just a kind of some longplaying sort job... But I try to edit Filter for a folder containing just 500 e-mails.

Does TB hang forever? Have you tried to leave it for a few minutes whether it eventually finishes?
Also, before editing the filters, open the error console (in Tools-> Developer tools) beforehand. Then try opening the filter editor and see if there are any interesting messages in the console.

Does TB hang forever?
I went home and leave my computer alone at work with TB in the opening Filter Editor window "hangup" state.
After 12 hours I back to office and found that Filter Editor window appears! :)

Error console has nothing interesting about filters. Just other messages about several profile empty mail checks.
And console was also in the hung up state while waiting for Filter Editor window.

So on... I try to change the condition value for the first record in Filter Editor window. Mouse clicking to open list... and the Editor hangs up.

I'll try one more the same experiment in the evening once again to figure out what happenes.

Thanks, can you see if you have a large quantity of some other objects that appear in the filter editor? E.g.
many addressbooks, many message tags defined (see in Options->Display->Tags).
100+ of folders should be no problem, and also the 10000+ messages is fine (number of messages shouldn't play a role in the editor, it only lists all folders for the Move/Copy filter actions).

I found the same question on Internet

It seems to be the problem is:
https://www.reddit.com/r/Thunderbird/comments/4jw6qv/is_it_save_to_remove_unnecessary_tags_from_prefsjs/

My prefs.js is very fat (4+ Mb) and has more than 50000 of tag definitions like
...
user_pref("mailnews.tags.#makeitreal.tag", "#makeitreal");
user_pref("mailnews.tags.#mikrotik.ordinal", "~AUTOTAG");
...

And I do not know how they appeared to be there and why. I did not made these tag records myself.
Really I made description for only five ones. Not 50 thousands.
It seems to be automatically created records. Who? Why?

How can I clear my perfs.js from this crap?

What I did:

  • Close TB
  • edit perfs.js in the profile dir
    Comment all
    user_pref("mailnews.tags...
    like
    // user_pref("mailnews.tags...
  • Start TB

All runs VERY FAST now. No problem at all.

I lost only custom changes like "Local Folder" name, changes in color and names of standard mail lables.

Hi.
Did you manually comment out all 100000 lines in prefs? :)
But thanks for the investigation and finding the cause. You can safely remove those tags if you do not need them, however, they were created as part of a RSS feature that you enabled, see bug 1492386, starting from comment 9.
Also, you can uncomment back the user_pref("mailnews.tags.$label*. ) prefs to get back the default TB tags.

Maybe a fast way to remove all those tags would be to create a new empty file prefs.js and copy only the other lines to it, except the tag definitions.

Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE

perhaps you could use https://notepad-plus-plus.org/download/v7.6.4.html find all the lines you want to delete in one hiet.

I am programmer.And I have enough editors for this :)
I found only ONE Rss feed with autogenerate tag option turned ON. Finally I commented 54000+ lines in prefs.js.
After TB started with new prefs.js autogeneration tag option was turned off. TB was closed. prefs.js became of 200kB size.
Small and nice. TB works without lags again.

It seems to be I can try go back to Seamonkey.

A year ago I found that Sesmonkey perfomance degrades day to day with my profile. And I was started to use Firefox+TB with the same profile. Maybe I migrate it... Means nothing.
TB was not so faster than Seamonkey. And so on...Degrades...Degrades... Degrades...
But a couple of days ago I lost the filter editor. And this ticket was created.

You need to log in before you can comment on or make changes to this bug.