Open-Shell / Open-Shell-Menu

Classic Shell Reborn.
MIT License
6.99k stars 433 forks source link

Windows Search Box cannot be typed into after installation of version 4.4.191 #1725

Open uwallo opened 1 year ago

uwallo commented 1 year ago

Describe the bug

After installing Open-Shell-Menu version 4.4.191, the Windows Search Box in the Windows Taskbar will not accept input. This was traced to the following service that is by default set to Manual (Trigger Start), no longer triggering in order to start and keep ctfmon.exe running. Win10 (21h2 and 22h2) and Win11 (21h2): Service Name: TabletInputService Display Name: Touch Keyboard and Handwriting Panel Service

Once the services are started or ctfmon.exe is launched manually, the Windows Search Box functions for input once more.- until the computer is restarted - at which point those services will not trigger yet again.

Unable to set the service to Automatic as Windows will reset the service back to Manual (Trigger Start) once more on computer restart.

Area of issue

Start menu, Taskbar, Installation/Other

To reproduce

  1. get a Win 10 21h2 or 22h2 device or Win11 21h2 device
  2. install openshell 4.4.152
  3. reboot and verify windows search box is working and TabletInputService is running as triggered
  4. allow openshell to update to 4.4.191 via the updater
  5. reboot
  6. try typing text into the windows search box in the taskbar
  7. check task manager for ctfmon.exe (it not not running)

openshell-issue

Expected behavior

Windows services default behavior to be unaffected and for the Windows Search box to be usable.

Open-Shell version

4.4.191

Windows version

Win10 (all), Win11 (21h2)

Additional context

Uninstalling 4.4.191, rebooting, starting the TabletInputService and rebooting leads to the service returning to functional. Installing Openshell 4.4.152 after this retains service triggering functionality.

image

ge0rdi commented 1 year ago

Do you have some kind of tablet? Or laptop with touch screen?

I don't have anything like that at hand. I also don't see any such service on my machines with Win10/11.

Does typing using standard keyboard work? Does typing using virtual touch keyboard work (you can enable it on taskbar in Windows Taskbar Settings)?

Do you use taskbar customizations in Open-Shell? (Settings -> Taskbar -> Customize taskbar)

Do you use any other customization software (ExplorerPatcher, ...) ?

There were many versions between .152 and .191. Could you try to install some older versions to see when the issue starts to happen? That way we could investigate code changes in given version and maybe it will help to pinpoint the issue.

uwallo commented 1 year ago

Do you have some kind of tablet? Or laptop with touch screen?

The devices affected range from our standard HP ProDesk to Z2 towers to ProBooks to several test VMs I setup to test the issue. We use OpenShell only on a few hundred machines in our enterprise as we limit it to those requiring accessibility/legacy/backward compatibility. The affected devices so far only number several dozen. Those that had gone from 4.4.152 to 4.4.191 were the only machines displaying the Windows Search box input issue, which is how we narrowed down the scope. However, it has not affected every one of those hundreds - which is a relief. All the machines are on the same update rings for windows update as well, so they should all be at the same quickfix level.

As an FYI - this affects more than just the Windows Search since Microsoft has deemed to use the same input controls for MFA/Authentication popups from things like VPN and O365.

I don't have anything like that at hand. I also don't see any such service on my machines with Win10/11.

I assure you, that service is present on all our pre-22H2 Win11 devices image It is associated with this DLL you should have on your system: c:\windows\system32\tabsvc.dll More Info: http://revertservice.com/10/tabletinputservice/

Does typing using standard keyboard work?

On the physical devices we are using a standard keyboard and it does not work

Does typing using virtual touch keyboard work (you can enable it on taskbar in Windows Taskbar Settings)?

It does not.

Do you use taskbar customizations in Open-Shell? (Settings -> Taskbar -> Customize taskbar)

We do not, the box is unchecked.

Do you use any other customization software (ExplorerPatcher, ...) ?

We do not use any other customization software.

There were many versions between .152 and .191. Could you try to install some older versions to see when the issue starts to happen? That way we could investigate code changes in given version and maybe it will help to pinpoint the issue.

I will try this as time permits. Since I'd need to exclude devices in intune from the all devices group for the winget upgrader we use for software updates to not run that openshell update at this point is going to be tough. This is also a bit weird that winget hadn't previously been pulling open-shell updates to the 4.4.152 and just started doing this at 4.4.191. image Right now I have a proactive remediation in intune that searches for the unstarted and untriggered TabletInputService and starts it and that seems to be a suitably functional workaround.

ge0rdi commented 1 year ago

I assure you, that service is present on all our pre-22H2 Win11 devices

Sorry, I have looked only on Win11 22H2 and there is no such service. But now I noticed it is named Text Input Management Service there. On Win10 22H2 I can see the service you have described.

Though weird thing that even admin cannot stop it (just disable).

In any case Open-Shell doesn't do any changes to services. So if you've had such service enabled and running before then upgrading Open-Shell wouldn't change that. Of course using official installers here from Github.

This is also a bit weird that winget hadn't previously been pulling open-shell updates to the 4.4.152 and just started doing this at 4.4.191.

We are not maintaining winget packages so I cannot comment on that.