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

Option for PowerToys Awake crashes application #25334

Closed
trevordell opened this issue Apr 8, 2023 · 12 comments
Closed

Option for PowerToys Awake crashes application #25334

trevordell opened this issue Apr 8, 2023 · 12 comments
Assignees
Labels
Hot Fix Items we will product an out-of-band release for Issue-Bug Something isn't working Priority-0 Bugs that we consider release-blocking/recall-class (P0) Product-Settings The standalone PowerToys Settings application Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. Status-Reproducible This issue was reproduced by a maintainer

Comments

@trevordell
Copy link

Microsoft PowerToys version

0.69.0

Installation method

GitHub

Running as admin

No

Area(s) with issue?

Awake

Steps to reproduce

I was enabling the Awake feature, which I have used before.. But I accidentally selected the 4th option. PowerToys just instantly crashed. And it will crash every time I load the PowerToys Settings, and then select the Awake option panel on the left.

I can't tell you what the 4th option is, because it crashes on me now, and the documentation only lists 3 options:

  1. Keep using the selected power plan
  2. Keep awake indefinitely
  3. Keep awake temporarily

I believe it is a new option, as I don't remember seeing it before, so it was the 4th option that I selected. Now I can't even get to that screen to undo that change.

I attached the event log application error. (I had to rename *.xml to *.xml.txt as it would not accept the upload.)
PowerToys-application-event-error.xml.txt

✔️ Expected Behavior

I did not mean to select the 4th option, but either way, I did not expect PowerToys to crash. And then crash every time I went back to try to undo that change.

❌ Actual Behavior

PowerToys.Settings.exe abruptly crashes.

Other Software

No response

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

trevordell commented Apr 8, 2023

I have not yet uninstalled and reinstalled, as I'd hate to redo all my settings over again. If anyone in the short term has a registry key location or something along that line to undo that change for the short term, I would really appreciate that. (I can't seem to find it via searching.)

@GitGang420
Copy link

This is happening to me too. RIGHT after update

@crutkas
Copy link
Member

crutkas commented Apr 9, 2023

/reportbug

@microsoft-github-policy-service microsoft-github-policy-service bot added Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Apr 9, 2023
@microsoft-github-policy-service
Copy link
Contributor

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!
Report Bug

@crutkas
Copy link
Member

crutkas commented Apr 9, 2023

@stefansjfw this should show up in watson

@crutkas
Copy link
Member

crutkas commented Apr 9, 2023

can repro this:
image

@crutkas crutkas added Product-Settings The standalone PowerToys Settings application Status-Reproducible This issue was reproduced by a maintainer and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Apr 9, 2023
@crutkas
Copy link
Member

crutkas commented Apr 9, 2023

workaround: go to %USERPROFILE%\AppData\Local\Microsoft\PowerToys\Awake and delete settings.json

@crutkas crutkas added this to To do in 0.70 Release via automation Apr 9, 2023
@crutkas crutkas added the Priority-0 Bugs that we consider release-blocking/recall-class (P0) label Apr 9, 2023
@trevordell
Copy link
Author

trevordell commented Apr 9, 2023

Hi there!

We need a bit more information to really debug this issue. Can you add a "Report Bug" zip file here? You right click on our system tray icon and just go to report bug. Then drag the zipfile from your desktop onto the GitHub comment box in this issue. Thanks!

PowerToysReport_2023-04-09-12-20-14.zip

@jaimecbernardo jaimecbernardo added the Hot Fix Items we will product an out-of-band release for label Apr 11, 2023
@jaimecbernardo
Copy link
Collaborator

Was scratching my head on this one, since I couldn't repro at all.
Since this might have something to do with the time control, I changed my timezone to PST and now I can repro.
This seems to be caused by the value for the TimeOffset being initialized at the minimum and the UI somehow wanting to set it back a few hours to show it in Settings?
Anyway, now I can repro and will work on a fix.

@jaimecbernardo jaimecbernardo self-assigned this Apr 11, 2023
@jaimecbernardo jaimecbernardo added the Status-In progress This issue or work-item is under development label Apr 11, 2023
@GitGang420
Copy link

GitGang420 commented Apr 11, 2023 via email

@jaimecbernardo jaimecbernardo added Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. and removed Status-In progress This issue or work-item is under development labels Apr 11, 2023
@jaimecbernardo jaimecbernardo moved this from To do to Done in 0.70 Release Apr 12, 2023
@dend
Copy link
Collaborator

dend commented Apr 13, 2023

@jaimecbernardo thank you for the fix. Can you please confirm that this issue can be resolved?

@jaimecbernardo
Copy link
Collaborator

@dend, looks good: #25264 (comment)

@dend dend closed this as completed Apr 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Hot Fix Items we will product an out-of-band release for Issue-Bug Something isn't working Priority-0 Bugs that we consider release-blocking/recall-class (P0) Product-Settings The standalone PowerToys Settings application Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. Status-Reproducible This issue was reproduced by a maintainer
Projects
No open projects
Development

No branches or pull requests

5 participants