microsoft/Terminal

Using Windows+Shift+(arrow key) to move Terminal between monitors with different scaling ratios causes incorrect resize of the window

Open

#6,210 创建于 2020年5月26日

在 GitHub 查看
 (13 评论) (1 反应) (0 负责人)C++ (3,212 fork)batch import
Area-UserInterfaceHelp WantedIssue-BugPriority-3Product-Terminal

仓库指标

Star
 (35,764 star)
PR 合并指标
 (平均合并 27天 19小时) (30 天内合并 24 个 PR)

描述

Environment

Windows build number: 10.0.18363.836
Windows Terminal version (if applicable): 1.0.1401.0

Steps to reproduce

Two monitors in the environment: One is 4K resolution, scaling ratio 200%; the other is 1080p resolution, scaling ratio 100% The 4K monitor is the default monitor.

Open Windows Terminal. It opens on the 4K monitor. Use "Windows+Shift+right arrow" to move it to the 1080p monitor.

Expected behavior

Windows Terminal should show up on the 1080p monitor with the same number of rows and columns as it had when it was on the 4K monitor. (This is what happens if you drag it over.)

Actual behavior

Windows Terminal has been sized down and has half of the rows and columns that it had before the move.

贡献者指南