flutter / flutter/flutter

[Windows 11] Paste from clipboard history is broken

Open
#143,997 12 comments 3 reactions 0 assignees View on GitHub
a: desktop a: text input e: OS-version specific found in release: 3.19 found in release: 3.20 framework has reproducible steps P2 platform-windows team-windows triaged-windows
Dominant language
Dart
Stars
179k
Forks
31.1k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

In Windows 10+, you can open your [clipboard history](https://www.microsoft.com/en-us/windows/tips/clipboard-history) using `Win + v`. This shows a popup with a list of previously copied content. Clicking on an item in this list should paste it.

*Steps to reproduce*
On a Windows 11 machine (this does not repro on Windows 10):

1. Create a simple text field
2. Open the Windows clipboard history using `Win + v`
3. Click on an item to paste it

![image](https://github.com/flutter/flutter/assets/75003816/848f2725-7b9a-4d6b-9176-7ab0f8f6c1ae)

### Expected results

The data should be pasted into the textfield

### Actual results

i'm seeing empty text field.

### Code sample

Code sample

```dart
runApp(MaterialApp(
home: Scaffold(
body: Center(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: TextFormField(),
),
),
),
));
```

### Screenshots or Video

Screenshots / Video demonstration

https://github.com/flutter/flutter/assets/75003816/2aaca933-0c6a-429d-8fa9-717dadc6732a

### Logs

Logs

```console
```

### Flutter Doctor output

Doctor output

```console
Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.19.0, on Microsoft Windows [Version 10.0.22631.3155], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.8.2)
[√] Android Studio (version 2023.1)
[√] VS Code (version 1.86.2)
[√] Connected device (3 available)
[√] Network resources

• No issues found!
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.