microsoft / microsoft/PowerToys
Mouse Without Borders: Modifier key gets stuck on other PCs when toggling off "All PC mode"
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 139k
- Forks
- 8.6k
- PR merge metrics
- PR metrics pending
Description
### Microsoft PowerToys version
v0.99.1
### Installation method
Microsoft Store
### Area(s) with issue?
Mouse Without Borders
### Steps to reproduce
---
### ๐บ๐ธ ์์ด ๋ฒ์ (English)
**[Bug Report] Mouse Without Borders: Modifier keys (Shift, Ctrl, Win) get stuck on other PCs when toggling off "Control all computers at once"**
There is an issue in Mouse Without Borders where modifier keys (`Shift`, `Ctrl`, or `Windows` key) get stuck in a pressed state on connected PCs when toggling off the **"Control all computers at once"** feature using a shortcut. When the shortcut is pressed to deactivate the feature, the key-down inputs are synchronously broadcasted to all PCs. However, because the control connection terminates before the key-up (release) event can be transmitted, the other PCs recognize the modifier keys as permanently held down. This issue occurs across all types of modifier keys used in the shortcut, forcing users to manually visit the other PCs and physically press those keys again to release the stuck state.
* **Steps to Reproduce:**
1. Set a shortcut with a modifier key for 'Control all computers at once' (e.g., `Shift + Any key`).
2. Press the shortcut to activate the feature.
3. Press `Shift + Any key` again to deactivate the feature.
4. The feature turns off, but the other PCs miss the key-up event for the modifier key (`Shift`), causing it to remain virtually stuck.
---
### ๐ฐ๐ท ํ๊ตญ์ด ๋ฒ์ (Korean)
**[๋ฒ๊ทธ ๋ฆฌํฌํธ] Mouse Without Borders: '๋ชจ๋ ์ปดํจํฐ๋ฅผ ํ ๋ฒ์ ์ ์ด' ์ข ๋ฃ ์ ์กฐํฉ ํค(Shift, Ctrl, Win)๊ฐ ๋ค๋ฅธ PC์ ๋๋ฆฐ ์ฑ๋ก ์ ์ง๋๋ ํ์**
Mouse Without Borders์์ **'๋ชจ๋ ์ปดํจํฐ๋ฅผ ํ ๋ฒ์ ์ ์ด (Control all computers at once)'** ๊ธฐ๋ฅ์ ํ ๊ธ ๋ฐฉ์์ผ๋ก ์ฌ์ฉํ ๋, ์ ์ด ๋ชจ๋๋ฅผ ์ข ๋ฃํ๊ธฐ ์ํด ์ง์ ๋ ๋ฐ๋ก๊ฐ๊ธฐ ํค๋ฅผ ๋๋ฅด๋ฉด ๋ค๋ฅธ PC์์ ์กฐํฉ ํค(`Shift`, `Ctrl`, `Windows` ํค ๋ฑ)๊ฐ ๊ณ์ ๋๋ ค ์๋ ์ํ๋ก ๊ณ ์ ๋๋ ๋ฒ๊ทธ๊ฐ ์์ต๋๋ค. ์ ์ด ๋ชจ๋๊ฐ ํ์ฑํ๋ ์ํ์์ ์ข ๋ฃ ๋ฐ๋ก๊ฐ๊ธฐ ํค๋ฅผ ์ ๋ ฅํ๋ ์๊ฐ์๋ ํด๋น ํค ์ ๋ ฅ์ด ๋ค๋ฅธ ๋ชจ๋ PC์ ๋์ ์ ์ก๋๋๋ฐ, ์ ์ด ์ํ๊ฐ ํด์ ๋๋ ์์ ๊ณผ ํค ๋ฆด๋ฆฌ์ฆ(Key-up) ์ ํธ์ ์ ๋ฌ ์์ ์ด ํ์ด๋ฐ ์ ๋ง์ง ์์ ๋ฐ์ํ๋ ๊ฒ์ผ๋ก ๋ณด์ ๋๋ค. ์ด ๋๋ฌธ์ ์ด๋ค ์กฐํฉ ํค๋ฅผ ๋ฐ๋ก๊ฐ๊ธฐ ํค๋ก ์ฌ์ฉํ๋๋ผ๋ ๊ธฐ๋ฅ์ ๋ ๋๋ง๋ค ๋ค๋ฅธ PC์์ `Shift`, `Ctrl`, `Win` ๋ฑ์ ํค๊ฐ ๋๋ฆฐ ์ฑ๋ก ์ ์ง๋๋ฏ๋ก, ๋งค๋ฒ ๋ค๋ฅธ PC๋ก ์ด๋ํด ํด๋น ํค๋ฅผ ๋ฌผ๋ฆฌ์ ์ผ๋ก ๋ค์ ๋๋ฌ์ ๊ณ ์ ์ํ๋ฅผ ํ์ด์ค์ผ ํ๋ ๋ถํธํจ์ด ์์ต๋๋ค.
* **์ฌํ ๋จ๊ณ:**
1. '๋ชจ๋ ์ปดํจํฐ๋ฅผ ํ ๋ฒ์ ์ ์ด' ๋ฐ๋ก๊ฐ๊ธฐ ํค๋ฅผ ์กฐํฉ ํค ํํ๋ก ์ง์ ํฉ๋๋ค (์: `Shift + ์์์ ํค`).
2. ํด๋น ๋ฐ๋ก๊ฐ๊ธฐ ํค๋ฅผ ๋๋ฌ ๊ธฐ๋ฅ์ ํ์ฑํํฉ๋๋ค.
3. ๋ค์ ํ๋ฒ `Shift + ์์์ ํค`๋ฅผ ๋๋ฌ ๊ธฐ๋ฅ์ ๋นํ์ฑํํฉ๋๋ค.
4. ๊ธฐ๋ฅ์ ๊บผ์ง์ง๋ง, ๋ค๋ฅธ PC์์๋ ๋ง์ง๋ง์ ์
๋ ฅ๋ `Shift` ํค์ Key-up(๋ฆด๋ฆฌ์ฆ) ์ ํธ๋ฅผ ๋ฐ์ง ๋ชปํด `Shift` ํค๊ฐ ๊ณ์ ๋๋ ค ์๋ ์ํ๊ฐ ๋ฉ๋๋ค.
---
### โ๏ธ Expected Behavior
_No response_
### โ Actual Behavior
_No response_
### Upload Bug Report ZIP-file
_No response_
### Additional Information
_No response_
### Other Software
_No response_
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up โ it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Mouse Without Borders shortcut sequence described in the issue, then trace how the toggle disables control and how modifier key-down and key-up events are forwarded to connected PCs. Done means deactivating the mode no longer leaves Shift, Ctrl, or Windows keys stuck on other PCs.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100