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

No keyboard input #4448

Closed
privacyguy123 opened this issue Feb 3, 2020 · 131 comments · Fixed by #8524
Closed

No keyboard input #4448

privacyguy123 opened this issue Feb 3, 2020 · 131 comments · Fixed by #8524
Labels
Area-Input Related to input processing (key presses, mouse, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Repro We can't figure out how to make this happen. Please help find a simplified repro. Priority-2 A description (P2) Product-Terminal The new Windows Terminal. Tracking-External This bug isn't resolved, but it's following an external workitem.
Milestone

Comments

@privacyguy123
Copy link

privacyguy123 commented Feb 3, 2020

You may experience an issue with Windows Terminal where keyboard input does not work. By and large, we've determined that this is caused by the "Touch Keyboard and Handwriting Service" being disabled.

If you're hitting this issue, make sure that the "Touch Keyboard and Handwriting Service" is not disabled. Certain "de-bloating" software (and apparently MSI Afterburner) likes to disable it or suppress it in the name of making your machine less understandable and "faster".

If you're experiencing an input issue that is not helped by exiting MSI Afterburner or re-enabling the "Touch Keyboard and Handwriting Service", please file a new issue.

Original issue content Latest version of Windows Terminal.

Tried clean installing multiple times, keyboard input works on everything else (as I am typing with it here ...) yes that includes powershell.exe and cmd.exe.

What gives?

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Feb 3, 2020
@zadjii-msft

This comment has been minimized.

@zadjii-msft zadjii-msft added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-Terminal The new Windows Terminal. labels Feb 3, 2020
@privacyguy123

This comment has been minimized.

@ghost ghost added Needs-Attention The core contributors need to come back around and look at this ASAP. and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Feb 3, 2020
@privacyguy123

This comment has been minimized.

@privacyguy123

This comment has been minimized.

@MCrank

This comment has been minimized.

@JoshuaJarman

This comment has been minimized.

@DHowett-MSFT

This comment has been minimized.

@DHowett-MSFT DHowett-MSFT added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Attention The core contributors need to come back around and look at this ASAP. labels Feb 24, 2020
@simmessa

This comment has been minimized.

@zadjii-msft zadjii-msft added Area-Input Related to input processing (key presses, mouse, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. labels Mar 2, 2020
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Mar 2, 2020
@JoshuaJarman

This comment has been minimized.

@feokuma

This comment has been minimized.

@bampo

This comment has been minimized.

@keithnyc

This comment has been minimized.

@YihaoPeng

This comment has been minimized.

@keithnyc

This comment has been minimized.

@dai

This comment has been minimized.

@DHowett-MSFT

This comment has been minimized.

@DHowett-MSFT DHowett-MSFT removed the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Mar 18, 2020
@korotky
Copy link

korotky commented Sep 9, 2020

On my system(Win10 x64 19041.508) running MSI Afterburner 4.6.2 beta 2 disables input in Windows terminal. Closing this app resolves problem.

@OlivierDoriath
Copy link

OlivierDoriath commented Sep 13, 2020

I confirm that I was able to prevent the bug by

  • setting TabletInputService (Touch Keyboard and Handwriting Panel Service) from Disabled to Manual;
  • setting HKLM\SOFTWARE\Microsoft\Input values back to their prior values (above); and,
  • rebooting.

Now I have yet another seeminly unnecessary service running, but Terminal is working. 🎉
Off-topic: I'd pay good money for a first-party way to slim down Windows to just the bare essentials, then add things back as needed, with ultra-fine granularity. Call it Windows 10 Modular. I used to run a 'workstationized' Windows Server for this purpose, but that's not possible these days, as I need to run a few things that are specific to non-Server Windows.
@zadjii-msft IIRC, the only UWP application I had a problem with was Terminal. The others worked.

I can confirm enabling that service completely fixes the problem, without creating any other problem. Thanks a lot @sharpjs for that find!

On a side note, this also seems to fix the emoji panel showing up but not working issue!

@UtmostCreator

This comment has been minimized.

@DHowett
Copy link
Member

DHowett commented Sep 22, 2020

No, in order to make your system work you must enable the service that everyone is talking about. Recommending that people set InputServiceEnabled to 0 in the registry is dangerous.

@UtmostCreator
Copy link

But it was a default setup, and it did not work, let me try once again.

@UtmostCreator
Copy link

UtmostCreator commented Sep 22, 2020

After I reloaded my PC, it does not work.
image

@DHowett
Copy link
Member

DHowett commented Sep 22, 2020

What is the status of the touch keyboard and handwriting service?

@UtmostCreator
Copy link

Startup type is set to "Disabled"

@DHowett
Copy link
Member

DHowett commented Sep 22, 2020

Set it to something other than disabled. That is what the last 15 comments on this thread are about.

@UtmostCreator
Copy link

Yeah, Sorry about it 😞.

Thank you so much for this. Should I delete my comments?

@DHowett
Copy link
Member

DHowett commented Sep 22, 2020

I will handle cleanup. Thank you!

@benfavre
Copy link

On my system(Win10 x64 19041.508) running MSI Afterburner 4.6.2 beta 2 disables input in Windows terminal. Closing this app resolves problem.

Same here

@LoboTormenta

This comment has been minimized.

@DHowett
Copy link
Member

DHowett commented Oct 11, 2020

@LoboTormenta This is not the repository for VSCode or Manjaro. Even though it has "Terminal" in the name, it is not the catch-all repository for filing issues on terminals in general.

@DHowett
Copy link
Member

DHowett commented Oct 11, 2020

Since this thread has run its course and has a known root cause, and people have taken to driving by to say unkind things to/about us (hi @benfavre, thank you for deleting your comment), I'm going to lock this thread.

If you're hitting this issue, make sure that the "Touch Keyboard and Handwriting Service" is not disabled. Certain "de-bloating" software (and apparently MSI Afterburner) likes to disable it or suppress it in the name of making your machine less understandable and "faster".

If you're experiencing an input issue that is not helped by exiting MSI Afterburner or re-enabling the "Touch Keyboard and Handwriting Service", please file a new issue.

@microsoft microsoft locked as resolved and limited conversation to collaborators Oct 11, 2020
@ghost ghost closed this as completed in #8524 Dec 14, 2020
ghost pushed a commit that referenced this issue Dec 14, 2020
This changes the keyboard warning from a dialog to an `InfoBar`, which
we just got in MUX 2.5. Some users were unhappy that we'd always display
the dialog. We learned from the input team that this service _should_
always be enabled. We're also learing from users that they don't always
want it enabled. 

We're working with the Input team to help us figure out how this service
can be disabled _and the Terminal work just fine_. They're confident
that it _shouldn't_. For 99% of our users, they're right. So we don't
want to get rid of the dialog entirely, we want to understand how this
is possible. While we wait, let's make the message less aggressive.

This is instead of making a `iKnowWhatImDoingDisableTheKeyboardWarning`
setting to disable the dialog. Props to @cornem for suggesting the less
aggressive solution. 

## Validation Steps Performed
Tested manually, but by forcing the message to always display. Disabling
the service requires two full reboots, and _ain't nobody got time for
that_.

Closes #8228
Closes #4448, for now
DHowett pushed a commit that referenced this issue Jan 25, 2021
This changes the keyboard warning from a dialog to an `InfoBar`, which
we just got in MUX 2.5. Some users were unhappy that we'd always display
the dialog. We learned from the input team that this service _should_
always be enabled. We're also learing from users that they don't always
want it enabled.

We're working with the Input team to help us figure out how this service
can be disabled _and the Terminal work just fine_. They're confident
that it _shouldn't_. For 99% of our users, they're right. So we don't
want to get rid of the dialog entirely, we want to understand how this
is possible. While we wait, let's make the message less aggressive.

This is instead of making a `iKnowWhatImDoingDisableTheKeyboardWarning`
setting to disable the dialog. Props to @cornem for suggesting the less
aggressive solution.

## Validation Steps Performed
Tested manually, but by forcing the message to always display. Disabling
the service requires two full reboots, and _ain't nobody got time for
that_.

Closes #8228
Closes #4448, for now

(cherry picked from commit ff5b2b8)
mpela81 pushed a commit to mpela81/terminal that referenced this issue Jan 28, 2021
This changes the keyboard warning from a dialog to an `InfoBar`, which
we just got in MUX 2.5. Some users were unhappy that we'd always display
the dialog. We learned from the input team that this service _should_
always be enabled. We're also learing from users that they don't always
want it enabled. 

We're working with the Input team to help us figure out how this service
can be disabled _and the Terminal work just fine_. They're confident
that it _shouldn't_. For 99% of our users, they're right. So we don't
want to get rid of the dialog entirely, we want to understand how this
is possible. While we wait, let's make the message less aggressive.

This is instead of making a `iKnowWhatImDoingDisableTheKeyboardWarning`
setting to disable the dialog. Props to @cornem for suggesting the less
aggressive solution. 

## Validation Steps Performed
Tested manually, but by forcing the message to always display. Disabling
the service requires two full reboots, and _ain't nobody got time for
that_.

Closes microsoft#8228
Closes microsoft#4448, for now
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Area-Input Related to input processing (key presses, mouse, etc.) Issue-Bug It either shouldn't be doing this or needs an investigation. Needs-Repro We can't figure out how to make this happen. Please help find a simplified repro. Priority-2 A description (P2) Product-Terminal The new Windows Terminal. Tracking-External This bug isn't resolved, but it's following an external workitem.
Projects
None yet
Development

Successfully merging a pull request may close this issue.