TSFInputControl alignment is slightly off on High DPI #7555

Closed
opened 2026-01-31 01:07:10 +00:00 by claunia · 3 comments
Owner

Originally created by @miniksa on GitHub (Apr 22, 2020).

Originally assigned to: @miniksa, @zadjii-msft, @leonMSFT on GitHub.

  • - TSFInputControl needs to account for scaling (migrie: ✔️)
    • miniksa 4/20@5:04pm, something's still a little off here cutting off the prev text and being a bit small...
    • DHowett 4/20, seems better after it's been opened and closed once, weirdly, for me

Originally posted by @miniksa in https://github.com/microsoft/terminal/pull/5345#issuecomment-614127648

Originally created by @miniksa on GitHub (Apr 22, 2020). Originally assigned to: @miniksa, @zadjii-msft, @leonMSFT on GitHub. - [ ] - `TSFInputControl` needs to account for scaling (migrie: ✔️) - miniksa 4/20@5:04pm, something's still a little off here cutting off the prev text and being a bit small... - DHowett 4/20, seems better after it's been opened and closed once, weirdly, for me _Originally posted by @miniksa in https://github.com/microsoft/terminal/pull/5345#issuecomment-614127648_
Author
Owner

@miniksa commented on GitHub (Apr 24, 2020):

image
It's a little to the left, but I just checked 0.11 (without incremental) and it's like that too.

However, resizing and moving the window cause the IME popup to go out of alignment until the cursor position changes (by deleting something in the edit line)

EDIT: Also, the covering thing I think was me talking about it being slightly left of the cursor and covering some of the previously written text. Might have also been related to the tracking because I was resizing and moving the window as well as adjusting the font size (ctrl+scroll wheel) while testing High DPI. Those sound related.

@miniksa commented on GitHub (Apr 24, 2020): ![image](https://user-images.githubusercontent.com/18221333/80260382-a6092b80-863c-11ea-8df5-905b80057b03.png) It's a little to the left, but I just checked 0.11 (without incremental) and it's like that too. However, resizing and moving the window cause the IME popup to go out of alignment until the cursor position changes (by deleting something in the edit line) EDIT: Also, the covering thing I think was me talking about it being slightly left of the cursor and covering some of the previously written text. Might have also been related to the tracking because I was resizing and moving the window as well as adjusting the font size (ctrl+scroll wheel) while testing High DPI. Those sound related.
Author
Owner

@leonMSFT commented on GitHub (Apr 24, 2020):

(just a thought, noting it down here) maybe the text box has a slight border thickness and where the ime shows up is actually at the beginning of the text box?

Edit: for whatever reason, bringing emoji IME up on a new tab will overlap the row no matter what

@leonMSFT commented on GitHub (Apr 24, 2020): (just a thought, noting it down here) maybe the text box has a slight border thickness and where the ime shows up is actually at the beginning of the text box? Edit: for whatever reason, bringing emoji IME up on a new tab will overlap the row no matter what
Author
Owner

@ghost commented on GitHub (May 5, 2020):

:tada:This issue was addressed in #5609, which has now been successfully released as Windows Terminal Release Candidate v0.11.1251.0 (1.0rc1).🎉

Handy links:

@ghost commented on GitHub (May 5, 2020): :tada:This issue was addressed in #5609, which has now been successfully released as `Windows Terminal Release Candidate v0.11.1251.0 (1.0rc1)`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v0.11.1251.0 (1.0rc1)) * [Store Download](https://www.microsoft.com/store/apps/9n0dx20hk701?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#7555