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 standalone Tray Icon reports incorrrect time #34616

Open
Tracked by #34717
lylebrown opened this issue Sep 5, 2024 · 4 comments
Open
Tracked by #34717

PowerToys Awake standalone Tray Icon reports incorrrect time #34616

lylebrown opened this issue Sep 5, 2024 · 4 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

@lylebrown
Copy link

Microsoft PowerToys version

0.84.0

Installation method

PowerToys auto-update

Running as admin

Yes

Area(s) with issue?

Awake

Steps to reproduce

  1. Validate that Awake is turned off in the PowerToys settings.
  2. Open a terminal and navigate to the PowerToys install directory.
  3. Input the following command:
    .\PowerToys.Awake.exe --display-on true --time-limit 1800

✔️ Expected Behavior

I expect this to only keep the display and computer awake for 30 minutes. The tray icon should also reflect this when hovered.
This was the behavior prior to updating to v0.84.0.

❌ Actual Behavior

The tray icon for awake now says "[Indefinite]" when hovering over it.
However, it does appear to terminate after the specified time. So this is seemingly just a bug with the tray icon display logic.
image

Other Software

No response

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

I'm experiencing the same issue.

@lylebrown
Copy link
Author

I'm starting to believe that this isn't just an issue with the tray display. I've seen the icon well after the specified duration and my screen has remained on. It seems inconsistent, but I'm happy to run through any troubleshooting steps if needed.

@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
@dend
Copy link
Collaborator

dend commented Sep 8, 2024

Can reproduce this - thanks for the feedback. Investigating.

@dend
Copy link
Collaborator

dend commented Sep 8, 2024

Found the issue. Should be covered in #34717. The app wrongly initialized with --use-parent-pid.

@dend dend added the Resolution-Fix Committed Fix is checked in, but it might be 3-4 weeks until a release. label Sep 8, 2024
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
None yet
Development

No branches or pull requests

3 participants