Skip to content

Delete by word does not work #77547

Closed
Closed

Description

@knopp

Control/Alt + Delete/Backspace should delete entire word, but it is currently not implemented.

Activity

  1. added
    a: text inputEntering text in a text field or keyboard related problems
    on Mar 8, 2021
  2. added
    frameworkflutter/packages/flutter repository. See also f: labels.
    p: material_uimaterial_ui package in flutter/packages
    on Mar 8, 2021
  3. HansMuller commented on Mar 8, 2021

    @HansMuller
    Contributor
  4. TahaTesser commented on Mar 9, 2021

    @TahaTesser
    Contributor

    Hi!
    This works fine on the web (maybe the browser handle it for us), doesn't work on desktop (tested on Windows and MacOS)

    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: Container(
              child: TextField(),
            ),
          ),
          floatingActionButton: FloatingActionButton(
            child: Icon(Icons.add),
            onPressed: () {},
          ),
        );
      }
    }
    code sample
    [✓] Flutter (Channel master, 2.1.0-11.0.pre.165, on macOS 11.2.2 20D80 darwin-x64, locale en-GB)
        • Flutter version 2.1.0-11.0.pre.165 at /Users/tahatesser/Code/flutter_master
        • Framework revision 698d438960 (8 hours ago), 2021-03-09 07:53:21 +0100
        • Engine revision 2441c476a6
        • Dart version 2.13.0 (build 2.13.0-116.0.dev)
    
    [✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
        • Android SDK at /Volumes/Extreme/SDK
        • Platform android-30, build-tools 30.0.3
        • ANDROID_HOME = /Volumes/Extreme/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-6915495)
        • All Android licenses accepted.
    
    [✓] Xcode - develop for iOS and macOS
        • Xcode at /Volumes/Extreme/Xcode.app/Contents/Developer
        • Xcode 12.4, Build version 12D4e
        • CocoaPods version 1.10.1
    
    [✓] Chrome - develop for the web
        • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
    
    [✓] Android Studio (version 4.1)
        • Android Studio at /Applications/Android Studio.app/Contents
        • Flutter plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/9212-flutter
        • Dart plugin can be installed from:
          🔨 https://plugins.jetbrains.com/plugin/6351-dart
        • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
    
    [✓] VS Code (version 1.54.1)
        • VS Code at /Applications/Visual Studio Code.app/Contents
        • Flutter extension version 3.20.0
    
    [✓] Connected device (3 available)
        • Taha’s iPhone (mobile) • 00008020-001059882212002E • ios            • iOS 14.4
        • macOS (desktop)        • macos                     • darwin-x64     • macOS 11.2.2 20D80 darwin-x64
        • Chrome (web)           • chrome                    • web-javascript • Google Chrome 89.0.4389.82
    
    • No issues found!

    Thank you

  5. justinmc commented on Mar 13, 2021

    @justinmc
    Contributor

    Closing as a duplicate of #57015.

  6. gspencergoog commented on Apr 2, 2021

    @gspencergoog
    Contributor

    Reopening, since this was reverted in #79674

  7. gspencergoog commented on Apr 2, 2021

    @gspencergoog
    Contributor

    Sorry, reopened wrong issue. Closing again, still a duplicate.

  8. github-actions commented on Aug 3, 2021

    @github-actions

    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.

  9. locked as resolved and limited conversation to collaborators on Aug 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

a: text inputEntering text in a text field or keyboard related problemsfound in release: 2.1Found to occur in 2.1frameworkflutter/packages/flutter repository. See also f: labels.has reproducible stepsThe issue has been confirmed reproducible and is ready to work onp: material_uimaterial_ui package in flutter/packages

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions