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

Numpad input issue in web build #148544

Closed
LimaneGaya opened this issue May 17, 2024 · 2 comments
Closed

Numpad input issue in web build #148544

LimaneGaya opened this issue May 17, 2024 · 2 comments
Labels
r: duplicate Issue is closed as a duplicate of an existing issue

Comments

@LimaneGaya
Copy link

Steps to reproduce

  1. Create new project
  2. Add TextField
  3. Export or run web
  4. Input numbers with numpad

Expected results

Each number to be entered

Actual results

Only 5 and 0 are correctly behaving and others behave like direction keys
"." in the numpad not working properly

Code sample

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

void main() => runApp(const MainApp());

class MainApp extends StatelessWidget {
  const MainApp({super.key});
  @override
  Widget build(BuildContext context) {
    return const MaterialApp(
      home: Scaffold(
        body: Center(
          child: TextField(),
        ),
      ),
    );
  }
}

Screenshots or Video

Screenshots / Video demonstration Expected

inputissuelinux

Result

inputissueweb

Logs

Logs
[Paste your logs here]

Flutter Doctor output

Doctor output
[✓] Flutter (Channel master, 3.22.0-36.0.pre.30, on KDE neon 6.0 6.5.0-35-generic, locale fr_FR.UTF-8)
    • Flutter version 3.22.0-36.0.pre.30 on channel master at /home/gaya/software/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision b98ffdc467 (il y a 18 heures), 2024-05-16 15:58:11 -0400
    • Engine revision 1850def2cc
    • Dart version 3.5.0 (build 3.5.0-161.0.dev)
    • DevTools version 2.36.0-dev.10

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /home/gaya/software/androidsdk/
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /home/gaya/software/androidsdk/
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-122.04.1)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1.1
    • cmake version 3.29.0
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • KDE neon 6.0 6.5.0-35-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 125.0.6422.60

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.
@talski
Copy link

talski commented May 17, 2024

same here, it detects that num lock is disabled even if it's enabled

@huycozy huycozy added the in triage Presently being triaged by the triage team label May 20, 2024
@huycozy
Copy link
Member

huycozy commented May 20, 2024

@LimaneGaya @talski I see there's an open issue addressing the case you described #148447. Closing this issue in favor of that one, so please follow up on it for further updates. Thank you!

@huycozy huycozy closed this as not planned Won't fix, can't repro, duplicate, stale May 20, 2024
@huycozy huycozy added r: duplicate Issue is closed as a duplicate of an existing issue and removed in triage Presently being triaged by the triage team labels May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
r: duplicate Issue is closed as a duplicate of an existing issue
Projects
None yet
Development

No branches or pull requests

3 participants