Page 1 of 1

Find in Files, a little quirk

Posted: 12 Nov 2018 15:03
by Harrison Pratt
Replicate results in "Find in Files"
Replicate results in "Find in Files"
Snap_2018.11.12 08.58.59_001.png (27.8 KiB) Viewed 14641 times
"Find in Files" (Ctrl-Shift-F) displays "found" lines in Task Window twice, but other files search results are OK.

Re: Find in Files, a little quirk

Posted: 14 Nov 2018 10:51
by Thomas Linder Puls
We have not been able to reproduce this problem. I assume this is in the latest Vip 8?

Re: Find in Files, a little quirk

Posted: 14 Nov 2018 14:45
by Harrison Pratt
I'm using VP Build 802.

The behavior seems somewhat inconsistent, but this is what I know for sure so far:
* It doesn't happen with all projects, but happens with more than one.
* I don't think it's related to 32 vs 64 bit projects.
* It happens when searching from the top of the project tree (the folder with the project name).
* It may be a sorting-related problem (rather than a finding-related issue) because display of double entries happens after I click the "File" column to sort the display results. Repeated sorting doesn't cause further proliferation of replicate entries.

Re: Find in Files, a little quirk

Posted: 16 Nov 2018 10:25
by Thomas Linder Puls
Thank you, for the details. Unfortunately, it still didn't reproduce the problem here.

Re: Find in Files, a little quirk

Posted: 16 Nov 2018 13:31
by Harrison Pratt
Thanks for checking. I'll keep an eye on it.

Re: Find in Files, a little quirk

Posted: 17 Nov 2018 16:19
by Harrison Pratt
The quirky projects are two that I created using VP 7 and later copied to my VP 8 development tree and continued development there. How does Find in Files populate the search list?

This quirk, of course, is at the most trivial level of all quirks. :wink:

Re: Find in Files, a little quirk

Posted: 18 Nov 2018 19:03
by Thomas Linder Puls
You may check the project file with a text editor, and investigate whether the file is mentioned twice (maybe with different casing, or using some kind of different path).

Re: Find in Files, a little quirk

Posted: 19 Nov 2018 17:02
by Harrison Pratt
The vipprj files in the two projects do not have replicate entries.

I backed up both projects and tried deleting the TaskWindow package using the IDE. I got a message "It isn't allowed to delete the task window resource from the project." Despite the message, it deleted all the resources in the TaskWindow package ... surprise! :o

All the files were still there so it was simple to add the package and various resource files (.bmp, .ico, .menu, .tb, .win etc.) back into the project. That fixed the duplicate search issue with one project. With the other project I am having an issue reconciling id_mnu_taskmenu and id_taskmenu so I reverted to the backup until I sort that out.

As the saying goes, the trip wasn't worth the candle since duplicate search results weren't causing actual production problems. Despite this trivial quirk, the IDE guided me gracefully through both VP7 to VP8 project migrations without having to recreate entirely new projects in VP8. :D