Open raghucssit opened 1 year ago
Some viewer update problem? I see the total matches count is consistent...
I’ve seen this problem too on Windows but it’s hard to reproduce. I thought maybe it was related to multi thread search.
I thought maybe it was related to multi thread search.
That could be - It's not deterministic which thread handles which file . i'd be happy to help if someone finds the bug. may be somewhere near org.eclipse.search.internal.ui.text.FileSearchQuery.TextSearchResultCollector.endReporting()
I get it frequently on large PHP projects. Possibly the search seems to miss listing hits in files I have open editors for.
If I pull the search results back from the "Show previous searches" history menu at the top right of the search pane, the listing shows correctly (without re-running the search).
I see it reported over here too: https://bugs.eclipse.org/bugs/show_bug.cgi?id=581802 Daniil Terentev there says:
I can add that if you change view from tree to list and then back to tree display of search results becomes correct.
My set up... Version: 2023-12 (4.30.0) Build id: 20231201-2043 Windows 10
Bug type : Sporadic Eclipse version : 2023-09 (4.29) Build id: I20230802-1800 OS : Linux
Steps to reproduce:
some
Search View
. Mostly for the first time results are complete.Clear All
using "Search View" toolbar and hitRefresh
next to it. Try this 4-5 times quickly.Refresh
in theSearch View
tool bar couple of time instantly.In development environment when I lauch a 'run-time' in debug mode this is very frequent. Even the first time search results are incomplete.
Below is the screenshot of the first serach result from run-time debug.