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

Shortcut Guide opens Xbox Game Bar #595

Closed
StiviiK opened this issue Oct 30, 2019 · 1 comment · Fixed by #596
Closed

Shortcut Guide opens Xbox Game Bar #595

StiviiK opened this issue Oct 30, 2019 · 1 comment · Fixed by #596
Assignees
Labels
Issue-Bug Something isn't working Product-Shortcut Guide Refers to the Shortcut Guide PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@StiviiK
Copy link

StiviiK commented Oct 30, 2019

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.418]
PowerToys version: 0.12.0
PowerToy module for which you are reporting the bug (if applicable): Shortcut Guide

This issue occurres since 0.12.0 before I couldn't observe this issue.

Steps to reproduce

Long press the Windows key, the shortcut guide opens, release the windows key and the shortcut guide closes and the xbox gamebar opens

Expected behavior

The shortcut guide opens and closes normally and does not launch xbox game bar

Actual behavior

The shortcut guide opens and closes normally and after close lauches the xbox game bar

Screenshots

ifcPpSFQSG

  1. I press and hold the windows key, shortcut guide launches, I release the windows key, the shortcut guide closes but xbox game bar opens (i did not press any other button)
  2. I press Windows + G, xbox game bar open and closes normally
@StiviiK StiviiK changed the title Shortcut Guide opens xbox gamebar Shortcut Guide opens Xbox Game Bar Oct 30, 2019
@bzoz
Copy link
Contributor

bzoz commented Oct 30, 2019

@StiviiK thanks for the report.

The issue is caused by Shortcut Guide sending fake keystrokes to prevent Start menu from appearing. Looks like the "undefined 0x07 key-code" is, in fact, the Xbox Guide button. As a workaround, you can disable this option in the game bar settings:
image

@bzoz bzoz self-assigned this Oct 30, 2019
@bzoz bzoz added Issue-Bug Something isn't working Product-Shortcut Guide Refers to the Shortcut Guide PowerToy labels Oct 30, 2019
bzoz added a commit to bzoz/PowerToys that referenced this issue Oct 30, 2019
Use reserved 0xCF virtual key-code to suppress the Start menu from
appearing instead of 0x07 which is used by the Xbox Controller for the
Xbox Guide button.

Fixes: microsoft#595
@bzoz bzoz closed this as completed in #596 Oct 31, 2019
bzoz added a commit that referenced this issue Oct 31, 2019
Use reserved 0xCF virtual key-code to suppress the Start menu from
appearing instead of 0x07 which is used by the Xbox Controller for the
Xbox Guide button.

Fixes: #595
@enricogior enricogior added the Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. label Nov 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug Something isn't working Product-Shortcut Guide Refers to the Shortcut Guide PowerToy Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants