[PR #10876] [MERGED] Reload settings when the input method changes #28277

Open
opened 2026-01-31 09:27:27 +00:00 by claunia · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/microsoft/terminal/pull/10876
Author: @lhecker
Created: 8/5/2021
Status: Merged
Merged: 8/5/2021
Merged by: @undefined

Base: mainHead: dev/lhecker/10729-reload-locale-settings


📝 Commits (1)

  • 7976b5c Reload settings when the input method changes

📊 Changes

7 files changed (+93 additions, -28 deletions)

View changed files

📝 src/cascadia/TerminalApp/AppLogic.cpp (+4 -0)
📝 src/cascadia/TerminalApp/AppLogic.h (+11 -5)
src/cascadia/TerminalApp/LanguageProfileNotifier.cpp (+42 -0)
src/cascadia/TerminalApp/LanguageProfileNotifier.h (+21 -0)
📝 src/cascadia/TerminalApp/TerminalAppLib.vcxproj (+7 -5)
📝 src/cascadia/TerminalApp/TerminalAppLib.vcxproj.filters (+7 -18)
📝 src/cascadia/TerminalApp/pch.h (+1 -0)

📄 Description

VkKeyScanW as well as MapVirtualKeyW are used throughout
the project, but are input method sensitive functions.

Since #10666 win+sc(41) is used as the quake mode keybinding,
which is then mapped to a virtual key in order to call RegisterHotKey.
This mapping is highly dependent on the input method and the quake mode
key binding will fail to work once the input method was changed.

PR Checklist

Validation Steps Performed

  • win+` opens quake window before & after changing keyboard layout ✔️
  • keyboard layout changes while WT is minimized trigger reloaded ✔️

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/microsoft/terminal/pull/10876 **Author:** [@lhecker](https://github.com/lhecker) **Created:** 8/5/2021 **Status:** ✅ Merged **Merged:** 8/5/2021 **Merged by:** [@undefined](undefined) **Base:** `main` ← **Head:** `dev/lhecker/10729-reload-locale-settings` --- ### 📝 Commits (1) - [`7976b5c`](https://github.com/microsoft/terminal/commit/7976b5cc2914e4c2c5837d3405918b6bf801b297) Reload settings when the input method changes ### 📊 Changes **7 files changed** (+93 additions, -28 deletions) <details> <summary>View changed files</summary> 📝 `src/cascadia/TerminalApp/AppLogic.cpp` (+4 -0) 📝 `src/cascadia/TerminalApp/AppLogic.h` (+11 -5) ➕ `src/cascadia/TerminalApp/LanguageProfileNotifier.cpp` (+42 -0) ➕ `src/cascadia/TerminalApp/LanguageProfileNotifier.h` (+21 -0) 📝 `src/cascadia/TerminalApp/TerminalAppLib.vcxproj` (+7 -5) 📝 `src/cascadia/TerminalApp/TerminalAppLib.vcxproj.filters` (+7 -18) 📝 `src/cascadia/TerminalApp/pch.h` (+1 -0) </details> ### 📄 Description `VkKeyScanW` as well as `MapVirtualKeyW` are used throughout the project, but are input method sensitive functions. Since #10666 `win+sc(41)` is used as the quake mode keybinding, which is then mapped to a virtual key in order to call `RegisterHotKey`. This mapping is highly dependent on the input method and the quake mode key binding will fail to work once the input method was changed. <!-- Please review the items on the PR checklist before submitting--> ## PR Checklist * [x] Closes #10729 * [x] I work here * [ ] Tests added/passed ## Validation Steps Performed * win+` opens quake window before & after changing keyboard layout ✔️ * keyboard layout changes while WT is minimized trigger reloaded ✔️ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
claunia added the pull-request label 2026-01-31 09:27:27 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#28277