microsoft / PowerToys

Windows system utilities to maximize productivity
MIT License
109.72k stars 6.46k forks source link

Two Primary Mouse Button [Right] Options on computers connected through Mouse Without Borders act as double negative, causing apparent [Left] behavior in remote computer. #30714

Open HydraheadHunter opened 8 months ago

HydraheadHunter commented 8 months ago

Microsoft PowerToys version

0.76.2

Installation method

GitHub

Running as admin

None

Area(s) with issue?

Mouse Without Borders

Steps to reproduce

With two windows machines, set the [Primary Mouse Button] option under windows's mouse settings to [Right] on both machines, then link the machines using Mouse Without Borders.

✔️ Expected Behavior

The mouse's primary button on both machines should be [Right] with its secondary button being [Left], matching those computer's settings.

❌ Actual Behavior

The mouse's primary button on the host machine is [Right] with its secondary button being [Left], as expected; but on the remote machine, the mouse's primary and secondary buttons are reversed relative to the expectation:

The primary button is the [Left] button and the secondary button is the [Right] button.

Other Software

If relevant one of my machines is running windows 10, and the other is running windows 11. No response

HydraheadHunter commented 8 months ago

Some further investigation has revealed that changing the primary mouse button setting on the remote computer from [Right] to [Left] resolves the apparent issue: This changes my hypothesis for the cause of the behavior from "Mouse without borders does not respect primary mouse button on remote machine" to "Two primary mouse button options set to [Right] 'double negative' each other resulting in an apparent [Left] behavior on the remote machine."