MixinNetwork / MixinNetwork/flutter-plugins

[desktop_drop] On web, should also handle dragging images from other browser tab

Open
#315 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
512
Forks
292
Avg merge
15h 8m
Merged PRs (30d)
7

Description

For example, I have two browser windows opened, one is my web app, another is a website full of images.
Then I drag one of the images into my web app, the onDragDone callback returns an empty list.

I have also tested the main branch, it throws the following error:
Error: Expected a value of type 'Entry', but got one of type 'Null'

Expected behavior

The dropped image should be handled without errors.

Version (please complete the following information):

  • Flutter Version: 3.16.7
  • OS: Chrome browser on MacOS
  • plugin: desktop_drop 0.4.4

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the desktop_drop behavior in a Flutter web app on Chrome for macOS using Flutter 3.16.7, dragging an image from another browser window. Compare the empty onDragDone list and the main-branch null Entry error; done means the dropped image is handled without errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
web-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.