Bugzilla@Mozdev – Bug 26107
When copying filters across accounts they are inserted in reverse order
Last modified: 2015-11-20 16:37:45
You need to
before you can comment on or make changes to this bug.
When copy all filters from one account to another account, the filters in the
target account are reverse order.
If the filters in the source account are ordered 1 2 3,
They get pasted into the new account top down as 3 2 1.
I have just reproduced the behavior. We also need to test if this happens when
we stay on the same account.
Created an attachment (id=8126) [details]
quickFilters 3.0 Prerelease 25
Here is a version with a quick fix. Apparently the bug also happens when
copying or moving (cut/paste) within the same mail account.
It's fixed with a but.
If you have filters 1 2 3 in one account and you left click to select 1 and
then shift left click 3 to select them all they can be copied and pasted in
order to another account.
If you have filters 1 2 3 in one account and you left click to select 3 and
then shift left click 1 to select them all they can be copied and pasted to
another account but the order is 3 1 2
Created an attachment (id=8127) [details]
quickFilters 3.0 Prerelease 40
Good catch about the wrong order. This version addresses the problem by
re-sorting the selection in the order of execution; this should even work when
you make multiple selections using combined SHIFT and CTRL selections.
This will also work when you select multiple filters and move them to a
different position in the list using Cut+Paste.
Remember to select the position of another filter as "position target" - the
selected filters will be inserted before this one (this can also be used as a
"defragmentation tool" = pulling filters together. Tested in Thunderbird 42.0