Skip to content

Add option to enable "Prevent Closing" (Pinned) by default #1889

@chengdd1987

Description

@chengdd1987

Feature Request

I would like to request a setting option to enable "Prevent Closing" (Pinned mode) by default when opening a preview window.

Current Behavior

Currently, users need to manually click the pin button on the toolbar to prevent the preview window from switching content when
selecting different files. This requires an extra click every time.

Proposed Solution

Add a configuration option (e.g., in settings or config file) to set Pinned = true by default when a new preview window is created.

Example setting:

True

Or a toggle in the settings UI:

  • Pinned by default - Keep preview window content fixed when switching files

Use Case

Some users prefer to keep the preview window content unchanged while browsing through files, opening new preview windows for each file
instead of reusing the same window. Having this option enabled by default would save the extra click on the pin button every time.

Additional Notes

Currently, the pin button is one-way only (cannot be unchecked once pinned), which is fine. This feature request is simply about
having the pinned state enabled automatically on window creation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions