ramensoftware / windhawk-mods

The official collection of Windhawk mods
256 stars 50 forks source link

Enabling Taskbar Clock Customization may cause the taskbar to crash on Windows 11. #498

Open Autumn-one opened 7 months ago

Autumn-one commented 7 months ago

In the latest Windows 11 system, enabling Taskbar Clock Customization, then opening the Windows settings page, closing the settings page, and then right-clicking anywhere on the taskbar, there is a high probability of causing the taskbar to crash directly.

m417z commented 7 months ago

Can you capture a crash dump? You should be able to get it with the following steps:

Autumn-one commented 7 months ago

Can you capture a crash dump? You should be able to get it with the following steps:

  • Open regedit
  • Go to: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting
  • Create a key named LocalDumps
  • Create a DWORD value named DumpType with value 2
  • Trigger the crash
  • Go to the %LocalAppData%\CrashDumps folder, you should see a dump file in there

image I followed the steps to trigger the crash, but I couldn't get the specific report file.

m417z commented 7 months ago

Do you mean that after the crash, the %LocalAppData%\CrashDumps folder is still empty? An alternative way is to use ProcDump: Run procdump64.exe -mp -e explorer.exe and trigger the crash. The dump will be written to a file, the details will be printed in the ProcDump console window.

Autumn-one commented 7 months ago

Do you mean that after the crash, the %LocalAppData%\CrashDumps folder is still empty? An alternative way is to use ProcDump: Run procdump64.exe -mp -e explorer.exe and trigger the crash. The dump will be written to a file, the details will be printed in the ProcDump console window.

image Yes, the folder is always empty, and the command line tool you mentioned does not exist on my computer, so I cannot trigger the crash.

m417z commented 7 months ago

the command line tool you mentioned does not exist on my computer, so I cannot trigger the crash.

You need to download it. It can be downloaded here: https://learn.microsoft.com/en-us/sysinternals/downloads/procdump

Autumn-one commented 7 months ago

the command line tool you mentioned does not exist on my computer, so I cannot trigger the crash.

You need to download it. It can be downloaded here: https://learn.microsoft.com/en-us/sysinternals/downloads/procdump

Do I need to execute this command when the taskbar is not responding? Or do I need to end the taskbar process when the taskbar is not responding and then execute this command?

m417z commented 7 months ago

You need to run the procdump64.exe -mp -e explorer.exe command, then cause the crash with the steps you mentioned (enabling Taskbar Clock Customization, then opening the Windows settings page, closing the settings page, and then right-clicking anywhere on the taskbar).

Autumn-one commented 7 months ago

You need to run the procdump64.exe -mp -e explorer.exe command, then cause the crash with the steps you mentioned (enabling Taskbar Clock Customization, then opening the Windows settings page, closing the settings page, and then right-clicking anywhere on the taskbar).

I have followed the steps, and now my taskbar is completely unresponsive, and no matter how I click on the taskbar, it won't bring up the End Task dialog box. What should I do next?

Autumn-one commented 7 months ago

image This is the current status of the command line.

m417z commented 7 months ago

This means that there's no crash yet. Did you trigger a crash?

Autumn-one commented 7 months ago

This means that there's no crash yet. Did you trigger a crash?

https://github.com/ramensoftware/windhawk-mods/assets/26438145/90cfb4de-991d-41df-a776-7a9e060c6248

This, in my view, is a kind of crash because these operations cause my taskbar to lose any response. Continuously clicking will bring up a dialog box from the system asking if I want to end the current process. However, when I use the command to monitor the crash, no matter how I click on the taskbar, it does not cause the system to pop up the End Task dialog box. I'm not sure if the crash you mentioned and the crash I mentioned mean the same thing. The video above shows the symptoms when a crash occurs.

m417z commented 7 months ago

That's not a crash. Please try the following: open cmd, then trigger the hang, and when you see the End Task dialog, run procdump64.exe -mp explorer.exe.