webview(macos): dragging an image or a file into a page

Open
#1,005 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
kotlin

Research direction

Start by reading the macOS webview backend and its tests; the issue does not name their file paths. Reproduce the report by dragging an image or file onto a page drop zone, such as one in the Lab, and check whether the drop reaches the WKWebView. Done means macOS drag and drop works and the behavior is covered by a test.

Written by the indexing model from the issue text.

Description

bug macos module:webview p2

Carried over from NucleusFramework/ComposeNativeWebview#59, whose code now lives here.

Dropping an image or a file onto a page's drop zone works on Windows but was reported not to on macOS. Paste now reaches the page (⌘V works since the WKWebView subclass handles key equivalents), but nothing in the macOS backend or its tests covers drag and drop: the drop may not reach the WKWebView through the window runtime. Needs a check with a page drop zone (for example in the Lab).

Dominant language
Kotlin
Stars
393
Forks
27
Avg merge
1d 10h
Merged PRs (30d)
67

Getting set up

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.

More from NucleusFramework/Nucleus

All issues in NucleusFramework/Nucleus

Similar issues

More Kotlin issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.