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

Open File explorer search doesn't include files in subdirectories #93615

Closed
glarue opened this issue Mar 27, 2020 · 7 comments · Fixed by #137241 or #143223
Closed

Open File explorer search doesn't include files in subdirectories #93615

glarue opened this issue Mar 27, 2020 · 7 comments · Fixed by #137241 or #143223
Assignees
Labels
electron Issues and items related to Electron fixed-in-electron-14 Issues fixed with Electron 14.x update insiders-released Patch has been released in VS Code Insiders linux Issues with VS Code on Linux upstream Issue identified as 'upstream' component related (exists outside of VS Code) upstream-issue-fixed The underlying upstream issue has been fixed
Milestone

Comments

@glarue
Copy link

glarue commented Mar 27, 2020

Issue Type: Bug

  1. File > Open File (or ctrl + o)
  2. Move to directory with subdirectory containing file of interest (FOI)
  3. ctrl + f > partial name of FOI

Previously, this type of search from a parent directory would return results from all (afaik) child directories, but this now does not seem to be the case.

VS Code version: Code 1.43.2 (0ba0ca5, 2020-03-24T07:52:11.516Z)
OS version: Linux x64 5.5.8-1-MANJARO

System Info
Item Value
CPUs Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz (4 x 2709)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: disabled_software
skia_renderer: disabled_off_ok
video_decode: unavailable_off
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 7, 4, 3
Memory (System) 15.40GB (0.82GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (8)
Extension Author (truncated) Version
html-snippets abu 0.2.1
open-html-in-browser cod 0.1.21
vscode-markdownlint Dav 0.34.0
vscode-html-css ecm 0.2.3
python ms- 2020.3.69010
vscodeintellicode Vis 1.2.6
vscode-icons vsc 10.0.0
markdown-pdf yza 1.4.4

(3 theme extensions excluded)

@glarue glarue changed the title Open File explorer search doesn't include subdirectories Open File explorer search doesn't include files in subdirectories Mar 27, 2020
@isidorn
Copy link
Contributor

isidorn commented Mar 30, 2020

@glarue Can you please post a screenshot? I am not sure what exact search feature you are talking about. Thanks

@isidorn isidorn added the info-needed Issue requires more information from poster label Mar 30, 2020
@microsoft microsoft deleted a comment from vscodebot bot Mar 30, 2020
@glarue
Copy link
Author

glarue commented Mar 30, 2020

@isidorn sure thing, here is a quick gif showing the behavior. In it, I am attempting to open the file test_sub_script.py in the subdirectory subdir, where the current working directory is the parent directory of subdir Previously, selecting "Open File" and then performing a search with ctrl+f (or simply typing a partial filename) would return all matching files in all subdirectories of the starting directory, but this appear to no longer work.

Peek 2020-03-30 12-30

@isidorn
Copy link
Contributor

isidorn commented Mar 31, 2020

This is a native dialog, whic I believe is controlled by your linux distrubtion and VS Code can not control it. Though forwarding to @deepak1556 as this might be electron specific. Though I think it is just native dialogs

@isidorn isidorn assigned deepak1556 and unassigned isidorn Mar 31, 2020
@glarue
Copy link
Author

glarue commented Mar 31, 2020

@isidorn thanks, and sorry for the trouble. @deepak1556 if it helps, the file manager for my system is Thunar 1.8.14-1

@deepak1556
Copy link
Contributor

As @isidorn suggested this is definitely an issue with the file manager, as I see things work fine with nautilus. But you can see if the issue repros with chromium or any other gui applications ?

Also I am having trouble setting up thunar on my system, it would help if you can run the following gist https://gist.github.com/deepak1556/8756c593cda34a102095f87f7aa8b066 with https://github.com/electron/fiddle/releases/tag/v0.14.0 and see if the issue repros. Thanks!

@deepak1556 deepak1556 added the linux Issues with VS Code on Linux label Apr 16, 2020
@glarue
Copy link
Author

glarue commented Apr 16, 2020

as I see things work fine with nautilus.

I also have Nemo installed (which does have built-in recursive search), and from what I can see Thunar has never had this, which leads me to believe somehow Nemo used to be the file manager requested for the Open File dialog. I don't see why this would have changed, however, as Thunar has been the default on my system the whole time. Changing the default file manager in Preferred Applications (Manjaro XFCE) from Thunar --> Nemo doesn't seem to affect anything.

It seems that there are at least a couple other related issues, one in vscode (#50386) and one in electron (electron/electron#2911).

Finally yes, can confirm that the issue repros w/ that gist under Fiddle.

@deepak1556
Copy link
Contributor

@glarue thanks for investigating a bit more! you are correct and that would be reason for my issue with running thunar on my system.

There is a stalled PR in electron to address this electron/electron#19159 . I will see if it can be merged in next iteration.

@deepak1556 deepak1556 added simple-file-dialog Issues with simple file dialog upstream Issue identified as 'upstream' component related (exists outside of VS Code) upstream-issue-linked This is an upstream issue that has been reported upstream electron Issues and items related to Electron and removed info-needed Issue requires more information from poster labels Apr 16, 2020
@deepak1556 deepak1556 added this to the May 2020 milestone Apr 16, 2020
@deepak1556 deepak1556 modified the milestones: May 2020, June 2020 Jun 4, 2020
@deepak1556 deepak1556 modified the milestones: June 2020, On Deck Jun 29, 2020
@bpasero bpasero removed the simple-file-dialog Issues with simple file dialog label Jun 9, 2021
@deepak1556 deepak1556 added upstream-issue-fixed The underlying upstream issue has been fixed fixed-in-electron-14 Issues fixed with Electron 14.x update and removed upstream-issue-linked This is an upstream issue that has been reported upstream labels Jul 28, 2021
@deepak1556 deepak1556 reopened this Feb 24, 2022
@deepak1556 deepak1556 modified the milestones: On Deck, March 2022 Feb 24, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Apr 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
electron Issues and items related to Electron fixed-in-electron-14 Issues fixed with Electron 14.x update insiders-released Patch has been released in VS Code Insiders linux Issues with VS Code on Linux upstream Issue identified as 'upstream' component related (exists outside of VS Code) upstream-issue-fixed The underlying upstream issue has been fixed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants
@bpasero @deepak1556 @isidorn @glarue and others