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

ROG macro key opens multiple windows of the same app. #3348

Closed
2 tasks done
StrixLake opened this issue Nov 7, 2024 · 5 comments
Closed
2 tasks done

ROG macro key opens multiple windows of the same app. #3348

StrixLake opened this issue Nov 7, 2024 · 5 comments
Labels
question Further information is requested

Comments

@StrixLake
Copy link

StrixLake commented Nov 7, 2024

Rules

  • I made myself familiar with the Readme, FAQ and Troubleshooting.
  • I understand that, if insufficient information or no app logs will be provided, my issue will be closed without an answer.

What's wrong?

I have mapped the rog key to open windows terminal from ghelper. However, sometimes as many as 10 windows open upon pressing the key only once. If I press it again, only one terminal window opens. I was able to reproduce this bug every time I press the macro key after the device wakes up from sleep.

How to reproduce the bug?

  1. Set Key bindings from GHelper of ROG key to "C:\Users{username}\AppData\Local\Microsoft\WindowsApps\wt.exe"
  2. Put the device to sleep and wake it up again.
  3. Press the ROG key.

Logs

log.txt

Device and Model

Asus Zephyrus G14 GA403UI

Additional information.

No response

Armoury Crate

Uninstalled

Asus Services

1

Version

0.197.0

OS

Windows 11 Pro 23H2

@seerge
Copy link
Owner

seerge commented Nov 7, 2024

@StrixLake hello,

In what circumstances does it happen? Cause what I see in the log, is that sometimes you seem to press a button 2 times in a row - and obviously corresponding command is being processed twice then, like

7/11/2024 1:55:40 PM: Key: 56 <---- app is notified about ROG key
7/11/2024 1:55:40 PM: Launching "C:\Windows\system32\cmd.exe" /C "C:\Users\yasha\AppData\Local\Microsoft\WindowsApps\wt.exe" <---- terminal opened
7/11/2024 1:55:40 PM: Key: 56 
7/11/2024 1:55:40 PM: Launching "C:\Windows\system32\cmd.exe" /C "C:\Users\yasha\AppData\Local\Microsoft\WindowsApps\wt.exe"

But I don't see a single time when it would be launched 10 times.

@seerge seerge added the question Further information is requested label Nov 7, 2024
@StrixLake
Copy link
Author

StrixLake commented Nov 7, 2024

Hi, the second event is because I pressed it again to see if it will open 1 window or many.
It happens at the first button press on every time the device wakes up from sleep.
recording
log.txt
I have attached a screen recording as well as the log.txt for it. I recorded it right after the device woke up from sleep. I only pressed the button once, the log.txt also only registers 1 click but 3 windows opened. Usually it's 3, but sometimes 10 or 6.

@seerge
Copy link
Owner

seerge commented Nov 7, 2024

@StrixLake ok, thanks. Can you try this build ?
GHelper.zip

@StrixLake
Copy link
Author

This fixed the issue. Thank you so much.
Though for some reason it tripped windows defender on first launch. Seems ok now.

@seerge
Copy link
Owner

seerge commented Nov 7, 2024

@StrixLake Great. Defender can be triggered on a fresh builds, cause you are literally the second person running it after me, while published releases are downloaded by like 180 0000 people atm ...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants