Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improper progress during search #4508

Closed
jrieken opened this issue Mar 21, 2016 · 6 comments
Closed

Improper progress during search #4508

jrieken opened this issue Mar 21, 2016 · 6 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Milestone

Comments

@jrieken
Copy link
Member

jrieken commented Mar 21, 2016

search

See attached gif, the progress bar quickly goes to ~90% and then takes a long while until it reaches 100%.

@bpasero
Copy link
Member

bpasero commented Mar 21, 2016

@jrieken can you zip the workspace and attach and include your settings?

@bpasero bpasero added the info-needed Issue requires more information from poster label Mar 21, 2016
@bpasero bpasero added this to the Backlog milestone Mar 21, 2016
@bpasero bpasero added the bug Issue identified by VS Code Team member as probable bug label Mar 21, 2016
@jrieken
Copy link
Member Author

jrieken commented Mar 21, 2016

@bpasero
Copy link
Member

bpasero commented Mar 21, 2016

@jrieken the progress is only fake until I know how many files to search. since file walking can take forever, and I still want to show something, there can be cases where the fake progress goes to 90% and only then a lot of more files are discovered.

There is really no good way of showing real progress without knowing the number of files to search in upfront (e.g. an index would help).

@bpasero bpasero removed the info-needed Issue requires more information from poster label Mar 21, 2016
@bpasero bpasero modified the milestones: April 2016, Backlog Mar 21, 2016
@jrieken
Copy link
Member Author

jrieken commented Mar 21, 2016

I wonder if we should show the infinite progress as long as we don't know how many files there are?

@bpasero
Copy link
Member

bpasero commented Mar 21, 2016

Yeah, that could work.

@bpasero bpasero modified the milestones: Backlog, April 2016 Mar 30, 2016
@bpasero bpasero closed this as completed in bae2168 Apr 4, 2016
@bpasero bpasero assigned jrieken and unassigned bpasero Apr 4, 2016
@bpasero
Copy link
Member

bpasero commented Apr 4, 2016

Actually I notice that 2 files in this workspace are very large (> 6 MB) and essentially the search is really busy processing those 2 files in the end and the file based progress is correct. I pushed a change to adjust the progress based on the size of the file. Let me know how it goes.

@bpasero bpasero modified the milestones: April 2016, Backlog Apr 4, 2016
@jrieken jrieken added the verified Verification succeeded label Apr 28, 2016
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants