terminal/src/interactivity/win32
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
..
lib InteractivityWin32: Add a dependency on Dx (#5851) 2020-05-11 15:09:14 -07:00
ut_interactivity_win32 Fix UIA Word movement tests (#11253) 2021-09-22 17:50:34 +00:00
AccessibilityNotifier.cpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
AccessibilityNotifier.hpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
Clipboard.cpp PICK: Move CharToKeyEvents into InteractivityBase (GH-9106) 2021-02-10 17:13:00 -08:00
clipboard.hpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
coninteractivitywin32.rcv Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
ConsoleControl.cpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
ConsoleControl.hpp Persist inbox conhost; delegate control activities to it via a pipe (#10415) 2021-06-16 19:23:37 +00:00
ConsoleInputThread.cpp Add names to threads to make debugging a slight bit easier (#9801) 2021-04-14 10:56:52 +00:00
ConsoleInputThread.hpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
consoleKeyInfo.cpp Change NULL to nullptr since they are pointers (#4960) 2020-03-20 20:35:12 +00:00
consoleKeyInfo.hpp Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
CustomWindowMessages.h add clang-format conf to the project, format the c++ code (#1141) 2019-06-11 13:27:09 -07:00
dirs Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
find.cpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
find.h Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
icon.cpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
icon.hpp add clang-format conf to the project, format the c++ code (#1141) 2019-06-11 13:27:09 -07:00
InputServices.cpp add clang-format conf to the project, format the c++ code (#1141) 2019-06-11 13:27:09 -07:00
InputServices.hpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
menu.cpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
menu.hpp 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
res.rc Initial release of the Windows Terminal source code 2019-05-02 15:29:04 -07:00
resource.h add clang-format conf to the project, format the c++ code (#1141) 2019-06-11 13:27:09 -07:00
screenInfoUiaProvider.cpp Tie up some A11y loose threads (#6417) 2020-06-10 15:15:26 +00:00
screenInfoUiaProvider.hpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
sources.inc Merged PR 6176782: [Git2Git] Get rid of dead build macros/#defines FE_IME, W32_SB, etc. 2021-06-21 10:50:52 -07:00
SystemConfigurationProvider.cpp Initialize stack variables. check return code from shell lnk loading (#8712) 2021-01-06 12:03:45 +00:00
SystemConfigurationProvider.hpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
uiaTextRange.cpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
uiaTextRange.hpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
window.cpp Fix conhost UseDx mode (#10770) 2021-07-23 20:19:07 +02:00
window.hpp Fix restore window position when exiting fullscreen (#9737) 2021-04-13 16:33:00 +00:00
windowdpiapi.cpp Merged PR 5421982: Reflect OS build changes 2020-11-19 23:21:37 +00:00
windowdpiapi.hpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
WindowIme.cpp Fix Touch Keyboard invocation issue (#11389) 2021-10-04 14:29:56 +00:00
windowime.hpp Fix Touch Keyboard invocation issue (#11389) 2021-10-04 14:29:56 +00:00
windowio.cpp Fix the xterm and SGR mouse encodings for CTRL, ALT, SHIFT (#8379) 2020-11-30 03:45:53 +00:00
windowio.hpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
WindowMetrics.cpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
WindowMetrics.hpp Change backslashes in include statements to forward slashes (#8205) 2020-11-25 21:02:10 +00:00
windowproc.cpp Fix Touch Keyboard invocation issue (#11389) 2021-10-04 14:29:56 +00:00
windowUiaProvider.cpp Tie up some A11y loose threads (#6417) 2020-06-10 15:15:26 +00:00
windowUiaProvider.hpp Replace std::map with std::unordered_map (#6640) 2020-06-23 20:49:07 +00:00