First Last Prev Next    No search results available
: Add tool to find duplicate conditions / actions
Bug#: 25789
: quickFilters
: General
Resolution: FIXED
: PC
: Windows NT
: unspecified
: P2
: enhancement
: ---

  Show dependency tree - Show dependency graph
Reporter: Axel Grude <>
Assigned To: Axel Grude <>

qF 2.6 prerelease 95 (211.81 KB, application/x-xpinstall)
2014-06-26 12:53, Axel Grude
no flags Details
Duplicate Search (53.94 KB, image/png)
2014-07-04 18:56, Jason
no flags Details
qF 2.6 prerelease 105 (212.37 KB, application/x-xpinstall)
2014-07-04 22:10, Axel Grude
no flags Details


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

Related actions

Description:   Opened: 2014-06-26 12:46
Original Request (from JSIN): 

I may have used the filter assistant to create a filter to send specific emails
to the wrong folder, or have the senders email address in more than one filter.
It would be nice to have a search function to see if you have any duplicates or
a way to trouble shoot any filter issues or track down problems with filters
not working properly.


"I think the issue I am having with my filters not working properly is that I
may have several filters containing the same email address or some other field.
This probably happened while creating new folders and trying to better organize
my email."

add a way to find duplicate conditions and actions. (same condition in 2
different filters, same action in 2 different filters)
------- Comment #1 From Axel Grude 2014-06-26 12:50:13 -------
This will be added in the form of a "find duplicates" button in the filters
list. It will work on each individual mailbox (not across all).

One the button is clicked, a list of matches is displayed in a drop down box.

When an item is selected from the drop down box, the filter list will be
filtered (using the new search feature from Bug 25752) accordingly to show the
matching filters. The filters will get a new context menu item:

  Remove duplicate condition: ....
  Remove duplicate action: ...

detailing what can be changed.

Removal will not happen automatically, instead the Edit Filter window is opened
and the offending condition / action will be scrolled into view and
highlighted. The user can then click the [-] button to remove the condition
------- Comment #2 From Axel Grude 2014-06-26 12:53:00 -------
Created an attachment (id=7875) [details]
qF 2.6 prerelease 95

Adding the button (and context menu item) as described.

Note: highlighting actions currently only depends on *type* (not value) so if
you add multiple tags in the same filter the first tag action will always be
highlighted regardless of the value. It is actually difficult to get at the

conditions however should always be highlighted correctly (by value).
------- Comment #3 From Axel Grude 2014-06-26 12:54:34 -------
Note: the "Find Duplicates" will change to an "x" which will end the search
mode (it currently does not reset the search box contents, but I might change
that). Also, changing to a different mailbox will end the search mode as well.
------- Comment #4 From Axel Grude 2014-07-04 13:20:57 -------
A detailed description of the feature, complete with screenshots can be found

  Firstly, click the new Find duplicate attributes button.This lists filters
that might do the same or determine conditions the same way. 

  Secondly, select a result from the drop down

  This copies the selected condition / action to the search box and narrow down
the list to display the filters that are duplicate candidates

  Then right-click the filter that you want to change (remove the duplicate
condition). This opens up the filter editor, highlighting the duplicate
condition or action in the list

  In a long list of conditions, quickFilters will scroll to the condition and
highlight it with a red background. The user can then delete or edit the
------- Comment #5 From Jason 2014-07-04 18:56:32 -------
Created an attachment (id=7876) [details]
Duplicate Search
------- Comment #6 From Axel Grude 2014-07-04 22:10:37 -------
Created an attachment (id=7880) [details]
qF 2.6 prerelease 105

This version includes a  fix in the loop going through the visible list which
should make it more reliable when the matched duplicate is scrolled off screen. 

It should scroll and highlight. If not, please enable debug mode and post the
log from console2.
------- Comment #7 From Axel Grude 2014-07-04 22:11:14 -------
(From update of attachment 7875 [details])
made obsolete by prerelease 105

First Last Prev Next    No search results available