Skip to content

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

Description

@glarue

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)

Activity

  1. changed the title [-]Open File explorer search doesn't include subdirectories[/-] [+]Open File explorer search doesn't include files in subdirectories[/+] on Mar 27, 2020
  2. isidorn commented on Mar 30, 2020

    @isidorn

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

  3. added
    info-needed
    on Mar 30, 2020
  4. deleted a comment from vscodebot on Mar 30, 2020
  5. glarue commented on Mar 30, 2020

    @glarue
    Author

    Isidor Nikolic (@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

  6. isidorn commented on Mar 31, 2020

    @isidorn

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

  7. glarue commented on Mar 31, 2020

    @glarue
    Author

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

  8. deepak1556 commented on Apr 16, 2020

    @deepak1556
    Collaborator

    As Isidor Nikolic (@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!

  9. added
    linux
    on Apr 16, 2020
  10. glarue commented on Apr 16, 2020

    @glarue
    Author

    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.

  11. 13 remaining items

  12. added
    upstream-issue-fixed
    fixed-in-electron-14
    on Jul 28, 2021
  13. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Feb 8, 2022
  14. removed
    insiders-released
    on Feb 24, 2022
  15. added
    unreleased
    insiders-released
    and removed
    unreleased
    on Mar 10, 2022
  16. locked and limited conversation to collaborators on Apr 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

electronfixed-in-electron-14insiders-releasedlinuxupstreamupstream-issue-fixed

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions