terminal/src/tsf
Yoshiko 3f1befb06e
Fix Touch Keyboard invocation issue (#11389)
This fixes an issue that Touch Keyboard is not invoked when user taps on the PowerShell. 

Before this change, it was returning small rectangle on the right of the cursor. Touch Keyboard should be invoked by tapping anywhere inside the console.

## PR Checklist
* [ ] Closes #xxx
* [x] CLA signed. If not, go over [here](https://cla.opensource.microsoft.com/microsoft/Terminal) and sign the CLA
* [ ] Tests added/passed
* [ ] Documentation updated. If checked, please file a pull request on [our docs repo](https://github.com/MicrosoftDocs/terminal) and link it here: #xxx
* [ ] Schema updated.
* [x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

## Detailed Description of the Pull Request / Additional comments
ITfContextOwner::GetScreenExt is used to define rectangle that can invoke Touch Keyboard. 
https://docs.microsoft.com/en-us/windows/win32/api/msctf/nf-msctf-itfcontextowner-getscreenext

## Validation Steps Performed
* [x] Touch keyboard was invoked by tapping inside the Console while Hardware Keyboard was not attached.
* [x] Selecting text worked as expected without invoking touch keyboard.
* [x] Long tapping the console invoked Touch Keyboard. I would like to confirm if this is the expected behavior.
2021-10-04 14:29:56 +00:00
..
ConsoleTSF.cpp ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00
ConsoleTSF.h Fix Touch Keyboard invocation issue (#11389) 2021-10-04 14:29:56 +00:00
TfCatUtil.cpp add clang-format conf to the project, format the c++ code (#1141) 2019-06-11 13:27:09 -07:00
TfCatUtil.h add clang-format conf to the project, format the c++ code (#1141) 2019-06-11 13:27:09 -07:00
TfConvArea.cpp Replace basic_string_view<T> with span<const T> (#6921) 2020-07-15 16:40:42 +00:00
TfConvArea.h add clang-format conf to the project, format the c++ code (#1141) 2019-06-11 13:27:09 -07:00
TfCtxtComp.h Remove ATL dependencies (#676) (#719) 2019-05-21 10:32:43 -07:00
TfDispAttr.cpp Change NULL to nullptr since they are pointers (#4960) 2020-03-20 20:35:12 +00:00
TfDispAttr.h add clang-format conf to the project, format the c++ code (#1141) 2019-06-11 13:27:09 -07:00
TfEditSession.cpp Fix Korean IME to display a character being composed in conhost (#8632) 2021-01-04 21:05:24 +00:00
TfEditSession.h ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00
TfTxtevCb.cpp ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00
contsf.cpp Fix Touch Keyboard invocation issue (#11389) 2021-10-04 14:29:56 +00:00
globals.h add clang-format conf to the project, format the c++ code (#1141) 2019-06-11 13:27:09 -07:00
precomp.cpp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
precomp.h Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
sources Merged PR 6176782: [Git2Git] Get rid of dead build macros/#defines FE_IME, W32_SB, etc. 2021-06-21 10:50:52 -07:00
tsf.vcxproj ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00
tsf.vcxproj.filters ci: run spell check in CI, fix remaining issues (#4799) 2020-03-25 11:02:53 -07:00