microsoft/Terminal

Profile icons not displayed when initialPosition is set to a value, that opens terminal on a second monitor

开放

#14,954 创建于 2023年3月6日

 (8 条评论) (0 个反应) (0 位负责人)C++ (9,275 个派生)batch import
Area-UserInterfaceHelp WantedIssue-BugProduct-Terminal

仓库指标

星标
 (103,173 个星标)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

Windows Terminal version

1.16.10261.0

Windows build number

10.0.19044.2604

Other Software

No response

Steps to reproduce

You need two monitors. The monitor on the left ist the primary display, the right monitor is the second display.

  • reset Windows Terminal App to start with new configuration
  • edit Windows Terminal settings.json and add the following line (before the "profile" attribute):
"initialPosition": "1921,775",
  • this line should position the terminal window on the second display (first display has FullHD resolution, so 1921px should be fine, 775 is just in my case a WQHD monitor, this positioned the window exactly over the task bar)
  • restart Terminal and click on the profile-selection-button to see all profiles
  • → all default profile icons are not displayed

icons-missing

Expected Behavior

I expected to see all profile icons, even if the terminal starts on a second screen.

  • if you uncommend the "initialPosition" line, and the terminal starts on the first monitor, all icons are displayed correctly (like in the screenshot)

icons-shown

In the settings window, all icons are always diplayed correctly.

Actual Behavior

  • if the "initialPosition" is set to a value that shows the termin window on another display, thats not the primary display, the icons are not shown (except for the ones added manually as PNG)

icons-missing

贡献者指南