Closed Almighty188 closed 1 month ago
@Almighty188 do you still see this issue?
@Almighty188 do you still see this issue?
Not for some time.
@nguyen-dows - I was mistaken. The problem still exists.
@Almighty188 can you please upload the logs here? I don't have that specific build. Need to dig through the logs to see where the failure occurs.
@dend - Where are the logs located? I am on 22635.3500 which was installed yesterday from 22635.3495 without the problem. 22635.3430 had the problem but I can't downgrade on builds. 22635.3495 which came after 22635.3430 did not have the problem.
%HomePath%\AppData\Local\Microsoft\PowerToys\Awake\
- see the logs folder there. It also could be that there is a Windows issue of some kind that got addressed in the latest preview builds.
%HomePath%\AppData\Local\Microsoft\PowerToys\Awake\
- see the logs folder there. It also could be that there is a Windows issue of some kind that got addressed in the latest preview builds.
Which specific files do you need when this happens again? I can see we have using current file names on the system: awake-log_2024-04-27.txt 0.80.1.0 folder - Log_2024-04-27.txt
In any case, as I mentioned it happened with Windows 11 x64 Professional 23H2 Beta Insiders Build 22635.3430) (KB5036992) which according to my Windows Updates history was installed on April 9, 2024. The logs attached based on the same April 9, 2024 date and I appear to have PowerToys 0.80.0.0 installed, one thing to note is the logs might include me toggling Awake from On to Off and back to On again in PowerToys Settings Dashboard so the Awake icon shows up in Windows system tray again.
Logs.zip consists of:
1) %HomePath%\AppData\Local\Microsoft\PowerToys\Awake\Logs\awake-log_2024-04-09.txt (Dated and Modified 04/09/2024 9:45AM Pacific Time): [2024-04-09 09:28:14.233382] [p-17476] [t-17480] [info] launcher logger is initialized [2024-04-09 09:28:14.233482] [p-17476] [t-17480] [info] Launcher object is constructing [2024-04-09 09:28:18.331587] [p-17476] [t-17480] [trace] Launching PowerToys Awake process [2024-04-09 09:28:18.331678] [p-17476] [t-17480] [trace] PowerToys Awake launching with parameters: --use-pt-config --pid 17476 [2024-04-09 09:45:43.393474] [p-17476] [t-17480] [trace] Disabling Awake... [2024-04-09 09:45:43.395740] [p-17476] [t-17480] [trace] Signaled exit event for PowerToys Awake. [2024-04-09 09:45:44.582632] [p-17476] [t-17480] [trace] Launching PowerToys Awake process [2024-04-09 09:45:44.582705] [p-17476] [t-17480] [trace] PowerToys Awake launching with parameters: --use-pt-config --pid 17476
2)
%HomePath%\AppData\Local\Microsoft\PowerToys\Awake\Logs\0.80.0.0\Log_2024-04-09.txt (Dated and Modified 04/14/2024 3:14AM Pacific Time):
[09:28:23.9738372] [Info] Program::Main
Launching Awake...
[09:28:23.9821528] [Info] Program::Main
0.80.0.0
[09:28:23.9823084] [Info] Program::Main
Build: ATRIOX_04132023
[09:28:23.9840846] [Info] Program::Main
OS: Microsoft Windows NT 10.0.22635.0
[09:28:24.0722067] [Info] Program::Main
OS Build: Windows 10 Pro 23H2 22621.1.amd64fre.ni_release.220506-1250
[09:28:24.3952186] [Info] Program::Main
{}
[09:28:24.3954239] [Info] Program::Main
Parsing parameters...
[09:28:25.4276634] [Info] Program::HandleCommandLineArguments
The value for --use-pt-config is: True
[09:28:25.4282909] [Info] Program::HandleCommandLineArguments
The value for --display-on is: True
[09:28:25.4474658] [Info] Program::HandleCommandLineArguments
The value for --time-limit is: 0
[09:28:25.4481363] [Info] Program::HandleCommandLineArguments
The value for --pid is: 17476
[09:28:25.4485577] [Info] Program::HandleCommandLineArguments
The value for --expire-at is:
[09:28:26.4752205] [Info] <>cDisplayClass9_0::
--- Thanks!
Earlier today, May 13, 2024 and confirmed by Windows Updates history, Windows 11 x64 Professional 23H2 Beta Insiders Build 22635.3575 (KB5037862) was installed on May 13, 2024 as I manually restarted the system when prompted and it did update Windows. The original issue where Awake is toggled on but missing from System Tray after Windows updated has occurred again. I have PowerToys 0.80.1 installed since April 17, 2024. This time I did not go into PowerToys which is running in the Windows System Tray to toggle Awake from On to Off and back to On again in PowerToys Settings Dashboard so the Awake icon shows up in Windows system tray again.
--- this section added after the logs below - same original Windows session after Windows originally updated on May 13, 2024 ---
PowerToys shows the following dashboard with Awake enabled but Awake icon missing in Windows system tray
Disabling Awake and the Enabling Awake restored the Awake icon in Windows system tray and the newer version of the logs:
%HomePath%\AppData\Local\Microsoft\PowerToys\Awake\Logs\awake-log_2024-05-13.txt (Dated and Modified 05/13/2024 3:52PM Pacific Time): [2024-05-13 13:12:45.381540] [p-16796] [t-16800] [info] launcher logger is initialized [2024-05-13 13:12:45.381659] [p-16796] [t-16800] [info] Launcher object is constructing [2024-05-13 13:12:49.064747] [p-16796] [t-16800] [trace] Launching PowerToys Awake process [2024-05-13 13:12:49.064828] [p-16796] [t-16800] [trace] PowerToys Awake launching with parameters: --use-pt-config --pid 16796 [2024-05-13 15:51:55.182949] [p-16796] [t-16800] [trace] Disabling Awake... [2024-05-13 15:51:55.185700] [p-16796] [t-16800] [trace] Signaled exit event for PowerToys Awake. [2024-05-13 15:52:03.009747] [p-16796] [t-16800] [trace] Launching PowerToys Awake process [2024-05-13 15:52:03.009794] [p-16796] [t-16800] [trace] PowerToys Awake launching with parameters: --use-pt-config --pid 16796
%HomePath%\AppData\Local\Microsoft\PowerToys\Awake\Logs\0.80.1.0\Log_2024-05-13.txt (Dated and Modified 05/13/2024 3:52PM Pacific Time):
[13:12:51.3871737] [Info] Program::Main
Launching Awake...
[13:12:51.4025331] [Info] Program::Main
0.80.1.0
[13:12:51.4026902] [Info] Program::Main
Build: ATRIOX_04132023
[13:12:51.4037210] [Info] Program::Main
OS: Microsoft Windows NT 10.0.22635.0
[13:12:51.4962945] [Info] Program::Main
OS Build: Windows 10 Pro 23H2 22621.1.amd64fre.ni_release.220506-1250
[13:12:51.8701899] [Info] Program::Main
{}
[13:12:51.8707673] [Info] Program::Main
Parsing parameters...
[13:12:52.2065440] [Info] Program::HandleCommandLineArguments
The value for --use-pt-config is: True
[13:12:52.2071258] [Info] Program::HandleCommandLineArguments
The value for --display-on is: True
[13:12:52.2075305] [Info] Program::HandleCommandLineArguments
The value for --time-limit is: 0
[13:12:52.2078050] [Info] Program::HandleCommandLineArguments
The value for --pid is: 16796
[13:12:52.2080546] [Info] Program::HandleCommandLineArguments
The value for --expire-at is:
[13:12:52.2445733] [Info] <>cDisplayClass9_0::
--- END ---
PowerToys Awake Logs 20240513001.zip is attached and includes the following log files which would be related:
1. %HomePath%\AppData\Local\Microsoft\PowerToys\Awake\Logs\awake-log_2024-05-13.txt (Dated and Modified 05/13/2024 1:12PM Pacific Time): [2024-05-13 13:12:45.381540] [p-16796] [t-16800] [info] launcher logger is initialized [2024-05-13 13:12:45.381659] [p-16796] [t-16800] [info] Launcher object is constructing [2024-05-13 13:12:49.064747] [p-16796] [t-16800] [trace] Launching PowerToys Awake process [2024-05-13 13:12:49.064828] [p-16796] [t-16800] [trace] PowerToys Awake launching with parameters: --use-pt-config --pid 16796
%HomePath%\AppData\Local\Microsoft\PowerToys\Awake\Logs\0.80.1.0\Log_2024-05-13.txt (Dated and Modified 05/13/2024 1:12PM Pacific Time):
[13:12:51.3871737] [Info] Program::Main
Launching Awake...
[13:12:51.4025331] [Info] Program::Main
0.80.1.0
[13:12:51.4026902] [Info] Program::Main
Build: ATRIOX_04132023
[13:12:51.4037210] [Info] Program::Main
OS: Microsoft Windows NT 10.0.22635.0
[13:12:51.4962945] [Info] Program::Main
OS Build: Windows 10 Pro 23H2 22621.1.amd64fre.ni_release.220506-1250
[13:12:51.8701899] [Info] Program::Main
{}
[13:12:51.8707673] [Info] Program::Main
Parsing parameters...
[13:12:52.2065440] [Info] Program::HandleCommandLineArguments
The value for --use-pt-config is: True
[13:12:52.2071258] [Info] Program::HandleCommandLineArguments
The value for --display-on is: True
[13:12:52.2075305] [Info] Program::HandleCommandLineArguments
The value for --time-limit is: 0
[13:12:52.2078050] [Info] Program::HandleCommandLineArguments
The value for --pid is: 16796
[13:12:52.2080546] [Info] Program::HandleCommandLineArguments
The value for --expire-at is:
[13:12:52.2445733] [Info] <>c__DisplayClass9_0::
--- Thanks!
Earlier today, June 7, 2024, Windows 11 x64 Professional 23H2 Beta Insiders Build 22635.3720 (KB5039312) was installed. The original issue where Awake is toggled on but missing from System Tray after Windows updated has occurred again. I have PowerToys 0.81.1 installed since May 28, 2024. This time I did not go into PowerToys which is running in the Windows System Tray to toggle Awake from On to Off and back to On again in PowerToys Settings Dashboard so the Awake icon shows up in Windows system tray again.
Logs20240607001.zip is attached and includes the following log files which would be related:
1. %HomePath%\AppData\Local\Microsoft\PowerToys\Awake\Logs\awake-log_2024-06-07.txt (Dated and Modified 06/07/2024 8:13PM Pacific Time): [2024-06-07 20:13:02.586765] [p-10276] [t-8836] [info] launcher logger is initialized [2024-06-07 20:13:02.586866] [p-10276] [t-8836] [info] Launcher object is constructing [2024-06-07 20:13:06.505064] [p-10276] [t-8836] [trace] Launching PowerToys Awake process [2024-06-07 20:13:06.505353] [p-10276] [t-8836] [trace] PowerToys Awake launching with parameters: --use-pt-config --pid 10276
2.
%HomePath%\AppData\Local\Microsoft\PowerToys\Awake\Logs\0.81.1.0\Log_2024-06-07.txt (Dated and Modified 06/07/2024 8:13PM Pacific Time):
[20:13:10.9506214] [Info] Program::Main
Launching Awake...
[20:13:10.9957938] [Info] Program::Main
0.81.1.0
[20:13:10.9959550] [Info] Program::Main
Build: ATRIOX_04132023
[20:13:10.9971663] [Info] Program::Main
OS: Microsoft Windows NT 10.0.22635.0
[20:13:11.4926864] [Info] Program::Main
OS Build: Windows 10 Pro 23H2 22621.1.amd64fre.ni_release.220506-1250
[20:13:12.2323591] [Info] Program::Main
{}
[20:13:12.2326063] [Info] Program::Main
Parsing parameters...
[20:13:13.6665639] [Info] Program::HandleCommandLineArguments
The value for --use-pt-config is: True
[20:13:13.6674910] [Info] Program::HandleCommandLineArguments
The value for --display-on is: True
[20:13:14.0605716] [Info] Program::HandleCommandLineArguments
The value for --time-limit is: 0
[20:13:14.1569470] [Info] Program::HandleCommandLineArguments
The value for --pid is: 10276
[20:13:14.1967974] [Info] Program::HandleCommandLineArguments
The value for --expire-at is:
[20:13:14.5573613] [Info] Program::HandleCommandLineArguments
Reading configuration file: C:\Users\vince\AppData\Local\Microsoft\PowerToys\Awake\settings.json
[20:13:14.5732074] [Info] <>c__DisplayClass9_0::
I am not seeing anything in the logs that would point to an issue with the instantiation of the tray icon. @Almighty188 do you have this problem on stable versions of Windows? When you control Awake from the PowerToys control panel, do you see it taking effect?
I don't use stable versions of Windows as this is my only machine where I also run Windows 11 Canary Insiders under a Hyper-V which has nothing installed, the Power Awake icon shows up just fine but one thing I noticed is that with the version the week after the above June 7, 2024 build, I noticed this is what really happens and it's not just Microsoft PowerToys Awake icon that is missing, nVidia icon is missing as well but this is after I restart to update to the newest Windows Insiders build and it installs the updates and then login. After I reboot from that session, both PowerToys Awake Icon and the nVidia icon works appaears again. With the latest Windows Insides Beta build of July 12, 2024, both PowerToys Awake icon and the nVidia icon no longer disappears after the reboot and installing the updates and then login. So perhaps in reality, before, it was only the immediate session after Windows finishes updating after rebooting that causes the Power Awake icon to disappear and a reboot from that will have it working again.
Also, worth calling something out here - I am not testing Awake on preview versions of Windows at this time. There are way too many uncertainties there around system stabilities, so I will generally only look at issues that are reproducible on stable releases of the OS.
Closing as a no-repro. Please re-open the issue if you see it in stable versions of Windows.
Microsoft PowerToys version
0.71.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
Awake
Steps to reproduce
In Windows 11 x64 Professional 23H2 Beta Inside Build 22631.2050, in earlier Windows 11 builds, the Awake icon always shows up in the Systemtray with PowerToys icon but now does not unless I opened Power Toys settings, goto Awake and change from On to Off and back to On again where it says Enable Awake.
✔️ Expected Behavior
Awake Icon would show in Systemtray
❌ Actual Behavior
Awake Icon not showing in Systemtray
Other Software
Windows 11 x64 Professional 23H2 Beta Inside Build 22631.2050