Large number of tags causes very bad tags preference UI performance, from autotaging RSS feeds with "Automatically create tags from feed category names"
Categories
(Thunderbird :: Preferences, defect)
Tracking
(Not tracked)
People
(Reporter: acarrico, Unassigned)
References
Details
(Keywords: perf, reproducible, triaged)
Reporter | ||
Comment 2•8 years ago
|
||
Comment 5•8 years ago
|
||
Reporter | ||
Comment 6•8 years ago
|
||
Reporter | ||
Comment 7•8 years ago
|
||
Reporter | ||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Comment 10•7 years ago
|
||
Comment 11•7 years ago
|
||
Comment 12•7 years ago
|
||
Comment 13•7 years ago
|
||
Reporter | ||
Comment 14•7 years ago
|
||
Reporter | ||
Comment 15•7 years ago
|
||
Comment 19•6 years ago
|
||
If the claim here is that all UI is sluggish with many tags, we need to test that (I can try).
So it seems we can distinguish which tags are autogenerated, via tag.ordinal.contains("~AUTOTAG").
Can we have two methods to enumerate all tags? One that returns these autotags and one that doesn't.
It may be that we reference the tag list in many places. You could just make the default enumeration function (getAllTags) return only the real tags so that all UI is happy. Only the single place that uses the autotags would call the new method that returns all tags (or just the autotags actually).
Another solution could be to make nsMsgTagService::GetAllTags faster by returning all tags from a cache, not always re-read all tag pref keys (thousands), sort them and then get the pref values and build the tags and return the list.
If it's not that nsMsgTagService::GetAllTags is slow, but the building of menulists with thousands of items is slow, then you could salvage the parts of bug 996690 and finish them here. Looks like bug 996690 comment 3 wasn't implemented yet.
Also, we could allow deleting multiple tags from the preferences dialog, if we actually want to show the autotags there. We could sort the autotags to the bottom of the list so that user could delete them in one go (select start and end of the range).
Comment 20•6 years ago
|
||
workaround |
I reviewed all RSS feeds options and found that ONE, which has the autogeneration of tags option is ON. There where 54000+ auto tags created. After turning that option off my prefs.js shrinkeв down to 200kB from 4.5 mB size.
RESOLVED.
If you have an ideas how to improve it you are welcome.
Thanks a lot from Russia.
My best regards to developers.
Comment 21•6 years ago
|
||
:aceman notes in Comment 19:
Also, we could allow deleting multiple tags from the preferences dialog, if we actually want to show the autotags there. We could sort the autotags to the bottom of the list so that user could delete them in one go (select start and end range).
I like it. No need to edit prefs.js manually.
Updated•6 years ago
|
Comment 23•2 months ago
|
||
https://support.mozilla.org/en-US/questions/1462917#answer-1674267 cites "57k mailnews.tags.* entries in prefs.js"
Description
•