Find files Template: save unchecked Same plugin fields value

Here you can propose new features, make suggestions etc.

Moderators: Hacker, petermad, Stefan2, white

Post Reply
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Find files Template: save unchecked Same plugin fields value

Post by *DrShark »

In Find files, when search for duplicates, after checking "Same plugin fields" it's possible to add value like [=wdhash.CRC32]. After unchecking "Same plugin fields" checkbox, value still present in field, but it doesn't restored if search setting saved and then reloaded from search template.

If value from "Same plugin fields" field will be restored form Search template even with "Same plugin fields" checkbox unchecked, template will be more universal: user won't have to disable checkbox if he doesn't want to use plugin, or if he wants, he won't waste time adding plugin value from dropdown list or via [+] button — only checking "Same plugin fields" will be required.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
User avatar
MVV
Power Member
Power Member
Posts: 8711
Joined: 2008-08-03, 12:51 UTC
Location: Russian Federation

Post by *MVV »

I think the downside may be the garbage in INI...
User avatar
DrShark
Power Member
Power Member
Posts: 1872
Joined: 2006-11-03, 22:26 UTC
Location: Kyiv, 68/262
Contact:

Post by *DrShark »

MVV wrote:I think the downside may be the garbage in INI...
Well, this "garbage" already saved in templatename_dupeplugins parameter if "Same plugin fields" checked. My suggestion is to regulate checkbox state using additional value in templatename_SearchFlags parameter and save templatename_dupeplugins when "Same plugin fields" text field is not empty.

Currently with "Search in plugins" manually unchecked, Plugins tab rules also aren't saved to Search Template, and saving these rules will significantly increase the size of wincmd.ini. However even for this case if user doesn't want to have all this stored in wincmd.ini, it's possible to redirect section [searches] of wincmd.ini to separate ini file.
Donate for Ukraine to help stop Russian invasion!
Ukraine's National Bank special bank account:
UA843000010000000047330992708
Post Reply