Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 [OFIS] Wrong filtering with multiple words
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dcastonguay
Senior Member

Canada
32 Posts

Posted - Jul 22 2024 :  12:54:30 PM  Show Profile  Reply with Quote
The Open File in Solution dialog behaves weirdly when using multiple words as filters, and those words start with the same first two letters.

I'm using VAX 2522 (see full info at the end). I've also reproduced the issue in 2528, but reverted that version due to https://forums.wholetomato.com/forum/topic.asp?TOPIC_ID=20664. The issue was already occurring in versions prior to 2522, but I don't exactly know which one(s).

My OFIS dialog is using "Show only files in current solution", but not "Use fuzzy search". I have no persistent filter, nor have I touched the other options in the context menu.

I first noticed the behavior when searching for "console conver" and seeing that the "conver" filter wasn't taken into account. I messed around a bit, and narrowed the issue down to the first 2 letters of the first word seemingly making the second word (and sometimes the others after it) ignored (e.g. "entity enaslkfjslkdgjnlkajl" still doesn't filter).

It also looks like the words don't have to be contiguous for this to take effect (e.g. "con sole conver" doesn't work), and it's not always the first word that determines the 2 letters that will be ignored (e.g. "sole con conver" doesn't work).

Weirdly, the behavior isn't always consistent, and it looks like the order in which the words are typed is important (e.g. typing "sole conver" filters properly, and inserting the middle word "sole con conver" afterwards doesn't break the filtering as it does when writing that filter in one go).

Is this a known issue?

---
Full information copied from Visual Assist Options' System Info tab:

License: Concurrent / Standard (CDFL-7PSDQ5-56N9KL-32RD) Support ends 2025.04.01
VA_X64.dll file version 10.9.2522.0 built 2024.05.31
DevEnv.exe version 17.10.34916.146 Professional
msenv.dll version 17.0.34902.61
Comctl32.dll version 6.10.19041.4355
Windows 10 10.0 22H2 Build 19045.4651
12 processors (x86-64)
Language info: 1252, 0xc0c

Platform: Project defined
Stable Includes:
C:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\Include\um;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\cppwinrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\winrt;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\shared;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\um;
C:\Program Files (x86)\Windows Kits\10\Include\10.0.22621.0\ucrt;
c:\.nuget\dd\vs2022_buildtools.17.8.1\tools\VC\Auxiliary\VS\include;
c:\.nuget\dd\vs2022_buildtools.17.8.1\tools\VC\Tools\MSVC\14.38.33130\atlmfc\include;
c:\.nuget\dd\vs2022_buildtools.17.8.1\tools\VC\Tools\MSVC\14.38.33130\include;
c:\.nuget\dd\llvm.18.1.6-ubi01\tools\lib\clang\18\include;
c:\.nuget\dd\win-sdk.10.22621.2428\tools\10\Include\10.0.22621.0\cppwinrt;
F:\p4\apcore\tmp\native_pkg\boostpythonsdk.1.76.0.2\build\native\include;
F:\p4\apcore\games\rwd\tmp\nugetsymlinks\pixar.usd\22.7.0;
F:\p4\apcore\games\rwd\tmp\nugetsymlinks\inteltbbosswin\2018.0.0-u6\build\inteltbbosswin\include;

Other Includes:

Stable Source Directories:
C:\Program Files (x86)\Windows Kits\10\Source\10.0.22621.0\ucrt;
c:\.nuget\dd\vs2022_buildtools.17.8.1\tools\VC\Auxiliary\VS\src;
c:\.nuget\dd\vs2022_buildtools.17.8.1\tools\VC\Tools\MSVC\14.38.33130\crt\src;
c:\.nuget\dd\vs2022_buildtools.17.8.1\tools\VC\Tools\MSVC\14.38.33130\atlmfc\src\atl;
c:\.nuget\dd\vs2022_buildtools.17.8.1\tools\VC\Tools\MSVC\14.38.33130\atlmfc\src\mfcm;
c:\.nuget\dd\vs2022_buildtools.17.8.1\tools\VC\Tools\MSVC\14.38.33130\atlmfc\src\mfc;
c:\.nuget\dd\win-sdk.10.22621.2428\tools\10\Source\10.0.22621.0\ucrt;

feline
Whole Tomato Software

United Kingdom
18961 Posts

Posted - Jul 23 2024 :  09:30:19 AM  Show Profile  Reply with Quote
Nothing I recognise. I am seeing the wrong search results sometimes, but not others. So like you say, the problem seems somewhat random in nature.

How many files do you have in your solution?

If you open VA's Open File in Solution dialog (Alt-Shift-O) the title bar contains two numbers. The first number is the number of files currently listed, which changes as you filter the list. The second number is the total number of files in the list, which is normally the number of files in your solution. What is this second number?

I am wondering if the number of files could be a factor in how easy this is to trigger.

zen is the art of being at one with the two'ness
Go to Top of Page

dcastonguay
Senior Member

Canada
32 Posts

Posted - Jul 23 2024 :  10:54:01 AM  Show Profile  Reply with Quote
Hello,

The solution I'm usually using reports 117471 files. I looked around and found smaller solutions reporting 4941, 2895, and finally 82 files, and I was able to reproduce, too.

To be clear, I'm able to reproduce the issue pretty much 100% of the time. I type the first word, wait a bit for the filtering, then type the second word starting with the same letters then some alphabetic gibberish (without punctuation, because that sometimes "fixes" the issue), and the filtering is broken.

Thanks for having a look!
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18961 Posts

Posted - Jul 29 2024 :  1:23:42 PM  Show Profile  Reply with Quote
Sorry for the slow reply, but I have pinned this down some more, and put in a bug report for it:

case=164783

Interestingly, when the bug is happening, adding extra letters to the second, ignored search string can make VA start respecting the search string again, sometimes. Very easy to reproduce, but the trick is finding an example that doesn't require a crazy big solution :)

zen is the art of being at one with the two'ness
Go to Top of Page

dcastonguay
Senior Member

Canada
32 Posts

Posted - Jul 31 2024 :  3:42:43 PM  Show Profile  Reply with Quote
Just letting you know that I downgraded to an older version, 2508, and this issue doesn't seem to occur.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18961 Posts

Posted - Aug 01 2024 :  06:42:22 AM  Show Profile  Reply with Quote
Thank you for that. Testing different versions, the last version without this problem was VA 2511. Knowing this should help us narrow down what is causing this bug.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000