Terminal: Mouse / system lag when terminal is focused

Created on 27 Nov 2019  路  12Comments  路  Source: microsoft/terminal

Windows build number: Microsoft Windows [Version 10.0.18362.476]
Windows Terminal version (if applicable): 0.7.3291.0 (but also the previous one)

Steps to reproduce

Opening the terminal (regardless of how this is done) and trying to use the system while the Terminal is focused (or moving the mouse around).

Expected behavior

Expected behavior is for the Terminal to not affect the system and work just like any other window

Actual behavior

Once the Terminal is focused, moving the mouse around is very laggy (even if the mouse is on another screen). This keeps happening until any other window is getting focused.

The system is laggy overall while the terminal is focused. But typing is _not_.

Worth to mention: I tried installing the Terminal both via the Windows Store as well as scoop. I tried using it with the default (empty) config file, I tried personalizing it. The behavior was always the same, from the moment I installed the first time the Terminal (starting with v 0.6xx and continuing into the new 0.7xxx)

Area-Performance Issue-Bug Priority-3 Product-Terminal Resolution-Duplicate

Most helpful comment

I'm not psychic I swear, #3857 just came in suggesting the same thing was responsible 馃槣

All 12 comments

Out of curiosity, are you using acrylic with the Terminal? Does the behavior go away if you disable acrylic? You'll want to edit the following two settings for your profile:

            "acrylicOpacity" : 0.85,
            "useAcrylic" : true

@zadjii-msft You are correct! Setting "useAcrylic" : false fixed the problem. (I guess removing the property altogether has the same effect).

Is there like a list of parameters to be used for optimal usage (so that I avoid similar issues in the future)?

There isn't such a list. Sorry!

This is likely among the reasons that the platform team keeps warning us about using acrylic on large surfaces. :smile:

@zadjii-msft Can I re-open this? The issue still persists, the only difference is that now behavior disappears if I focus out of the terminal and back on it.

The only changes I made in profiles.json are the following:

    "profiles":
    [
        { 
         "guid" : "{14ad203f-52cc-4110-90d6-d96e0f41b64d}", 
            "name" : "Git Bash", 
            "commandline" : "C:/Program Files/Git/bin/bash.exe --login", 
            "hidden": false,
            "startingDirectory" : "d:/Projects/GosuGamers/development-environment/environments",
            "closeOnExit": true,
            "colorScheme" : "MaterialOcean",
            "fontFace" : "Source Code Pro", 
            "fontSize" : 13, 
            "icon": "C:\\Program Files\\Git\\mingw64\\share\\git\\git-for-windows.ico",
            "padding" : "20, 20, 20, 20",
            "useAcrylic": false
        }
    ],

    // Add custom color schemes to this array
    "schemes": [
        {
            "name":  "MaterialOcean",
            "black":  "#546e7a",
            "red":  "#ff5370",
            "green":  "#c3e88d",
            "yellow":  "#ffcb6b",
            "blue":  "#82aaff",
            "purple":  "#c792ea",
            "cyan":  "#89ddff",
            "white":  "#ffffff",
            "brightBlack":  "#546e7a",
            "brightRed":  "#ff5370",
            "brightGreen":  "#c3e88d",
            "brightYellow":  "#ffcb6b",
            "brightBlue":  "#82aaff",
            "brightPurple":  "#c792ea",
            "brightCyan":  "#89ddff",
            "brightWhite":  "#ffffff",
            "background":  "#0f111a",
            "foreground":  "#8f93a2"
        }
    ]

@Cry0nicS Sure, if disabling acrylic didn't seem to fix your problem then there must be something else at work here.

This is curious. Would you mind sharing some more information about your system? What sort of graphics hardware have you got, what's your display size and topology, etc.?

@DHowett I have a tri-monitor setup. 2x 23" Dell (1080p) + main 27" Dell (1440p). These are powered by an nVidia RTX2080 (driver: 8.1.940.0), one SSD, and 32GB Ram.

The issue seems to be much more significant on the 27" monitor.
On the other two, smaller, monitors everything seems almost fine.

@Cry0nicS Any chance the dell monitor is at a different framerate than the other monitors?

@zadjii-msft yes it is. 144hz (compared to the 59 for the other two)

I'm not psychic I swear, #3857 just came in suggesting the same thing was responsible 馃槣

This looks like it might be a /dupe of #649. Thanks for the report!

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DHowett-MSFT picture DHowett-MSFT  路  72Comments

CobusKruger picture CobusKruger  路  60Comments

patriksvensson picture patriksvensson  路  143Comments

dhavalhirdhav picture dhavalhirdhav  路  56Comments

Paul-Weisser picture Paul-Weisser  路  71Comments