Skip to content
This repository was archived by the owner on Jun 23, 2022. It is now read-only.
This repository was archived by the owner on Jun 23, 2022. It is now read-only.

Dragging a directory into the filetree breaks drag and drop #5

@wldevries

Description

@wldevries

When you drag a directory into the file tree nothing happens and any subsequent drag operation fails.

The problem is that the method MainWindow.CreateDirectoryPromptAsync is called from a non-UI thread which breaks the operation. This is because in FileTree.Tree_Drop the add file or directory operations is run on a spawned task instead of on the UI thread.

Metadata

Metadata

Assignees

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