Skip to content

VSCode's FileDialog overwrites the file managers (Nautilus) "Show hidden files" setting #107246

Open

Description

@Leleat
  • VSCode Version: 1.49.1 (and insider version as well)
  • OS Version: Fedora 32

Steps to Reproduce:

  1. Enable "Show hidden files" in nautilus.
  2. Open VSCode's file dialog (for example via Ctrl+O). The hidden files in nautilus will be hidden again.

(Not sure if this can be considered a bug report or a feature request but) VSCode should respect nautilus' setting or at least not overwrite it.

Does this issue occur when all extensions are disabled?: Yes/No
Yes

Activity

  1. added
    linux
    workbench-os-integration
    on Sep 23, 2020
  2. bpasero commented on Sep 23, 2020

    @bpasero
    Contributor

    I see that electron provides a properties support to pass in showHiddenFiles and we do not pass it here:

    if (typeof options.pickFiles === 'boolean' || typeof options.pickFolders === 'boolean') {
    dialogOptions.properties = undefined; // let it override based on the booleans
    if (options.pickFiles && options.pickFolders) {
    dialogOptions.properties = ['multiSelections', 'openDirectory', 'openFile', 'createDirectory'];
    }
    }
    if (!dialogOptions.properties) {
    dialogOptions.properties = ['multiSelections', options.pickFolders ? 'openDirectory' : 'openFile', 'createDirectory'];
    }
    if (isMacintosh) {
    dialogOptions.properties.push('treatPackageAsDirectory'); // always drill into .app files
    }

    Maybe this causes the dialog to not show hidden files? Though I would think it should show them if configured by the user?

  3. Leleat commented on Sep 23, 2020

    @Leleat
    Author

    Though I would think it should show them if configured by the user?

    For me VSCode's file dialog always opens with "Show hidden files" unchecked (regardless of my settings in Nautilus).

  4. added
    upstream
    on Nov 5, 2020
  5. mmlacak commented on Nov 29, 2020

    @mmlacak

    Happens also on Fedora 33, with latest VS Code:

    Version: 1.51.1
    Commit: e5a624b
    Date: 2020-11-10T23:31:29.624Z
    Electron: 9.3.3
    Chrome: 83.0.4103.122
    Node.js: 12.14.1
    V8: 8.3.110.13-electron.0
    OS: Linux x64 5.9.10-200.fc33.x86_64

    Normally I don't use open dialog, just clicking and double-clicking files in project tree on the left, but even then it still happens.
    Can't really figure out what triggers it, so please check out if properties are overwritten in some other places, too.

  6. dkgndianko commented on Apr 26, 2021

    @dkgndianko

    I'm having the same issue.
    When I set show hidden files feature, Nautilus shows all hidden files and folders.
    But when I try to open folder with Vscode, Nautilus setting overrides to not show hidden files.
    You can see screenshots.

    1. Disbled
      Nautilus setting disabled
    2. Enabled
      Nautilussetting enabled
    3. Open with Vscode
      Open folder with Vscode

    Vscode info

    Version: 1.55.1
    Commit: 08a217c4d27a02a5bcde898fd7981bda5b49391b
    Date: 2021-04-07T15:01:24.315Z
    Electron: 11.3.0
    Chrome: 87.0.4280.141
    Node.js: 12.18.3
    V8: 8.7.220.31-electron.0
    OS: Linux x64 5.9.15-200.fc33.x86_64
    

    OS Info

    OS name: Fedora 33 (Workstation Edition)
    Os Type: 64-bit
    Gnome Version: 3.38.2
    

    Actually I use code from command line to open my hidden folders.
    Use

    code <path to hidden folder>
    

    Open from Terminal

  7. dennisxtria commented on Aug 3, 2021

    @dennisxtria

    I'm commenting here to mention that I'm having this issue as well in order to ask if there are any updates regarding the progress of this.

  8. drakkar1969 commented on Nov 7, 2021

    @drakkar1969

    Also having this issue, find it strange that vscode would overwrite system settings on file open

  9. rubensa commented on Dec 9, 2021

    @rubensa

    I've been experiencing the same behavior/issue for some time now.

    I found a similar issue reported for ATOM but was closed due no additional information provided: atom/atom#20712

    I couldn't find any related issue on Electron repo (but, to me, seems to be the source of the behavior/issue as, all work is done by an Electron API): https://github.com/electron/electron/issues

    Please, also note that when the folder is opened inside VSCode if I have a Nautilus window opened the content is refreshed (and the hidden files dissapear from the view).

    Additional info:

  10. rubensa commented on Dec 10, 2021

    @rubensa

    Just downloaded the latest Atom version (1.58.0) and the behavior is exactly the same. When I open a folder (project) in Atom, the Nautilus window is refreshed and the "Show hidden files" check automatically disabled.

  11. added
    bug
    confirmed
    electron
    upstream-issue-pending
    and removed on Dec 9, 2022
  12. misaki-web commented on Mar 10, 2023

    @misaki-web

    I don't have Nautilus on my system, but I still have this bug with VSCode 1.76.0. I found a workaround. See below.

    Actually, on my system, VSCode doesn't read the hidden files setting, it always open the GTK file chooser without displaying hidden files, then when the GTK file chooser is closed, it updates the setting.

    Steps to reproduce:

    • Make hidden files displayed in the GTK file chooser:

      $ dconf write /org/gtk/settings/file-chooser/show-hidden true
      $ dconf read /org/gtk/settings/file-chooser/show-hidden
      true
      
    • Open VSCode. Hidden files are still set to be displayed:

      $ code
      $ dconf read /org/gtk/settings/file-chooser/show-hidden
      true
      
    • In VSCode, go to File > Open File. Hidden files are not displayed, but settings have not been updated yet:

      $ dconf read /org/gtk/settings/file-chooser/show-hidden
      true
      
    • Close the "Open File" popup. Even if we don't choose a file and click on "Cancel", settings were updated by VSCode:

      $ dconf read /org/gtk/settings/file-chooser/show-hidden
      false
      

    Here's a workaround:

    • Make again hidden files displayed:

      $ dconf write /org/gtk/settings/file-chooser/show-hidden true
      $ dconf read /org/gtk/settings/file-chooser/show-hidden
      true
      
    • Open VSCode with the following environment variable:

      $ GTK_USE_PORTAL=1 code
      
    • In VSCode, go again to File > Open File. VSCode reads the setting and hidden files are now displayed in the file chooser.

  13. zonescape commented on Mar 14, 2025

    @zonescape

    Robo (@deepak1556) upstream bug is closed but it is still present in VSCode. So it is either bug in VSCode itself or upstream bug should be reopened. I pinged one of the Electron developers but with no luck.

  14. zonescape commented on Dec 6, 2025

    @zonescape

    I found a fix for Ubuntu 22.04 with VSCode installed via apt. This method overrides gtk_file_chooser_set_show_hidden() function from libgtk-3.so in runtime with a dummy one.

    1. Create file libgtk-patch.c with the following content
    void gtk_file_chooser_set_show_hidden(void* chooser, int show_hidden) {
    }
    1. Compile it
    gcc -shared -fPIC -o libgtk-patch.so libgtk-patch.c -ldl
    1. Close all VSCode windows

    2. Copy VSCode's .desktop files into your home directory

    cd /usr/share/applications
    cp code.desktop code-url-handler.desktop ~/.local/share/applications/
    1. Add LD_PRELOAD environment variable to the Exec entry in both files
    Exec=env LD_PRELOAD=/path/to/libgtk-patch.so /usr/share/code/code...
    
    1. Wait a minute until Ubuntu reloads .desktop files. You may see icon flickering in the Dock when this happens.

    2. Bug must be fixed for now if you run VSCode using the GUI icon. If you run it using terminal, then you need to add one more alias into your shell aliases file (~/.bash_aliases in case of bash)

    alias code='LD_PRELOAD=/path/to/libgtk-patch.so code'
    
    1. Reload your shell aliases. In case of bash
    source ~/.bashrc
  15. dmitrivMS commented on Nov 29, 2026

    @dmitrivMS
    Collaborator

    Still reproducible in Stable 1.148.0 and Insiders 1.149.0. On the reporter’s Fedora 32, canceling VS Code’s native GTK 3 Open File dialog changes Nautilus’s Show Hidden Files preference from true to false. Opening the dialog hides the dotfile in the picker; closing it is what writes false to dconf and makes the dotfile disappear from Nautilus. This is not just a display issue in VS Code.

    What was tested

    Fedora 32 x86_64, Nautilus 3.36.3, GTK 3.24.28, X11/Metacity, clean VS Code profiles, extensions disabled. The native-dialog tests used GTK 3, not GTK 4 or a desktop portal. Both the file list and the stored preference were checked at each step.

    Build, with hidden files enabled in Nautilus Dotfile in Open File Nautilus after Cancel
    Official VS Code RPMs: 1.49.1 (original report), 1.138.0, 1.139.0, 1.148.0 Stable, 1.149.0 Insiders (d7885d3d) Hidden Dotfile disappears; dconf false
    Same Insiders workbench with Electron 46.0.0-nightly.20260904 Hidden Dotfile disappears; dconf false
    Same Insiders workbench with Electron 46.0.0-nightly.20260907 Visible Dotfile stays visible; dconf true

    A minimal Electron app calling dialog.showOpenDialog() with just properties: ['openFile'] gave the same before/after result. With the corrected nightly, an initially off preference stayed off; explicitly pressing Ctrl+H in the dialog still updated Nautilus. The fix preserves the user’s choice; it does not force hidden files on. The nightly comparisons are experimental runtime swaps, not shipped VS Code builds.

    nautilus-hidden-files.mp4

    Native chooser and Nautilus side by side: only PUBLIC.txt remains on the shipping runtime; both PUBLIC.txt and .HIDDEN.txt remain on the corrected runtime.

    Cause, workaround, and candidate Electron 43 backport

    electron/electron#51704 and its 43.x backport removed the Electron API call, but the Electron 43.8.13 Chromium patch still unconditionally calls gtk_file_chooser_set_show_hidden using a field that defaults to false. The focused upstream commit in electron/electron#53634 removes those calls and the unused field. That is the change between the failing and passing nightly tests.

    Verified workaround on shipped Insiders: set "files.simpleDialog.enable": true. The in-editor picker successfully opened .HIDDEN.txt without changing the Nautilus preference.

    Candidate backport below: it applies to the Electron checkout at v43.8.13, not the VS Code checkout. The outer patch and its resulting inner Chromium patch were both apply-checked and applied locally against the pinned source (150.0.7871.250); the seven original Chromium file hashes matched. The backported Electron 43 binary has not been built or tested. The next step is to build it and repeat the native-dialog checks below before marking this fixed in VS Code.

    Reproduction / verification steps

    1. In a GTK 3 / Nautilus test session, create a temporary folder with PUBLIC.txt and .HIDDEN.txt. Open it in Nautilus and enable Show Hidden Files with Ctrl+H if needed. Confirm both files are visible and dconf read /org/gtk/settings/file-chooser/show-hidden prints true.
    2. Open PUBLIC.txt in the build under test with extensions disabled and a fresh profile. Leave files.simpleDialog.enable set to false. Press Ctrl+O and view the same folder in the native chooser. Do not toggle visibility there.
    3. Press Escape to cancel. Check Nautilus and read the dconf key again. Expected after the fix: .HIDDEN.txt is visible in the chooser and still visible in Nautilus after Cancel; the setting is still true. Shipped Insiders: the chooser hides the dotfile and Cancel changes the setting to false.
    4. As controls, repeat starting with visibility off: Cancel should leave it off. Then intentionally enable hidden files inside the chooser and cancel: Nautilus should reflect that explicit choice. Restore the original preference after testing.

    To save the exact backport from this comment, run the following in a clean Electron v43.8.13 checkout. The first command extracts the fenced diff without Markdown formatting; the last command checks applicability without modifying the checkout.

    gh api repos/microsoft/vscode/issues/comments/7253123460 --jq '.body' |
      tr -d '\r' | sed -n '/^```diff$/,/^```$/{/^```/d;p;}' > electron-43-gtk-hidden-files.patch
    printf '%s  %s\n' 2dabc0aa2fd21fcffea34ebce54d8b8428d32f4365d82cd3b1d7a28ca45ae62d electron-43-gtk-hidden-files.patch | sha256sum -c -
    git apply --check electron-43-gtk-hidden-files.patch
    Candidate backport: electron-43-gtk-hidden-files.patch (unbuilt)

    SHA-256: 2dabc0aa2fd21fcffea34ebce54d8b8428d32f4365d82cd3b1d7a28ca45ae62d

    diff --git a/patches/chromium/feat_add_support_for_missing_dialog_features_to_shell_dialogs.patch b/patches/chromium/feat_add_support_for_missing_dialog_features_to_shell_dialogs.patch
    index 7c8b42fcc69170b6f3705a81d57e0c7f3da6edd4..24f0a17e3e6f0efa64b2c6a0151cef62bb5de4dc 100644
    --- a/patches/chromium/feat_add_support_for_missing_dialog_features_to_shell_dialogs.patch
    +++ b/patches/chromium/feat_add_support_for_missing_dialog_features_to_shell_dialogs.patch
    @@ -5,7 +5,6 @@ Subject: feat: add support for missing dialog features to //shell_dialogs
     
     This CL adds support for the following features to //shell_dialogs:
     * buttonLabel - Custom label for the confirmation button.
    -* showHiddenFiles - Show hidden files in dialog.
     * showOverwriteConfirmation - Whether the user will be presented a confirmation dialog if the user types a file name that already exists.
     
     It also:
    @@ -17,7 +16,7 @@ It also:
     This may be partially upstreamed to Chromium in the future.
     
     diff --git a/ui/gtk/select_file_dialog_linux_gtk.cc b/ui/gtk/select_file_dialog_linux_gtk.cc
    -index 9e3390fd0cff2b2c13bb82b8f49d5eb7da8bfa53..80596323da3ffc8779bd9b9ac3bd05dabb47aaa2 100644
    +index 9e3390fd0cff2b2c13bb82b8f49d5eb7da8bfa53..c6a575e9185de46c76257b57d870ebebbf990445 100644
     --- a/ui/gtk/select_file_dialog_linux_gtk.cc
     +++ b/ui/gtk/select_file_dialog_linux_gtk.cc
     @@ -275,8 +275,12 @@ void SelectFileDialogLinuxGtk::SelectFileImpl(
    @@ -48,15 +47,7 @@ index 9e3390fd0cff2b2c13bb82b8f49d5eb7da8bfa53..80596323da3ffc8779bd9b9ac3bd05da
        SetGtkTransientForAura(dialog, parent, platform_);
        AddFilters(GTK_FILE_CHOOSER(dialog));
      
    -@@ -441,6 +447,7 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateFileOpenHelper(
    -     GtkFileChooserSetCurrentFolder(GTK_FILE_CHOOSER(dialog),
    -                                    *last_opened_path());
    -   }
    -+  gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), show_hidden());
    -   return dialog;
    - }
    - 
    -@@ -456,11 +463,15 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSelectFolderDialog(
    +@@ -456,11 +462,15 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSelectFolderDialog(
                  ? l10n_util::GetStringUTF8(IDS_SELECT_UPLOAD_FOLDER_DIALOG_TITLE)
                  : l10n_util::GetStringUTF8(IDS_SELECT_FOLDER_DIALOG_TITLE);
        }
    @@ -77,17 +68,16 @@ index 9e3390fd0cff2b2c13bb82b8f49d5eb7da8bfa53..80596323da3ffc8779bd9b9ac3bd05da
      
        GtkWidget* dialog = GtkFileChooserDialogNew(
            title_string.c_str(), nullptr, GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
    -@@ -482,7 +493,8 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSelectFolderDialog(
    +@@ -482,7 +492,7 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSelectFolderDialog(
        gtk_file_filter_add_mime_type(only_folders, "inode/directory");
        gtk_file_filter_add_mime_type(only_folders, "text/directory");
        gtk_file_chooser_add_filter(chooser, only_folders);
     -  gtk_file_chooser_set_select_multiple(chooser, FALSE);
     +  gtk_file_chooser_set_select_multiple(chooser, allow_multiple_selection());
    -+  gtk_file_chooser_set_show_hidden(chooser, show_hidden());
        return dialog;
      }
      
    -@@ -519,10 +531,11 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSaveAsDialog(
    +@@ -519,10 +529,11 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSaveAsDialog(
        std::string title_string =
            !title.empty() ? title
                           : l10n_util::GetStringUTF8(IDS_SAVE_AS_DIALOG_TITLE);
    @@ -101,7 +91,7 @@ index 9e3390fd0cff2b2c13bb82b8f49d5eb7da8bfa53..80596323da3ffc8779bd9b9ac3bd05da
            kResponseTypeAccept);
        SetGtkTransientForAura(dialog, parent, platform_);
      
    -@@ -548,9 +561,10 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSaveAsDialog(
    +@@ -548,8 +559,8 @@ GtkWidget* SelectFileDialogLinuxGtk::CreateSaveAsDialog(
        gtk_file_chooser_set_select_multiple(GTK_FILE_CHOOSER(dialog), FALSE);
        // Overwrite confirmation is always enabled in GTK4.
        if (!GtkCheckVersion(4)) {
    @@ -110,11 +100,9 @@ index 9e3390fd0cff2b2c13bb82b8f49d5eb7da8bfa53..80596323da3ffc8779bd9b9ac3bd05da
     +    gtk_file_chooser_set_do_overwrite_confirmation(
     +        GTK_FILE_CHOOSER(dialog), show_overwrite_confirmation());
        }
    -+  gtk_file_chooser_set_show_hidden(GTK_FILE_CHOOSER(dialog), show_hidden());
        return dialog;
      }
    - 
    -@@ -606,15 +620,29 @@ void SelectFileDialogLinuxGtk::OnSelectSingleFolderDialogResponse(
    +@@ -606,15 +617,29 @@ void SelectFileDialogLinuxGtk::OnSelectSingleFolderDialogResponse(
      void SelectFileDialogLinuxGtk::OnSelectMultiFileDialogResponse(
          GtkWidget* dialog,
          int response_id) {
    @@ -174,10 +162,10 @@ index 454854b6571d7b000e1acaf94e529d5fde962c6f..8f7e1a633e9223b5dd3fb94787bf2218
        void OnFileChooserDestroy(GtkWidget* dialog);
      
     diff --git a/ui/shell_dialogs/select_file_dialog.h b/ui/shell_dialogs/select_file_dialog.h
    -index b0f4b3df0a4f10b306ba2d25e5fd51440a25bcd4..4ac06587203d2d2adf1390d9256e537e8cf7b21d 100644
    +index b0f4b3df0a4f10b306ba2d25e5fd51440a25bcd4..55ac02c60ee454241681dd90f7876c82532eb692 100644
     --- a/ui/shell_dialogs/select_file_dialog.h
     +++ b/ui/shell_dialogs/select_file_dialog.h
    -@@ -224,6 +224,21 @@ class SHELL_DIALOGS_EXPORT SelectFileDialog
    +@@ -224,6 +224,18 @@ class SHELL_DIALOGS_EXPORT SelectFileDialog
                        const GURL* caller = nullptr);
        bool HasMultipleFileTypeChoices();
      
    @@ -189,9 +177,6 @@ index b0f4b3df0a4f10b306ba2d25e5fd51440a25bcd4..4ac06587203d2d2adf1390d9256e537e
     +  // existing file.
     +  virtual void SetOverwriteConfirmationShown(bool is_shown) = 0;
     +
    -+  // Set whether hidden files should be shown.
    -+  virtual void SetHiddenShown(bool is_shown) = 0;
    -+
     +  // Set whether multiple file/directory selections are allowed
     +  virtual void SetMultipleSelectionsAllowed(bool is_allowed) = 0;
     +#endif
    @@ -200,10 +185,10 @@ index b0f4b3df0a4f10b306ba2d25e5fd51440a25bcd4..4ac06587203d2d2adf1390d9256e537e
        friend class base::RefCountedThreadSafe<SelectFileDialog>;
      
     diff --git a/ui/shell_dialogs/select_file_dialog_linux.cc b/ui/shell_dialogs/select_file_dialog_linux.cc
    -index 4b540a7fcdf077640e6eab0249f23ccb35a0fcb1..1ca82e8c12d2c9af09ab5facdd9753e83fcc44e4 100644
    +index 4b540a7fcdf077640e6eab0249f23ccb35a0fcb1..5b8ec04c5d612b035ff6b48063885dc6a65d193c 100644
     --- a/ui/shell_dialogs/select_file_dialog_linux.cc
     +++ b/ui/shell_dialogs/select_file_dialog_linux.cc
    -@@ -37,4 +37,17 @@ bool SelectFileDialogLinux::CallDirectoryExistsOnUIThread(
    +@@ -37,4 +37,14 @@ bool SelectFileDialogLinux::CallDirectoryExistsOnUIThread(
        return base::DirectoryExists(path);
      }
      
    @@ -213,51 +198,45 @@ index 4b540a7fcdf077640e6eab0249f23ccb35a0fcb1..1ca82e8c12d2c9af09ab5facdd9753e8
     +void SelectFileDialogLinux::SetOverwriteConfirmationShown(bool is_shown) {
     +  show_overwrite_confirmation_ = is_shown;
     +}
    -+void SelectFileDialogLinux::SetHiddenShown(bool is_shown) {
    -+  show_hidden_ = is_shown;
    -+}
     +void SelectFileDialogLinux::SetMultipleSelectionsAllowed(bool is_allowed) {
     +  allow_multiple_selection_ = is_allowed;
     +}
     +
      }  // namespace ui
     diff --git a/ui/shell_dialogs/select_file_dialog_linux.h b/ui/shell_dialogs/select_file_dialog_linux.h
    -index 61683d0eddb04c494ca5e650e7d556b44968ec49..5492456a9138b250e97a5479838bb443cafff8bb 100644
    +index 61683d0eddb04c494ca5e650e7d556b44968ec49..0e39a83664fe12dc844f433e32e44605ebaac1b1 100644
     --- a/ui/shell_dialogs/select_file_dialog_linux.h
     +++ b/ui/shell_dialogs/select_file_dialog_linux.h
    -@@ -33,6 +33,12 @@ class SHELL_DIALOGS_EXPORT SelectFileDialogLinux : public SelectFileDialog {
    +@@ -33,6 +33,11 @@ class SHELL_DIALOGS_EXPORT SelectFileDialogLinux : public SelectFileDialog {
        // BaseShellDialog implementation.
        void ListenerDestroyed() override;
      
     +  // SelectFileDialog:
     +  void SetButtonLabel(const std::string& label) override;
     +  void SetOverwriteConfirmationShown(bool is_shown) override;
    -+  void SetHiddenShown(bool is_shown) override;
     +  void SetMultipleSelectionsAllowed(bool is_allowed) override;
     +
       protected:
        explicit SelectFileDialogLinux(Listener* listener,
                                       std::unique_ptr<ui::SelectFilePolicy> policy);
    -@@ -77,6 +83,11 @@ class SHELL_DIALOGS_EXPORT SelectFileDialogLinux : public SelectFileDialog {
    +@@ -77,6 +82,10 @@ class SHELL_DIALOGS_EXPORT SelectFileDialogLinux : public SelectFileDialog {
          *last_opened_path_ = last_opened_path;
        }
      
     +  const std::string& button_label() { return button_label_; }
     +  bool show_overwrite_confirmation() { return show_overwrite_confirmation_; }
    -+  bool show_hidden() { return show_hidden_; }
     +  bool allow_multiple_selection() { return allow_multiple_selection_; }
     +
       private:
        // The file filters.
        FileTypeInfo file_types_;
    -@@ -92,6 +103,11 @@ class SHELL_DIALOGS_EXPORT SelectFileDialogLinux : public SelectFileDialog {
    +@@ -92,6 +101,10 @@ class SHELL_DIALOGS_EXPORT SelectFileDialogLinux : public SelectFileDialog {
        // file so that we can display future dialogs with the same starting path.
        static base::FilePath* last_saved_path_;
        static base::FilePath* last_opened_path_;
     +
     +  std::string button_label_;
     +  bool show_overwrite_confirmation_ = true;
    -+  bool show_hidden_ = false;
     +  bool allow_multiple_selection_ = false;
      };
      
    Full measurements from all 14 trials (JSON)
    {
      "issue": "https://github.com/microsoft/vscode/issues/107246",
      "environment": "Fedora 32 x86_64 in KVM, kernel 5.6.6-300.fc32, Nautilus 3.36.3, GTK 3.24.28, Metacity/X11. No desktop portals or GTK4 used in the test. The host desktop was not changed.",
      "method": "In a fresh profile with extensions disabled, toggle Ctrl+H in the real Nautilus window. Confirm both PUBLIC.txt and .HIDDEN.txt on screen (OCR of window capture) and check the raw dconf key /org/gtk/settings/file-chooser/show-hidden. Open a file in the same folder in VS Code, press Ctrl+O and confirm WM_CLASS, dialog type and PID. Read both the visible filenames and the stored preference before/during/after Escape, without touching visibility in the picker except for the explicit toggle controls. The simple-picker control opened the real hidden file. Current VS Code RPMs and the before/after experimental workbench use the same Insiders application resources. The two nightly builds are not released VS Code products.",
      "runtimeFix": "https://github.com/electron/electron/commit/9a5592c5e94aa4e7e2357fdca7d742112c6d3d5e",
      "originalApiRemoval": "https://github.com/electron/electron/pull/51704",
      "upstreamPR": "https://github.com/electron/electron/pull/53634",
      "upstreamBefore": "46.0.0-nightly.20260904",
      "upstreamAfter": "46.0.0-nightly.20260907",
      "upstreamNativeFixture": "Identical Electron dialog.showOpenDialog() with properties=[openFile], --gtk-version=3 and --xdg-portal-required-version=4. Code had no explicit showHiddenFiles option.",
      "workbenchControl": "Both experimental executables loaded the same unmodified Insiders app resources as the shipped control (main.js SHA256 3fd870dc7f0eb70d767b860603e992bb9cb084207a956d058c3f0d384e5aef39). Native dependency compatibility outside the tested dialog scenario is not implied.",
      "backportValidation": "Current Electron v43.8.13 native patch rebased against Chromium 150.0.7871.250. Seven Chromium preimage blobs verified, git apply --check and application of the outer and inner patches verified, preserving unrelated dialog changes. The proposed 43 backport has NOT been compiled or run; the passing binaries were upstream 46 nightlies.",
      "nightlyZipSHA256": {
        "before": "2d9df669a04b200e2856fcd4224ace1f905798493acded70ad9c329398eff40a",
        "after": "7bda2f1501786eb8527ef1449b2dcd9b48bac5bfdc4c4efe0a3d9bb8a6d206f8"
      },
      "results": {
        "electron42-on": {
          "lane": "electron42-on",
          "build": "code-1.138.0",
          "version": "1.138.0",
          "commit": "7debcd0e2acdea1c52de81bf9ee1620444407dda",
          "configuredViaNautilus": true,
          "toggleInDialog": false,
          "stages": {
            "files-before": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            },
            "dialog": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": false
            },
            "files-after": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            }
          },
          "afterLaunch": {
            "preference": true,
            "dconf": "true"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"code\", \"Code\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 12215",
          "preservedWithoutUserChange": false
        },
        "electron43-on": {
          "lane": "electron43-on",
          "build": "code-1.139.0",
          "version": "1.139.0",
          "commit": "2242ebbb54efeeb0129e08e919e7e8d43033cd83",
          "configuredViaNautilus": true,
          "toggleInDialog": false,
          "stages": {
            "files-before": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            },
            "dialog": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": false
            },
            "files-after": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            }
          },
          "afterLaunch": {
            "preference": true,
            "dconf": "true"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"code\", \"Code\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 12570",
          "preservedWithoutUserChange": false
        },
        "insiders-on": {
          "lane": "insiders-on",
          "build": "insider",
          "version": "1.149.0-insider",
          "commit": "d7885d3da4a36d9ce6e51a1ee2d4710883450396",
          "configuredViaNautilus": true,
          "toggleInDialog": false,
          "stages": {
            "files-before": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            },
            "dialog": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": false
            },
            "files-after": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            }
          },
          "afterLaunch": {
            "preference": true,
            "dconf": "true"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"code-insiders\", \"Code-insiders\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 11412",
          "preservedWithoutUserChange": false
        },
        "insiders-simple-control": {
          "lane": "insiders-simple-control",
          "build": "insider",
          "version": "1.149.0-insider",
          "commit": "d7885d3da4a36d9ce6e51a1ee2d4710883450396",
          "configuredViaNautilus": true,
          "toggleInDialog": false,
          "stages": {
            "files-before": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            },
            "files-after": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            }
          },
          "afterLaunch": {
            "preference": true,
            "dconf": "true"
          },
          "workaround": "files.simpleDialog.enable: true",
          "openedHiddenFile": ".HIDDEN.txt"
        },
        "off-control": {
          "lane": "off-control",
          "build": "insider",
          "version": "1.149.0-insider",
          "commit": "d7885d3da4a36d9ce6e51a1ee2d4710883450396",
          "configuredViaNautilus": false,
          "toggleInDialog": false,
          "stages": {
            "files-before": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            },
            "dialog": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            },
            "files-after": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            }
          },
          "afterLaunch": {
            "preference": false,
            "dconf": "false"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"code-insiders\", \"Code-insiders\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 13353",
          "preservedWithoutUserChange": true
        },
        "original-on": {
          "lane": "original-on",
          "build": "code-1.49.1",
          "version": "1.49.1",
          "commit": "58bb7b2331731bf72587010e943852e13e6fd3cf",
          "configuredViaNautilus": true,
          "toggleInDialog": false,
          "stages": {
            "files-before": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            },
            "dialog": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": false
            },
            "files-after": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            }
          },
          "afterLaunch": {
            "preference": true,
            "dconf": "true"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"code\", \"Code\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 11121",
          "preservedWithoutUserChange": false
        },
        "stable-on": {
          "lane": "stable-on",
          "build": "stable",
          "version": "1.148.0",
          "commit": "661626d0e72f97806550790a98fb87116c9db825",
          "configuredViaNautilus": true,
          "toggleInDialog": false,
          "stages": {
            "files-before": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            },
            "dialog": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": false
            },
            "files-after": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            }
          },
          "afterLaunch": {
            "preference": true,
            "dconf": "true"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"code\", \"Code\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 11856",
          "preservedWithoutUserChange": false
        },
        "toggle-control": {
          "lane": "toggle-control",
          "build": "insider",
          "version": "1.149.0-insider",
          "commit": "d7885d3da4a36d9ce6e51a1ee2d4710883450396",
          "configuredViaNautilus": false,
          "toggleInDialog": true,
          "stages": {
            "files-before": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            },
            "dialog": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            },
            "dialog-toggled": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": true
            },
            "files-after": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            }
          },
          "afterLaunch": {
            "preference": false,
            "dconf": "false"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"code-insiders\", \"Code-insiders\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 13711",
          "preservedWithoutUserChange": false
        },
        "upstream-after-off": {
          "lane": "upstream-after-off",
          "build": "after",
          "version": "46.0.0-nightly.20260907",
          "commit": null,
          "configuredViaNautilus": false,
          "toggleInDialog": false,
          "stages": {
            "files-before": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            },
            "dialog": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            },
            "files-after": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            }
          },
          "afterLaunch": {
            "preference": false,
            "dconf": "false"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"electron\", \"Electron\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 14780",
          "preservedWithoutUserChange": true
        },
        "upstream-after-toggle": {
          "lane": "upstream-after-toggle",
          "build": "after",
          "version": "46.0.0-nightly.20260907",
          "commit": null,
          "configuredViaNautilus": false,
          "toggleInDialog": true,
          "stages": {
            "files-before": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            },
            "dialog": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            },
            "dialog-toggled": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": true
            },
            "files-after": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            }
          },
          "afterLaunch": {
            "preference": false,
            "dconf": "false"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"electron\", \"Electron\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 14968",
          "preservedWithoutUserChange": false
        },
        "upstream-after": {
          "lane": "upstream-after",
          "build": "after",
          "version": "46.0.0-nightly.20260907",
          "commit": null,
          "configuredViaNautilus": true,
          "toggleInDialog": false,
          "stages": {
            "files-before": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            },
            "dialog": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            },
            "files-after": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            }
          },
          "afterLaunch": {
            "preference": true,
            "dconf": "true"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"electron\", \"Electron\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 14596",
          "preservedWithoutUserChange": true
        },
        "upstream-before": {
          "lane": "upstream-before",
          "build": "before",
          "version": "46.0.0-nightly.20260904",
          "commit": null,
          "configuredViaNautilus": true,
          "toggleInDialog": false,
          "stages": {
            "files-before": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            },
            "dialog": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": false
            },
            "files-after": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            }
          },
          "afterLaunch": {
            "preference": true,
            "dconf": "true"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"electron\", \"Electron\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 14404",
          "preservedWithoutUserChange": false
        },
        "workbench-upstream-after": {
          "lane": "workbench-upstream-after",
          "build": "wb-after",
          "version": "1.149.0-insider",
          "commit": "d7885d3da4a36d9ce6e51a1ee2d4710883450396",
          "configuredViaNautilus": true,
          "toggleInDialog": false,
          "stages": {
            "files-before": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            },
            "dialog": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            },
            "files-after": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            }
          },
          "afterLaunch": {
            "preference": true,
            "dconf": "true"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"electron\", \"Electron\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 15692",
          "preservedWithoutUserChange": true
        },
        "workbench-upstream-before": {
          "lane": "workbench-upstream-before",
          "build": "wb-before",
          "version": "1.149.0-insider",
          "commit": "d7885d3da4a36d9ce6e51a1ee2d4710883450396",
          "configuredViaNautilus": true,
          "toggleInDialog": false,
          "stages": {
            "files-before": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": true
            },
            "dialog": {
              "preference": true,
              "dconf": "true",
              "showsPublic": true,
              "showsHidden": false
            },
            "files-after": {
              "preference": false,
              "dconf": "false",
              "showsPublic": true,
              "showsHidden": false
            }
          },
          "afterLaunch": {
            "preference": true,
            "dconf": "true"
          },
          "dialogProperties": "WM_CLASS(STRING) = \"electron\", \"Electron\"\n_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG\n_NET_WM_PID(CARDINAL) = 15321",
          "preservedWithoutUserChange": false
        }
      }
    }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugconfirmedelectronlinuxnative-file-dialogupstreamupstream-issue-pendingworkbench-os-integration

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions