Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TextFormField keyboard clipboard is disabled on Samsung keyboard #60593

Closed
roshaninet opened this issue Jun 30, 2020 · 15 comments
Closed

TextFormField keyboard clipboard is disabled on Samsung keyboard #60593

roshaninet opened this issue Jun 30, 2020 · 15 comments
Labels
a: text input Entering text in a text field or keyboard related problems e: device-specific Only manifests on certain devices e: samsung Issues only reproducible on Samsung devices engine flutter/engine repository. See also e: labels. f: material design flutter/packages/flutter/material repository. found in release: 1.21 Found to occur in 1.21 framework flutter/packages/flutter repository. See also f: labels. has reproducible steps The issue has been confirmed reproducible and is ready to work on P2 Important issues not at the top of the work list r: solved Issue is closed as solved team-design Owned by Design Languages team triaged-design Triaged by Design Languages team

Comments

@roshaninet
Copy link

roshaninet commented Jun 30, 2020

hi , in flutter app TextFormField multiline clipboard button on keyboard are disabled
how i can enable this feature of keyboard?

@TahaTesser
Copy link
Member

TahaTesser commented Jun 30, 2020

Hi @roshaninet
This doesn't seem to be related to Flutter, it's keyboard feature

flutter_01

There is no configuration to enable this in my code

Code Sample
import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Material App',
      theme: ThemeData.dark(),
      home: Home(),
    );
  }
}

class Home extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Material App Bar'),
      ),
      body: Center(
        child: TextFormField(
          textDirection: TextDirection.rtl,
        ),
      ),
      floatingActionButton: FloatingActionButton(
        child: Icon(Icons.add),
        onPressed: () {},
      ),
    );
  }
}

flutter doctor -v
[✓] Flutter (Channel dev, 1.20.0-2.0.pre, on Mac OS X 10.15.5 19F101, locale en-GB)
    • Flutter version 1.20.0-2.0.pre at /Users/tahatesser/Code/flutter_dev
    • Framework revision 15a28159bc (7 days ago), 2020-06-23 04:52:58 -0700
    • Engine revision 91a63d6a44
    • Dart version 2.9.0 (build 2.9.0-19.0.dev 7e72c9ae7e)

 
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
    • Android SDK at /Users/tahatesser/Code/sdk
    • Platform android-30, build-tools 30.0.0
    • ANDROID_HOME = /Users/tahatesser/Code/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.5)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.5, Build version 11E608c
    • CocoaPods version 1.9.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 47.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.46.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.12.0

[✓] Connected device (4 available)
    • SM M305F      • 32003c30dc19668f • android-arm64  • Android 10 (API 29)
    • macOS desktop • macos            • darwin-x64     • Mac OS X 10.15.5 19F101
    • Web Server    • web-server       • web-javascript • Flutter Tools
    • Chrome        • chrome           • web-javascript • Google Chrome 83.0.4103.116

• No issues found!

@TahaTesser TahaTesser added in triage Presently being triaged by the triage team waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds labels Jun 30, 2020
@HansMuller HansMuller added f: material design flutter/packages/flutter/material repository. framework flutter/packages/flutter repository. See also f: labels. labels Jun 30, 2020
@HansMuller
Copy link
Contributor

@roshaninet - is the paste button disabled after text has been copied to the clipboard?

@roshaninet
Copy link
Author

@roshaninet - is the paste button disabled after text has been copied to the clipboard?

no , its allways disabled , clipboard not work , is there any permission or role i have to add to mainfiest ?

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jun 30, 2020
@roshaninet
Copy link
Author

@roshaninet - is the paste button disabled after text has been copied to the clipboard?

paste is working well , this is clipboard button on samsung keyboards .

@TahaTesser
Copy link
Member

Hi @roshaninet
Since pasting is working, can you try clipboard button of your keyboard in a textfield in a native app? like Play store search textfield and share a screenshot

For some reason, I don't see clipboard on my Samsung keyboard and not even in the settings
flutter_01

@TahaTesser TahaTesser added the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jul 1, 2020
@mehrdad78
Copy link

do you test "Text rich"?

@roshaninet
Copy link
Author

roshaninet commented Jul 1, 2020

Hi @roshaninet
Since pasting is working, can you try clipboard button of your keyboard in a textfield in a native app? like Play store search textfield and share a screenshot

clipboard is in setting button . this problem is only in samsung keyboards . gboard work fine

@no-response no-response bot removed the waiting for customer response The Flutter team cannot make further progress on this issue until the original reporter responds label Jul 1, 2020
@roshaninet
Copy link
Author

do you test "Text rich"?

i need editor , like textarea . righttext is readonly and is only for display text with diffrent styles

@TahaTesser TahaTesser added a: text input Entering text in a text field or keyboard related problems e: device-specific Only manifests on certain devices engine flutter/engine repository. See also e: labels. and removed in triage Presently being triaged by the triage team labels Jul 1, 2020
@TahaTesser
Copy link
Member

I can't find clipboard on Galaxy M30's Samsung keybaord to reproduce this issue

@TahaTesser TahaTesser changed the title TextFormField keyboard clipboard is disabled TextFormField keyboard clipboard is disabled on Samsung keyboard Jul 1, 2020
@markusaksli-nc
Copy link
Contributor

markusaksli-nc commented Jul 20, 2020

Reproducible on the latest master 1.21.0-2.0.pre.66 with an SM G950F with Android 9 (API 28).
example

flutter doctor -v
[√] Flutter (Channel master, 1.21.0-2.0.pre.66, on Microsoft Windows [Version 10.0.18362.900], locale et-EE)
   • Flutter version 1.21.0-2.0.pre.66 at C:\Development\flutter_master
   • Framework revision 54c9441723 (3 days ago), 2020-07-17 18:56:12 -0400
   • Engine revision d327828632
   • Dart version 2.9.0 (build 2.9.0-21.0.dev 9dca49e71e)


[√] Android toolchain - develop for Android devices (Android SDK version 30.0.0)
   • Android SDK at C:\Users\Isa\AppData\Local\Android\sdk
   • Platform android-30, build-tools 30.0.0
   • Java binary at: C:\Users\Isa\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6626763\jre\bin\java
   • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
   • All Android licenses accepted.

[√] Chrome - develop for the web
   • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.6.4)
   • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
   • Visual Studio Community 2019 version 16.6.30309.148
   • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.0)
   • Android Studio at C:\Users\Isa\AppData\Local\JetBrains\Toolbox\apps\AndroidStudio\ch-0\193.6626763
   • Flutter plugin version 47.1.2
   • Dart plugin version 193.7361
   • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.47.2)
   • SM G950F (mobile)       • ce12171c51cc001c03 • android-arm64  • Android 9 (API 28)
   • sdk gphone x86 (mobile) • emulator-5554      • android-x86    • Android 11 (API 30) (emulator)
   • Windows (desktop)       • windows            • windows-x64    • Microsoft Windows [Version 10.0.18362.900]
   • Web Server (web)        • web-server         • web-javascript • Flutter Tools
   • Chrome (web)            • chrome             • web-javascript • Google Chrome 84.0.4147.89

• No issues found!

@markusaksli-nc markusaksli-nc added found in release: 1.21 Found to occur in 1.21 has reproducible steps The issue has been confirmed reproducible and is ready to work on labels Jul 20, 2020
@kf6gpe kf6gpe added the P2 Important issues not at the top of the work list label Dec 11, 2020
@M-Yahia2011
Copy link

any solution yet ?!, I reproduced the same issue on Samsung Note5.

@dmiedev
Copy link

dmiedev commented Aug 31, 2021

This is probably related to #74320

@flareso
Copy link

flareso commented Oct 11, 2021

Any news?

@maheshj01 maheshj01 added the e: samsung Issues only reproducible on Samsung devices label Aug 23, 2022
@flutter-triage-bot flutter-triage-bot bot added multiteam-retriage-candidate team-design Owned by Design Languages team triaged-design Triaged by Design Languages team labels Jul 8, 2023
@darshankawar
Copy link
Member

Verified this issue using Samsung S10 Galaxy device by running a sample code on latest stable (3.19.3) wherein the clipboard functionality worked as expected. The Clipboard button is enabled and also pastes the data from clipboard in the textfield, as shown below:

20240314_174611.mp4

Closing this issue based on above verification and no more replicable.

@darshankawar darshankawar added the r: solved Issue is closed as solved label Mar 14, 2024
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a: text input Entering text in a text field or keyboard related problems e: device-specific Only manifests on certain devices e: samsung Issues only reproducible on Samsung devices engine flutter/engine repository. See also e: labels. f: material design flutter/packages/flutter/material repository. found in release: 1.21 Found to occur in 1.21 framework flutter/packages/flutter repository. See also f: labels. has reproducible steps The issue has been confirmed reproducible and is ready to work on P2 Important issues not at the top of the work list r: solved Issue is closed as solved team-design Owned by Design Languages team triaged-design Triaged by Design Languages team
Projects
None yet
Development

No branches or pull requests