microsoft / microsoft/PowerToys
Keyboard Manager: Insert text does not work correctly with New Outlook
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
0.98.0
### Installation method
PowerToys auto-update
### Area(s) with issue?
Keyboard Manager
### Steps to reproduce
Using the new Keyboard Manager editor, go in and create a new remapping. Set trigger to key or shortcut. Tick Allow chords. Action, set to Insert text. Added text that was needed as shown below (indluding the two carriage returns for the first two lines). Save and test.
Cheers
MadAsKiwi
Section Name Here
### ✔️ Expected Behavior
I expected the text to come out as shown in code block regardless of what editor I was using. This worked fine in almost all editors I would use on a daily basis
`
Cheers
MadAsKiwi
Section Name Here`
### ❌ Actual Behavior
When I try using this in New Outlook, I get the text, but it does not register the carriage returns. It shows up straight after the last character in the text when I execute the trigger. Example in codeblock
`Last line of text.CheersMadAsKiwiSection Name Here`
This happens both with the inline editor and when the new/reply email is in a pop-out window
### Upload Bug Report ZIP-file
[PowerToysReport_2026-03-20-10-06-24.zip](https://github.com/user-attachments/files/26128940/PowerToysReport_2026-03-20-10-06-24.zip)
### Additional Information
Windows 11 Enterprise 25H2
.net version
PSChildName Version Release
----------- ------- -------
Client 4.8.09221 533509
Full 4.8.09221 533509
Client 4.0.0.0
English (New Zealand)
User installation
Running as user, not admin.
### Other Software
New Outlook ver 1.2026.303.100
Contributor guide
Research direction
Reproduce the Keyboard Manager Insert text action with Allow chords enabled in New Outlook, testing both the inline editor and pop-out window, and compare it with other editors. Inspect the attached PowerToys bug report ZIP for relevant diagnostic details; the fix is complete when the configured carriage returns are preserved in New Outlook.
Written by the indexing model from the issue text.
Assessment
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100