In the case of dynamic background, the window tab bar flickers #23044

Closed
opened 2026-01-31 08:30:44 +00:00 by claunia · 3 comments
Owner

Originally created by @sirius-fan on GitHub (Mar 22, 2025).

Windows Terminal version

1.22.10731.0

Windows build number

No response

Other Software

powershell 7 ?
This problem has little to do with the shell. Both PowerShell and WSL can reproduce it.

Steps to reproduce

As the title says, the window tab bar flashes in the case of dynamic background.
I'm not sure if the problem only occurs with dynamic backgrounds, but I can reproduce it with a dynamic background.
This dynamic background can be a playing video, a real-time statistics report, or a scrolling browser banner ad.
It looks like the window is switching between focus and non-focus quickly.

Below are two videos. The first one is a screen recording from the system, which records the flickering of the window. The other one is recorded with a mobile phone, and the problem is reproduced by playing the previous video.

1:
https://github.com/user-attachments/assets/476b63f7-1119-45c5-a269-0d9e197a6c4b
(edit:It seems that the video quality has been compressed, and the flickering is no longer visible. The original video is here
the first one.zip
)

2:I don't know why this video can't be uploaded, so I use a compressed package ( bugs are EVERYWHERE !!)
VID20250322.zip

The flicker frequency in the video is very low, but in actual use there are much faster flickers

Expected Behavior

NO flickering

Actual Behavior

flickering

Originally created by @sirius-fan on GitHub (Mar 22, 2025). ### Windows Terminal version 1.22.10731.0 ### Windows build number _No response_ ### Other Software powershell 7 ? This problem has little to do with the shell. Both PowerShell and WSL can reproduce it. ### Steps to reproduce As the title says, the window tab bar flashes in the case of dynamic background. I'm not sure if the problem only occurs with dynamic backgrounds, but I can reproduce it with a dynamic background. This dynamic background can be a playing video, a real-time statistics report, or a scrolling browser banner ad. It looks like the window is switching between focus and non-focus quickly. Below are two videos. The first one is a screen recording from the system, which records the flickering of the window. The other one is recorded with a mobile phone, and the problem is reproduced by playing the previous video. 1: https://github.com/user-attachments/assets/476b63f7-1119-45c5-a269-0d9e197a6c4b (edit:It seems that the video quality has been compressed, and the flickering is no longer visible. The original video is here [the first one.zip](https://github.com/user-attachments/files/19399850/the.first.one.zip) ) 2:I don't know why this video can't be uploaded, so I use a compressed package ( bugs are EVERYWHERE !!) [VID20250322.zip](https://github.com/user-attachments/files/19399731/VID20250322.zip) The flicker frequency in the video is very low, but in actual use there are much faster flickers ### Expected Behavior NO flickering ### Actual Behavior flickering
claunia added the Needs-TriageIssue-BugNeeds-Author-FeedbackNo-Recent-Activity labels 2026-01-31 08:30:44 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Mar 26, 2025):

Could you share your settings.json file/?

I'm guessing you have acrylic in the titlebar enabled/?

If you do, does adding "compatibility.enableUnfocusedAcrylic": false to the global settings (i.e. next to useAcrylicInTabRow) (then rebooting the Terminal), help?

(this has shades of #16745, #16052, #14384)

@zadjii-msft commented on GitHub (Mar 26, 2025): Could you share your [settings.json file](https://github.com/microsoft/terminal/wiki/Frequently-Asked-Questions-(FAQ)#where-can-i-find-the-settings-file)/? I'm guessing you have acrylic in the titlebar enabled/? If you do, does adding `"compatibility.enableUnfocusedAcrylic": false` to the global settings (i.e. next to `useAcrylicInTabRow`) (then rebooting the Terminal), help? (this has shades of #16745, #16052, #14384)
Author
Owner

@yanus commented on GitHub (Apr 1, 2025):

Hello, I'm not the author, but am experiencing the same issue. Adding the line seems to fix the issue.
Here is my settings file:

{
    "$help": "https://aka.ms/terminal-documentation",
    "$schema": "https://aka.ms/terminal-profiles-schema",
    "actions": ...,
    "alwaysShowTabs": true,
    "copyFormatting": "none",
    "copyOnSelect": true,
    "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}",
    "firstWindowPreference": "defaultProfile",
    "focusFollowMouse": false,
    "keybindings": ...,
    "launchMode": "default",
    "newTabMenu": 
    [
        {
            "type": "remainingProfiles"
        }
    ],
    "profiles": ...,
    "schemes": ...,
    "showTabsInTitlebar": true,
    "tabSwitcherMode": "mru",
    "tabWidthMode": "equal",
    "theme": "dark",
    "themes": [],
    "useAcrylicInTabRow": true,
    "compatibility.enableUnfocusedAcrylic": false
}
@yanus commented on GitHub (Apr 1, 2025): Hello, I'm not the author, but am experiencing the same issue. Adding the line seems to fix the issue. Here is my settings file: ``` { "$help": "https://aka.ms/terminal-documentation", "$schema": "https://aka.ms/terminal-profiles-schema", "actions": ..., "alwaysShowTabs": true, "copyFormatting": "none", "copyOnSelect": true, "defaultProfile": "{574e775e-4f2a-5b96-ac1e-a2962a402336}", "firstWindowPreference": "defaultProfile", "focusFollowMouse": false, "keybindings": ..., "launchMode": "default", "newTabMenu": [ { "type": "remainingProfiles" } ], "profiles": ..., "schemes": ..., "showTabsInTitlebar": true, "tabSwitcherMode": "mru", "tabWidthMode": "equal", "theme": "dark", "themes": [], "useAcrylicInTabRow": true, "compatibility.enableUnfocusedAcrylic": false } ```
Author
Owner

@microsoft-github-policy-service[bot] commented on GitHub (Apr 5, 2025):

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.

@microsoft-github-policy-service[bot] commented on GitHub (Apr 5, 2025): This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for **4 days**. It will be closed if no further activity occurs **within 3 days of this comment**. <!-- Policy app identification https://img.shields.io/static/v1?label=PullRequestIssueManagement. -->
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23044