Project

General

Profile

Actions

Bug #6431

closed

WFileDrop::cancelUpload does not cancel upload of the first file in the cue.

Added by Alex Ignatov almost 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
Start date:
05/31/2018
Due date:
% Done:

0%

Estimated time:

Description

If all files are cancelled in the drop event, the first file in the files vector will nevertheless be uploaded.

wt-4.0.2

To reproduce:

dropWidget = template->bindNew<Wt::WFileDropWidget>("dropFile");
dropWidget->drop().connect(this, &MyWidget::onFileDropped);

void MyWidget::onFileDropped(std::vector<Wt::WFileDropWidget::File*> vFiles) {
    for (auto f : vFiles) {
        dropWidget->cancelUpload(f);
    }
}
Actions #1

Updated by Roel Standaert almost 6 years ago

  • Status changed from New to InProgress
  • Assignee set to Korneel Dumon
Actions #2

Updated by Korneel Dumon almost 6 years ago

  • Status changed from InProgress to Implemented @Emweb
Actions #3

Updated by Roel Standaert over 5 years ago

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: Atom PDF