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

Things you’d like to miss in the future...
Forum rules
:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:

:info: Please include the following information:
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).

:info: We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.

:info: When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".

:warnred20: :warnred20: :warnred20: :warnred20: :warnred20: READ THIS AND DO IT!!! :warnred20: :warnred20: :warnred20: :warnred20: :warnred20:
Post Reply
bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

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

Post 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
Last edited by bossi on 10 Sep 2025 19:19, edited 1 time in total.

admin
Site Admin
Posts: 66538
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post by admin »

Agreed, that's inconsistent. Changed in the next beta.

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

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

Post 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.

admin
Site Admin
Posts: 66538
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

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

Post 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:

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

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

Post 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 ... :)

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

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

Post 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

jupe
Posts: 3462
Joined: 20 Oct 2017 21:14
Location: Win10 22H2 120dpi

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

Post 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.

bossi
Posts: 144
Joined: 30 Jul 2022 11:09
Location: Win11-latest, XYx64 latest, 4K@100%

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

Post 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:

Post Reply