Skip to content

[Feature request] Change launch handling to allow opening in new tabs instead of new instances for different launch types #3852

@winston-de

Description

@winston-de

Is your feature request related to a problem? Please describe.

Currently, when Files is launched using command line arguments, it opens in a new instance instead of a new tab. When Files is set as the default explorer, folders opened through Search, PowerToys run, and VSCode all open in new windows instead of tabs.

Also, when Files is launched with no arguments from the start menu, it opens a new instance. This is annoying as opening a new instance is slower, and pressing other apps on the start menu such as edge open the current instance, not a new one.

Describe the solution you'd like

  • Adjust the launch event handing in Program.cs to open in a new tab when launched with CommandLineArgs.

  • Remove requirement for arguments to open in a new tab instead of instance so that launching from start opens the current instance

  • I also think the "when launching from the jump list -> open new tab / new instance" option should be changed to a universal setting for opening new windows or tabs when launched. It appears this is already the case, it's just that it's labeled oddly. I think the label should be changed to say "When opening a folder in Files".

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
I have already done the work for it and will open a PR soon. :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions