MixinNetwork / MixinNetwork/flutter-plugins

[pasteboard] Writefiles method incorrectly attaches the text content of the clipboard

Open
#335 0 comments 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

Pasteboard.writeFiles([imagePath]) incorrectly attaches the text content of the clipboard

Reproduce Steps

Steps to reproduce the behavior:

  1. Copy some text
  2. Call writeFiles
  3. ctrl+v

Expected behavior

  1. WriteFiles just copy file
  2. Support writeImage on windows desktop

Version (please complete the following information):

  • Flutter Version:
     Flutter 3.19.6 • channel stable • https://github.com/flutter/flutter.git
     Framework • revision 54e66469a9 (2 weeks ago) • 2024-04-17 13:08:03 -0700
     Engine • revision c4cd48e186
     Tools • Dart 3.3.4 • DevTools 2.31.1
    
  • OS: Windows 24H2(26100.268)
  • plugin: pasteboard: ^0.2.0

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

No source file or test is named. Start by reproducing the issue on Windows with pasteboard 0.2.0: copy text, call Pasteboard.writeFiles([imagePath]), and paste elsewhere. Inspect the Windows pasteboard implementation and verify that file copying no longer attaches clipboard text and that writeImage works on Windows.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 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.