Issue with Black Triangles/Shapes in PowerShell/Windows Terminal + Oh My Posh #18266
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Windows Terminal version
1.22.3232.0
Windows build number
10.0.26100.2454
Other Software
oh-my-posh 24.11.2 (default theme, clean installation)
Steps to reproduce
Hello everyone,
I formatted my computer yesterday, and Oh-My-Posh with Windows Terminal was working perfectly before that. However, now I'm encountering rendering issues with some shapes/triangles. It seems to be an old problem that many people have experienced. I found several similar issues from the past, but so far, I haven’t found any recent ones. Just in case, I’m opening this issue in the hope that a solution might have been found after two years. Below is the reference material I studied and tried using the available solutions: #13553, #7014, #16271, #5897.
If anyone has any suggestions or insights on how to resolve this, I would greatly appreciate it. Thank you in advance for your help!
System Info
Steps to Reproduce
Install PowerShell 7.4.6 (x64) from the Microsoft website.

Install Windows Terminal Preview (or Windows Terminal) from the Microsoft Store.

Open Windows Terminal.
Install Oh My Posh from Windows Terminal:

winget install JanDeDobbeleer.OhMyPosh -s winget
Run:

code $PROFILE
Add the following line:
oh-my-posh init pwsh --config "THEME PATH" | Invoke-Expression
Restart Windows Terminal.

Change the font: Go to Settings -> Defaults -> Appearance -> Text and set the Font face to "SpaceMono Nerd Font Mono".

Reduce the background transparency: Settings -> Defaults -> Appearance -> Transparency -> Background opacity <= 80. (This setting alone triggers the bug).


Enable acrylic material: Settings -> Defaults -> Appearance -> Transparency -> Enable acrylic material = ON. (The bug persists even with this setting).


Tests
10.1 Windows Configurations
Result:
10.2 Update PSReadLine
Update-Module PSReadLine
10.3 Change Graphics API for rendering
10.4 Virtual Machine
I tested performing the same operation on a machine with the same .iso I installed, and the error persists there as well. If needed, I am more than willing to test on other versions and different .isos.
Expected Behavior
Actual Behavior
The text was updated successfully, but these errors were encountered: