Project

General

Profile

Actions

Improvements #12606

open

Allow WFileDropWidget to accept directories

Added by Matthias Van Ceulebroeck 21 days ago.

Status:
InProgress
Priority:
Normal
Assignee:
Target version:
Start date:
04/11/2024
Due date:
% Done:

0%

Estimated time:

Description

Currently when dropping files on this widget, only an actual file is accepted.
If you go through the dialog interface by clicking the widget, you are able to select multiple files.

However, none of these approaches allow for easily uploading a directory. This is essentially a short-hand for opening the directory in the dialog interface, and selecting all files.
But that only allows the direct ancestors, if you wish the upload a directory recursively, this still requires multiple clicks/selections, which can be cumbersome for a lot of files.

The widget should accept a drop of a directory, and be configurable to accept only its direct children (if they are files), or all its children recursively, meaning the contents of subdirectories as well.

No data to display

Actions

Also available in: Atom PDF