PowerToys icon indicating copy to clipboard operation
PowerToys copied to clipboard

Settings/GUI still does not work

Open NeoCyrus opened this issue 2 years ago • 11 comments

Microsoft PowerToys version

Any over 0.61.1

Installation method

GitHub

Running as admin

Yes

Area(s) with issue?

Settings

Steps to reproduce

Simply updating to any version after 0.61.1 on Windows 10 (any version), using the Github provided exe, breaks the ability to open the settings or see any interface and adjust anything. Auto updating on 0.61.1 in the GUI doesn't work either, it simply does nothing.

I've tried every version after 0.61.1 and the result has been the same every time forcing me to uninstall the latest version and revert.

✔️ Expected Behavior

The GUI to work.

❌ Actual Behavior

The GUI is non-functional/won't appear.

Other Software

No response

NeoCyrus avatar Nov 22 '22 10:11 NeoCyrus

I think the difference for 0.62.0 for Settings was just upgrading Windows App SDK runtimes to 1.1.4. Can we please get a /bugreport from 0.64.1 after trying to open Settings and seeing it fail?

jaimecbernardo avatar Nov 22 '22 12:11 jaimecbernardo

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

ghost avatar Nov 22 '22 12:11 ghost

Here is what I believe should be the bug report file from 0.64.1. PowerToysReport_2022-11-22-05-37-02.zip

NeoCyrus avatar Nov 22 '22 12:11 NeoCyrus

@NeoCyrus , Thank you. I'm seeing we've got Event Viewer crash events in there. Can you please get a dump file like described in https://github.com/microsoft/PowerToys/issues/18725 ? Trying to see where it might be crashing. (Please read into the issue as well, in case you have GPU software that might be interfering with win app sdk) By the way, does PowerRename, Screen Ruler, File Locksmith or Hosts File Editor open correctly? Checking if it's something related to the win app sdk and those apps also use it for UI. /needinfo

jaimecbernardo avatar Nov 22 '22 12:11 jaimecbernardo

I took a look and there is no PowerToys dump file there.

The last I checked none of those things opened a GUI but I can't comment on 0.64.1 because I didn't check it in that. I'll have to reinstall it and try, I'll do so when when I get a chance.

NeoCyrus avatar Nov 23 '22 21:11 NeoCyrus

For the dump file to be generated you have to change the registry as explained in #18725 ;)

One way of achieving this would be by creating an entry in the Registry Editor (regedit.msc), for Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting\LocalDumps\PowerToys.Settings.exe , according to the instructions in https://docs.microsoft.com/en-us/windows/win32/wer/collecting-user-mode-dumps

It should look something like this in the end: image

After that, please replicate the bug, navigate to $LOCALAPPDATA%\CrashDumps in the File Explorer and upload the zipped PowerToys.Settings.exe.*.dmp file to a GitHub comment.

jaimecbernardo avatar Nov 25 '22 14:11 jaimecbernardo

Sorry for the extremely delayed response. I've reinstalled the latest version from GitHub. Here is the crash dump - PowerToys.Settings.exe.3436.zip

As for the other things, the only part I seem to have access to is PowerRename in the rightclick menu, and that does appear to be working.

Edit: After removing the registry for it, it still creates crash dumps now... anyway, I reinstalled 0.61.1 and here is the crash dump file for when I attempt to update it through the GUI - PowerToys.Settings.exe.2668.zip

NeoCyrus avatar Nov 29 '22 09:11 NeoCyrus

I have the same problem but in my case no matter the version it still persists. https://github.com/microsoft/PowerToys/issues/22403 Closed it after seeing it was duplicated but still the log upload is there.

talarys avatar Dec 01 '22 21:12 talarys

I'm stupid... i should have checked the event viewer, anyway its was a dependencies problem, .net was installed but it was not in PATH. Try installing .net 6 runtime and make sure its in path.

talarys avatar Dec 02 '22 00:12 talarys

Well, I tried installing .net 6 to the default path and that changed nothing.

NeoCyrus avatar Dec 02 '22 02:12 NeoCyrus

Try to call dotnet on powershell to see if its in PATH, or manually add it, in my case reinstalling .net did nothing, I had to add it manually to path and that fixed it. Or check the event viewer to see why its crashing.

talarys avatar Dec 04 '22 03:12 talarys

Sorry I'm a complete novice when it comes to these things, I have near zero knowledge on the subject. I don't know what you mean by "in PATH". I don't even know what it means to call it in Powershell or the commands to do so.

NeoCyrus avatar Dec 05 '22 09:12 NeoCyrus

this still happens under 0.66? /needinfo

crutkas avatar Feb 01 '23 04:02 crutkas

windows event

错误应用程序名称: PowerToys.Settings.exe,版本: 0.69.1.0,时间戳: 0x641de100
错误模块名称: KERNELBASE.dll,版本: 10.0.19041.2788,时间戳: 0x62e593d6
异常代码: 0xc000027b
错误偏移量: 0x0000000000117cd2
错误进程 ID: 0x22bd4
错误应用程序启动时间: 0x01d978d04303982c
错误应用程序路径: C:\Program Files\PowerToys\Settings\PowerToys.Settings.exe
错误模块路径: C:\WINDOWS\System32\KERNELBASE.dll
报告 ID: 0dbeb1bb-0c77-4201-a2d3-2ad68cd8a697
错误程序包全名: 
错误程序包相对应用程序 ID: 

dump file https://we.tl/t-4aawPoBQko i open explorer and choose powertoys.settings get dump powertoys version 0.69.1

AiSY-Yang avatar Apr 27 '23 06:04 AiSY-Yang

Is this issue still relevant in v0.74? /needinfo

TheJoeFin avatar Oct 06 '23 18:10 TheJoeFin

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 5 days. It will be closed if no further activity occurs within 5 days of this comment.