> On (2013年03月03日 18:07), Axel Grude wrote:
>> Subject: Re: filter-mgmt bugs
>> Date: Fri, 28 Oct 2011 11:20:00 -0700 (PDT)
>> From: jdg
>> To:
>>> Wayne Mery <
vseer...@lehigh.edu> wrote:
>>>> aceman and others are doing deep triage of filter bugs (Tools|Filters,
>>>> not quick filter bar) and the results so far are impressive. It has
>>>> evolved to include identifying bugs which affect *how* a user manages
>>>> filters. We tag such bugs in the whiteboard with [filter-mgmt] [1].
>>>> Anyone can tag a qualifying bug.
>>>>
>>>> The purpose of this posting is to refine the definition of filter-mgmt.
>>>> Feedback is welcomed.
>>>
<snip>
>>> So I'd like to see the filter-mgmt interface include the kind of basic
>>> tools
>>> 2. "Page Up" and "Page Down" abilities in the filter list (which
>>> would
>>> jump a distance I can set as a preference, not just the 10 lines or so
>>> I
>>> can now jump by clicking in the scroll-bar).
>>> 3. The ability to jump to arbitrary places in the list of filters by
>>> dragging
>>> the scroll-bar slider, just as I can in most other Windows apps and
>>> even
>>> in Thunderbird's own folder-list, message-list, and message-body
>>> panes.
>>
>> I have added the Search box since, so I hope that these navigation
>> improvements are not so important anymore. You can move filters while you
>> have the search box active I use this regularly in order to group related
>> filters together.
the list needs positional drag-and-drop support, badly.
>>
>>> 4. The ability to search for strings in the list of filters, with or
>>> without
>>> limiting the search to particular fields within a filter definition.
>>
>> Yes - we need a way to determine other search fields than just Name, but
>> this is also a UI problem. The Filter DIalog at current is already
>> overloaded so we will need to move towards a bigger design with a toolbar,
>> such as Firefox Bookmarks / History.
keep a look out for quickFilters, there will be UI changes, hopefully pointing the way
towards integration into Tb core at a later stage!
>>
>>> 5. The ability to "Cut", "Copy", and "Paste" whole filter
>>> definitions, both
>>> within a filter list and among different lists (say, the one for Inbox
>>> and
>>> the one for the newsgroups server), preferably using the same keys I
>>> use for those functions in a text editor.
>>
>> This is something I will be working on over the next 2 months for my Addon
>> quickFilters. The Filter List will definitely have to undergo a better more
>> radical UI redesign including an integrated toolbar.
>>
>> Axel
>>
>>
>
> I am curious about this filter extension because
> I am trying to sort out many ML and other occasional mailings into a large
> number of folders, and yes, sometimes I feel that a general boolean
> combinations of
> conditions may be very welcome.
Actually, quickFilters 1.8 has just been reviewed and it supports cut / copy / paste
across accounts.
https://addons.mozilla.org/en-US/thunderbird/addon/quickfilters/
One area that I will be working on next is the transposition of target paths so that
it can be used for migrating filters across folders / partitions / etc.
Of course, if you have a large number of folders you also use QuickFolders, alright?
>
<snip>
> (Sure we can certainly use the nested folder for short hand notation for
> A || B || C || D
> where B is
> b1 || b2 || b3 || b4 and "match any of the following" are checked for both
> the original and nested filters.)
>
> Of course, we should be allowed to nest deeper than 1 level.
I am not sure about the term "folder" what I proposed in the bug was nesting the
filters themselves, no folders involved. If we allow filters (or rather their filter
condition part only) to be nested within filters we can build "bracketed expressions"
relatively easily without building an overly complicated UI:
A && ((B && C) || D)
with nesting this is easy to achieve.
1. First build the B && C filter (condition),
2. then build the D filter (condition) - these two part can already be achieved using
the existing UI.
3. Then build the 2nd ((xx) || x) filter selecting any, (B&&C) , D.
4. Finally build the final filter by selecting all, A, ((xx)||x).
This would be possible "out of the box" if there was a filter condition "fulfills
existing filter condition". Of course it would only be really useful if you could
build it "from the outside in", meaning you start with A, the select "Fulfills nested
filter" and build more conditions in a separate filter properties window. This would
also have to have no action portion (as it is purely a condition) and a name for
easier readability in the resulting filter.
>
> I like the idea.
>
> The general boolean expression (introducing new syntax, etc.) seems to be
> too general without much gain.
I think the syntax as such already exists (bracketed boolean expressions), the
difficult part is building a UI that everyone understands.
I think this is what
https://bugzilla.mozilla.org/show_bug.cgi?id=297852
should be about. As far as I am aware the filtering "engine" is already able to
process such filters (I might be wrong).
>
> On the other hand, since I saw TB crashed three times in about last two
> weeks, and was surprised to find to my chagrin that it even failed to send
> the crashreport for one of the crashes, I feel we may want to put this off
> and put it on a wish-list for now, and fix whatever are causing the latest
> instability first :-(
>
At the moment it is TB22 beta testing week, so all efforts go into testing this latest
build, indeed.
Ax