microsoft / microsoft/terminal
Profile icons not displayed when initialPosition is set to a value, that opens terminal on a second monitor
- Dominant language
- C++
- Stars
- 105k
- Forks
- 9.6k
- Avg merge
- 3d 17h
- Merged PRs (30d)
- 29
Description
### 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):
```json
"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

### 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)

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)

Contributor guide
Research direction
Reproduce the issue with two monitors using Windows Terminal settings.json and an initialPosition value that opens the window on the secondary display. Start by tracing initialPosition handling and profile-icon loading, then verify that the default icons appear in the profile-selection button on the secondary display as they do on the primary display.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 38/100