Page 1 of 1

[solved] 32&64 : Visual Filter - No History via Scripting

Posted: 15 Aug 2025 23:49
by bossi
Ghost and Global Visual Filter retain history of Filters set via Script ,,, Visual Filter does not , so toggling Visual Filter off and on loads the last Visual Filter set via GUI ...
tested with

Code: Select all

 filter $filter, $flag
function

Re: 32&64 : Visual Filter - No History via Scripting

Posted: 16 Aug 2025 12:38
by admin
Agreed, that's inconsistent. Changed in the next beta.

Re: 32&64 : Visual Filter - No History via Scripting

Posted: 23 Aug 2025 04:13
by jupe
I have tried to work around the affects of this change, but I have to say I find it pretty inconvenient, I hate to ask, but I think one possible remedy might be to have a new flag for SC filter to keep the old behavior (ie. not add to the UI mru), is that something you would consider?


TLDR ver:
I use SC filter in many frequently used scripts and having them constantly polluting the UI MRU list makes the :vf btn dropdown pretty unusable for me now, also I now encounter the opposite issue the op mentioned, so when trying to toggle to the last used VF I get the last used scripted VF instead, which is from a script which was run on a different pane/tab and is irrelevant to the current list. Also the VF's I use via script can be very long and complex so they add quite a significant amount of chars to the XY ini quite rapidly, and I can't just quickly open list mgmt and press clear because I make use of ----> mru too.

Re: 32&64 : Visual Filter - No History via Scripting

Posted: 23 Aug 2025 08:51
by admin
Yes, of course, I had a reason for excluding the SC filter from the MRU in 2009.

I'll add a flag for active MRU opt-in.
No, I do it differently, you'll see.

:cup:

Re: 32&64 : Visual Filter - No History via Scripting

Posted: 10 Sep 2025 19:19
by bossi
PS .:
seeing Don added a new mru() function in conjunction to this "request"
wanted to point out a manual way of adding a Script generated VF to the MRU :

- Rclick on VF
- Lclick Set Visual Filter...
- the current Script generate VF string is still there
- Click "ok"

now i added it to the VF MRU , easy as that ... :)

Re: 32&64 : Visual Filter - No History via Scripting

Posted: 12 Sep 2025 22:08
by bossi
jupe wrote: 23 Aug 2025 04:13 I have tried to work...
did VF MRU change back to its "classical" functionality after recent updates ?
here the VF MRU gets populated with search strings from LiveFilter ,
or rather they share the same MRU now .
normally VF MRU would never be affected by LF

Re: [solved] 32&64 : Visual Filter - No History via Scripting

Posted: 13 Sep 2025 01:38
by jupe
Based on your statements I get the impression you rarely use VF or LF. The VF LF MRU being shared has been that way since the late v26 betas, or about 6+ months.

And yes, thankfully VF MRU via SC filter has returned to its original behavior that had been around for at least 15 years until you decided it was a bug which led to changed behavior for all users in an unavoidable way, so I did "request" a way to keep the original behavior, but now you can also optionally use SC mru to get the behavior you seemed to need based on your orig post.

Re: [solved] 32&64 : Visual Filter - No History via Scripting

Posted: 14 Sep 2025 03:52
by bossi
ahh yes i just found it in the changelog history ,,, yes 6 month old update , for me the change occured only on update to x64 .
easy fixable via ini setting. :tup: