Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide shortcut keys for the previous screen or the next screen for the mouse jump function #25069

Closed
SW-Zhaoyuqi opened this issue Mar 28, 2023 · 3 comments
Labels
Idea-Enhancement New feature or request on an existing product Product-Mouse Utilities Refers to the Mouse Utilities PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@SW-Zhaoyuqi
Copy link

Description of the new feature / enhancement

The current mouse jump function users need:

  1. press shortcut key
  2. display screens
  3. selection one screen
  4. the mouse switches to the selected screen

After providing the previous or next one, the mouse jumps directly to the previous or next screen

Scenario when this would be used?

  • Many users have adapted multiple screens for work PCs to improve productivity
  • Users need to switch between different screens frequently, this function can help users improve the efficiency of this operation

Supporting information

No response

@SW-Zhaoyuqi SW-Zhaoyuqi added the Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams label Mar 28, 2023
@stefansjfw stefansjfw added Idea-Enhancement New feature or request on an existing product Product-Mouse Utilities Refers to the Mouse Utilities PowerToy labels Mar 29, 2023
@mikeclayton
Copy link
Contributor

I've added the following changes to PR #25487:


When the preview screen is visible the following keys will now move the cursor to the center of the appropriate screen.

Key Action
Key 1-9
NumPad 1-9
Move to center of numbered screen
"P" Move to center of primary screen
Left Arrow Move to center of previous screen (wraps around screens 1..N)
Right Arrow Move to center of next screen (wraps around screens 1..N)
Home Move to center of first screen
End Move to center of last screen

@mikeclayton
Copy link
Contributor

Future work:

  • Handle more than 9 screens?
  • Show the screen numbers on the preview image when holding a key (e.g. Ctrl) when the preview image is visible (similar to "Identify" on the DIsplay Settings dialog, but show the numbers on the preview image rather than as overlays on the actual screens themselves.

mikeclayton added a commit to mikeclayton/PowerToys that referenced this issue Apr 17, 2023
mikeclayton added a commit to mikeclayton/PowerToys that referenced this issue Apr 18, 2023
jaimecbernardo pushed a commit that referenced this issue Apr 24, 2023
…cut keys(#25487)

* [Mouse Jump] - reorganise existing NativeMethods (#25482)

* Mouse Jump] - reorganise Helper classes / main form code (#25482)

* Mouse Jump] - replace use of System.Windows.Forms.Screen with Native Methods (#25482)

* Mouse Jump] - replace use of System.Windows.Forms.SystemInformation with Native Methods (#25482)

* [Mouse Jump] - replace use of System.Windows.Forms.Cursor with Native Methods (#25482)

* [Mouse Jump] - improve popup responsiveness (#25484)

* [Mouse Jump] - fixed spellchecker errors (#25484)

* [Mouse Jump] - add settings card for thumbnail size (#24564)

* [Mouse Jump] - shortcut keys to jump to centres of screens (#25069)

* [Mouse Jump] - fix spelling (#25069)

* [Mouse Jump] - fix spelling - numpad (#25069)

* [Mouse Jump] - updated "thumbnail size" settings text (#24564)
@jaimecbernardo jaimecbernardo added Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels May 15, 2023
@jaimecbernardo
Copy link
Collaborator

This has been shipped for 0.70.0. Please updated to the latest release. Thank you.

BLM16 pushed a commit to BLM16/PowerToys that referenced this issue Jun 22, 2023
…cut keys(microsoft#25487)

* [Mouse Jump] - reorganise existing NativeMethods (microsoft#25482)

* Mouse Jump] - reorganise Helper classes / main form code (microsoft#25482)

* Mouse Jump] - replace use of System.Windows.Forms.Screen with Native Methods (microsoft#25482)

* Mouse Jump] - replace use of System.Windows.Forms.SystemInformation with Native Methods (microsoft#25482)

* [Mouse Jump] - replace use of System.Windows.Forms.Cursor with Native Methods (microsoft#25482)

* [Mouse Jump] - improve popup responsiveness (microsoft#25484)

* [Mouse Jump] - fixed spellchecker errors (microsoft#25484)

* [Mouse Jump] - add settings card for thumbnail size (microsoft#24564)

* [Mouse Jump] - shortcut keys to jump to centres of screens (microsoft#25069)

* [Mouse Jump] - fix spelling (microsoft#25069)

* [Mouse Jump] - fix spelling - numpad (microsoft#25069)

* [Mouse Jump] - updated "thumbnail size" settings text (microsoft#24564)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Idea-Enhancement New feature or request on an existing product Product-Mouse Utilities Refers to the Mouse Utilities PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

No branches or pull requests

4 participants