Windows Terminal Keyboard Focus Problem with Magnifier #18361

Closed
opened 2026-01-31 06:11:29 +00:00 by claunia · 9 comments
Owner

Originally created by @muhammedogz on GitHub (Sep 1, 2022).

Originally assigned to: @zadjii-msft on GitHub.

Windows Terminal version

1.14.2282.0

Windows build number

OS Name Microsoft Windows 11 Home Single Language
Version 10.0.22000 Build 22000

Other Software

I am using WSL2 Ubuntu

Steps to reproduce

Install windows terminal
Open windows default magnifier tool
Write something to terminal, It should follow your cursor. In some cases it is not following.
Mostly happens when changing the focus to another app and re open the termial again with alt+tab combination.

Expected Behavior

In earlier versions, there was a issue like this. Sometime focus were working sometimes not. But last preview build it is not working correctly. Alltough working fine when you use with default Ubuntu Terminal that comes with WSL2 installation.

Actual Behavior

There is no focus when typing. After changing app and re opening terminal works but not works for all the time.

Originally created by @muhammedogz on GitHub (Sep 1, 2022). Originally assigned to: @zadjii-msft on GitHub. ### Windows Terminal version 1.14.2282.0 ### Windows build number OS Name Microsoft Windows 11 Home Single Language Version 10.0.22000 Build 22000 ### Other Software I am using WSL2 Ubuntu ### Steps to reproduce Install windows terminal Open windows default magnifier tool Write something to terminal, It should follow your cursor. In some cases it is not following. Mostly happens when changing the focus to another app and re open the termial again with alt+tab combination. ### Expected Behavior In earlier versions, there was a issue like this. Sometime focus were working sometimes not. But last preview build it is not working correctly. Alltough working fine when you use with default Ubuntu Terminal that comes with WSL2 installation. ### Actual Behavior There is no focus when typing. After changing app and re opening terminal works but not works for all the time.
Author
Owner

@zadjii-msft commented on GitHub (Sep 1, 2022):

Terminal versions and OS versions are actually really helpful 😉

I'm betting this is correlated with #13388.

@zadjii-msft commented on GitHub (Sep 1, 2022): Terminal versions and OS versions are actually really helpful 😉 I'm betting this is correlated with #13388.
Author
Owner

@muhammedogz commented on GitHub (Sep 2, 2022):

Terminal versions and OS versions are actually really helpful 😉

I'm betting this is correlated with #13388.

Yes you are right :)
I added reqired information.

@muhammedogz commented on GitHub (Sep 2, 2022): > Terminal versions and OS versions are actually really helpful 😉 > > I'm betting this is correlated with #13388. Yes you are right :) I added reqired information.
Author
Owner

@RandomDSdevel commented on GitHub (Oct 20, 2022):

     I'm also seeing this on:

OS version: Windows 11 Pro 22H2 (64-bit,) build 22621.675
Experience version: Windows Feature Experience Pack 1000.22634.1000.0
Windows Temrinal app version: Windows Terminal v1.15.2875.0

in:

  • PowerShell (Microsoft Store edition) v7.2.6.0
  • A WSL 2 Gentoo Linux instance (installed manually without the Microsoft Store's help in the form of an official package.) (Linux kernel version: v5.15.68.1-microsoft-standard-WSL2)

when Magnifier's running docked at the top of the screen whether color inversion's enabled or not.

(I'd naturally be happy to provide any further debugging information you might need, including hardware specs, on request if need be.)

@RandomDSdevel commented on GitHub (Oct 20, 2022):      I'm also seeing this on: **OS version:** Windows 11 Pro 22H2 (64-bit,) build 22621.675 **Experience version:** Windows Feature Experience Pack 1000.22634.1000.0 **Windows Temrinal app version:** Windows Terminal v1.15.2875.0 in: - PowerShell (Microsoft Store edition) v7.2.6.0 - A WSL 2 Gentoo Linux instance (installed [manually](https://wiki.gentoo.org/wiki/Gentoo_in_WSL) without the Microsoft Store's help in the form of an official package.) (Linux kernel version: v5.15.68.1-microsoft-standard-WSL2) when Magnifier's running docked at the top of the screen whether color inversion's enabled or not. (I'd naturally be happy to provide any further debugging information you might need, including hardware specs, on request if need be.)
Author
Owner

@zadjii-msft commented on GitHub (Jan 12, 2023):

Hey folks who are hitting this - can I ask for some debugging help?

See: https://github.com/microsoft/terminal/issues/13388#issuecomment-1379117011

I can't repro this myself. But I do think it's related to another thread, and I've got a theoretical fix for that thread. Can I get someone in here to try the build I linked in #13388, and see if that build resolves this? It's technically an unsigned package, so you might need developer mode enabled.

Nope, that build was a dead end.

@zadjii-msft commented on GitHub (Jan 12, 2023): ~Hey folks who are hitting this - can I ask for some debugging help?~ ~See: https://github.com/microsoft/terminal/issues/13388#issuecomment-1379117011~ ~I can't repro this myself. But I do think it's related to another thread, and I've got a theoretical fix for that thread. Can I get someone in here to try the build I linked in #13388, and see if that build resolves this? It's technically an unsigned package, so you might need developer mode enabled.~ Nope, that build was a dead end.
Author
Owner

@zadjii-msft commented on GitHub (Jan 13, 2023):

Here's a couple questions:

  • What's your default profile? Is it a WSL profile by any chance?
  • What are you running in that tab where this repros? WSL, cmd.exe, pwsh?
  • Do you have Docker for Windows installed? (if so, which version?)
@zadjii-msft commented on GitHub (Jan 13, 2023): Here's a couple questions: * What's your default profile? Is it a WSL profile by any chance? * What are you running in that tab where this repros? WSL, cmd.exe, pwsh? * Do you have Docker for Windows installed? (if so, which version?)
Author
Owner

@RandomDSdevel commented on GitHub (Jan 16, 2023):

Here's a couple questions:

  • What's your default profile? Is it a WSL profile by any chance?

     My default profile's a Microsoft Store PowerShell profile. For the record, I see this issue in any of the profiles I use frequently. The profiles I use most often are that Microsoft Store PowerShell one and a partly ad-hoc WSL 2 one for a custom, non–Microsoft-Store Gentoo instance. I have other profiles, but I don't really use them. I can dump my configuration if needed on request.

  • What are you running in that tab where this repros? WSL, cmd.exe, pwsh?

     What's running is usually either PowerShell from the Microsoft Store in a PowerShell profile or WSL 2, hosting my custom Gentoo instance, in a WSL 2 profile for said instance.

  • Do you have Docker for Windows installed? (if so, which version?)

     No, I don't have Docker for Windows installed.


     I should also note that I sometimes also see the issue, with about the same frequency, even when Alt-tabbing between open programs on the same virtual desktop.

@RandomDSdevel commented on GitHub (Jan 16, 2023): > Here's a couple questions: > > * What's your default profile? Is it a WSL profile by any chance?      My default profile's a Microsoft Store PowerShell profile. For the record, I see this issue in any of the profiles I use frequently. The profiles I use most often are that Microsoft Store PowerShell one and a partly ad-hoc WSL 2 one for a custom, non–Microsoft-Store Gentoo instance. I have other profiles, but I don't really use them. I can dump my configuration if needed on request. > * What are you running in that tab where this repros? WSL, cmd.exe, pwsh?      What's running is usually either PowerShell from the Microsoft Store in a PowerShell profile or WSL 2, hosting my custom Gentoo instance, in a WSL 2 profile for said instance. > * Do you have Docker for Windows installed? (if so, which version?)      No, I don't have Docker for Windows installed. ---      I should also note that I sometimes also see the issue, with about the same frequency, even when Alt-tabbing between open programs on the _same_ virtual desktop.
Author
Owner

@zadjii-msft commented on GitHub (Oct 4, 2023):

Is this still happening on Terminal Preview v1.19/?

@zadjii-msft commented on GitHub (Oct 4, 2023): Is this still happening on [Terminal Preview v1.19](https://aka.ms/terminal-preview)/?
Author
Owner

@muhammedogz commented on GitHub (Oct 5, 2023):

I've been on Version: 1.14.2282.0 for about 5-6 months, I think.
I use it a lot in my daily routine and haven't encountered any more issues with the magnifier.
We can close this issue :)

Edit: It's the same version, although it's focusing better now.

@muhammedogz commented on GitHub (Oct 5, 2023): I've been on Version: 1.14.2282.0 for about 5-6 months, I think. I use it a lot in my daily routine and haven't encountered any more issues with the magnifier. We can close this issue :) Edit: It's the same version, although it's focusing better now.
Author
Owner

@RandomDSdevel commented on GitHub (Oct 6, 2023):

@zadjii-msft:

     I'm still seeing this issue quite frequently, actually. This is now under:

OS version: Windows 11 Pro 22H2 (64-bit,) build 22621.2361
Experience version: Windows Feature Experience Pack 1000.22674.1000.0
Windows Temrinal app version: Windows Terminal v1.17.11461.0

in:

  • PowerShell (Microsoft Store edition) v7.3.7.0
  • A WSL 2 Gentoo Linux instance (installed manually without the Microsoft Store's help in the form of an official package.) (Linux kernel version: v5.15.123.1-microsoft-standard-WSL2)
@RandomDSdevel commented on GitHub (Oct 6, 2023): @zadjii-msft:      I'm still seeing this issue quite frequently, actually. This is now under: **OS version:** Windows 11 Pro 22H2 (64-bit,) build 22621.2361 **Experience version:** Windows Feature Experience Pack 1000.22674.1000.0 **Windows Temrinal app version:** Windows Terminal v1.17.11461.0 in: - PowerShell (Microsoft Store edition) v7.3.7.0 - A WSL 2 Gentoo Linux instance (installed [manually](https://wiki.gentoo.org/wiki/Gentoo_in_WSL) without the Microsoft Store's help in the form of an official package.) (Linux kernel version: v5.15.123.1-microsoft-standard-WSL2)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18361