opto / Expression-Search-NG

update of Thunderbird addon ExpressionSearch/Gmail UI for TB 78 and later
61 stars 8 forks source link

[v 3.4] #42

Open El-Pazzo opened 2 years ago

El-Pazzo commented 2 years ago

Hi,

I got 2 issues with the new version:

  1. when saving a filter with an Expression Search - NG rule the condition is changed from "Match all of the following" to "Match any of the following". If I remove the Expression Search - NG condition and save it, then "Match all of the following" is saved as it should.
  2. the search term is not shown in the form field when reopening the rule (although it's correctly saved in the msgfilterrules.dat). I saw this issue with another filter addon (FiltaQuilla). Apparently the field does not get populated due to a change in TB a few versions ago. According to that addon's developer this issue can be solved easily by adapting the code to the new programming of TB.

Here is the rule as saved under msgfilterrules.dat:

name="HackAnhang" enabled="yes" type="17" action="Delete" condition="OR (expressionsearch#attachmentNameOrType,contains,.7z)"

(as you can see the condition is changed to "OR", but the search string is present)

The screenshot shows the filter after reopening it. It was save with "Match all of the following" and the Attachmeng Name/Type" field should show ".7z"

grafik