Ticket #373 (assigned enhancement)

Opened 2 years ago

Last modified 5 months ago

async onDrop

Reported by: ilia Owned by: elazutkin
Priority: normal Milestone: 1.3
Component: DnD Version: 0.2
Severity: normal Keywords:
Cc:

Description

Currently I can neither do async drops nor indicate waiting state on drop. That's because DragManager? needs return value from onDrop.

I suggest to change it. onDrop may return

  • true => success
  • false => failure
  • null => DragManager? put into lock state (no dnd available) and wait for async request to return a value and unlock it.

Change History

Changed 2 years ago by dylan

  • component changed from Widgets to DnD
  • milestone set to 0.5

still a bug?

Changed 2 years ago by ilia

  • owner changed from anonymous to alex

No, that refers to an enhancement talk. Reassigning so alex may see.

Changed 2 years ago by ilia

  • type changed from defect to enhancement

Changed 13 months ago by elazutkin

  • status changed from new to assigned
  • owner changed from alex to elazutkin

Sounds like a simple yet useful enhancement.

Changed 13 months ago by elazutkin

Note: probably a source/target should have an additional state, something like "temporary disabled". Such nodes cannot participate in DnD operations, which should be reflected in their appearance.

Changed 12 months ago by elazutkin

  • milestone changed from 0.9 to 1.0

It is useful but rarely asked feature. I am bumping it up to 1.0 release.

Changed 9 months ago by elazutkin

  • milestone changed from 1.0 to 2.0

Changed 5 months ago by alex

  • milestone changed from 2.0 to 1.3

Milestone 2.0 deleted

Note: See TracTickets for help on using tickets.