microsoft / microsoft/PowerToys

Mouse Without Borders: Modifier key gets stuck on other PCs when toggling off "All PC mode"

Open
#49,149 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Issue-Bug Needs-Triage Product-Mouse Without Borders
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up โ€” it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.