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

[PowerToys Awake] Not restarting after explorer crash #34716

Closed
seanmamasde opened this issue Sep 8, 2024 · 10 comments
Closed

[PowerToys Awake] Not restarting after explorer crash #34716

seanmamasde opened this issue Sep 8, 2024 · 10 comments
Assignees
Labels
Issue-Bug Something isn't working Product-Awake Issues regarding the PowerToys Awake utility Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.

Comments

@seanmamasde
Copy link

seanmamasde commented Sep 8, 2024

Microsoft PowerToys version

0.84.0

Installation method

PowerToys auto-update

Running as admin

No

Area(s) with issue?

Awake

Steps to reproduce

After explorer crashed, the icon does not reappear in the taskbar and the awake functionality is not turned on, while it's set to on in the PowerToys settings.

✔️ Expected Behavior

Should reopen Awake and keep computer awake.

❌ Actual Behavior

not reopening and not keeping computer awake.

Other Software

None

@seanmamasde seanmamasde added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Sep 8, 2024
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@seanmamasde
Copy link
Author

#21351 is closed, but the problem remains.
#34275 is similar, however I have problems after explorer crashed and restarted, not after waking up from sleep. Also the taskbar icon in my case disappeared.

@dend
Copy link
Collaborator

dend commented Sep 8, 2024

@seanmamasde can you tell me more about how explorer crashed? Was it on boot, during some other app operation, or while you were changing specific PowerToys settings?

@dend dend self-assigned this Sep 8, 2024
@dend dend added Product-Awake Issues regarding the PowerToys Awake utility and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Sep 8, 2024
@seanmamasde
Copy link
Author

No explorer crashing isn't because of PowerToys, it's me doing some other things and find it become unresponsive so I force it to quit using taskmgr and restarted using run explorer.exe. That said the Awake should still re-hook(?) onto the explorer process? I don't know how it worked under the hood, I just observed that it's no longer effective or even turned on after explorer restart. Hope this helps.

@dend
Copy link
Collaborator

dend commented Dec 5, 2024

Do you see Awake in Task Manager, and if so, if you run powercfg /requests after, do you see PowerToys.Awake.exe in the list (you can share the output here)?

@dend dend added the Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something label Dec 5, 2024
@seanmamasde
Copy link
Author

Yes it appears in the task manager, and it also shows up in the command output:

 powercfg /requests
DISPLAY:
[PROCESS] \Device\HarddiskVolume3\Program Files\PowerToys\PowerToys.Awake.exe

SYSTEM:
[PROCESS] \Device\HarddiskVolume3\Program Files\PowerToys\PowerToys.Awake.exe

AWAYMODE:
None.

EXECUTION:
None.

PERFBOOST:
None.

ACTIVELOCKSCREEN:
None.

Recently I also found out that when my explorer.exe crashed and restarted itself or I simply restarted it manually, the awake doesn't appear in the system tray automatically, but when I go into the Powertoys settings and toggle the awake thing a few times (it wouldn't reappear on the first try, usually takes 3 toggles), it would start to show up where it should be.

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Dec 5, 2024
@dend
Copy link
Collaborator

dend commented Dec 6, 2024

So it sounds like Awake disappears from the tray during explorer.exe crashes but does still run in the background. I wonder if this could be addressed by the fixes I am adding for #35250, but maybe I need to test this more with an explorer.exe restart.

@dend
Copy link
Collaborator

dend commented Dec 6, 2024

I can reliably reproduce this - the tray icon disappears after restarting explorer.exe. Investigating the root cause.

@dend
Copy link
Collaborator

dend commented Dec 6, 2024

Tracked in #36049 - this should be fixed in the newest release.

@dend dend added Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. and removed Needs-Team-Response An issue author responded so the team needs to follow up Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Dec 6, 2024
@dend
Copy link
Collaborator

dend commented Dec 16, 2024

This should be resolved with the latest release.

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-Awake Issues regarding the PowerToys Awake utility Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release.
Projects
Development

No branches or pull requests

2 participants