[Users] [PATCH] quicksearch: expand extended symbols on "Edit"

wwp subscript at free.fr
Sat Jun 10 23:23:51 CEST 2017

Hello Olivier,

On Sat, 10 Jun 2017 23:09:02 +0200 Olivier Brunel <jjk at jjacky.com> wrote:

> Instead of silently ignoring the current string when it used extended
> symbols, expand it into condition expressions to allow editing it.
> ---
> This could be a matter of personal preferences I guess, but as I added a similar
> feature/button to vfolder, I did it that way because from a user POV I find it
> more useful to have the extended symbols expanded & editable, rather than an
> empty list of conditions.
> Besides, it much easier/quicker to hit "Clear" first it one wants an empty list,
> than having to re-set manually whatever the expression of extended symbols might
> have been.
> So, here's a suggestion to do the same in quicksearch.

Hah. That is nice (to me), I always wondered why qs-specific
expressions were not edited when the edit button was clicked.

BTW, your patch seems to work fine here BUT I've found what looks like
a bug:

mode: Extended
value: unread   (it's a standard filtering condition expression)
-> click [Edit]
and no condition is set in the condition configuration dialog.

It seems related to your patch, 'cause it works well if not applied.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: OpenPGP digital signature
URL: <http://lists.claws-mail.org/pipermail/users/attachments/20170610/fa4d741d/attachment.sig>

More information about the Users mailing list