Skip to content

[Bug]: File dialog overwrites the file manager's "Show hidden files" setting in Linux/GNOME #34706

@akilangh

Description

@akilangh

Preflight Checklist

Electron Version

17.4.7

What operating system are you using?

Ubuntu

Operating System Version

Ubuntu 20.04 ( Linux x64 5.13.0-41-generic )

What arch are you using?

x64

Last Known Working Electron version

No response

Expected Behavior

When an Electron based app presents a file open dialog, it should respect the desktop system-wide settings related to visibility of hidden files.

Actual Behavior

Try this on VS Code on GNOME:

  • Enable "Show hidden files" in Nautilus.
  • Open VS Code's file dialog (for example via Ctrl+O). The hidden files in nautilus will be hidden again

Testcase Gist URL

No response

Additional Information

There is an open bug report for VS Code on this: microsoft/vscode#107246

This issue is present in both KDE and GNOME but it affects GNOME users in a worse way because of a design decision made by GNOME. See microsoft/vscode#151153 for more info on that.

Thanks for looking into this.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions