Skip to content

Add a confirmation dialog for moving folders in the FileSystem dock #7862

@ettiSurreal

Description

@ettiSurreal

Describe the project you are working on

A simple platformer game, using a git repository to work across multiple devices.

Describe the problem or limitation you are having in your project

Currently it's very easy to accidentally move a file or a folder across the file system, which will often lead to having to search for what and where was moved, and at worst an engine crash. And there is no undo for moving files! I already had two situations where i had to discard an entire commit because i accidentally moved a large folder, which completely messed up references.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

Add a confirmation dialog for moving folders that aren't empty. Individual files are much less likely to be accidentally moved due to a misclick since dragging them on top of eachother does nothing, for that an undo function would work better.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

When trying to move a folder that isn't empty into another folder, you get a confirmation dialog, in which you can either cancel the move or confirm it.
I think there should not be a "don't show again" checkbox, as i feel like most users would think of it as a first-time warning, while this is supposed to prevent accidental moves due to misinput. Instead a way to disable it should be in editor settings if desired.

If this enhancement will not be used often, can it be worked around with a few lines of script?

I don't think it can.

Is there a reason why this should be core and not an add-on in the asset library?

Help users not cause accidental mess-ups.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions