Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Settings/GUI still does not work #22221

Closed
NeoCyrus opened this issue Nov 22, 2022 · 16 comments
Closed

Settings/GUI still does not work #22221

NeoCyrus opened this issue Nov 22, 2022 · 16 comments
Labels
Issue-Bug Something isn't working Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-Settings The standalone PowerToys Settings application Status-No recent activity no activity in the past 5 days when follow up's are needed

Comments

@NeoCyrus
Copy link

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 NeoCyrus added Issue-Bug Something isn't working Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams labels Nov 22, 2022
@jaimecbernardo jaimecbernardo added the Product-Settings The standalone PowerToys Settings application label Nov 22, 2022
@jaimecbernardo
Copy link
Collaborator

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?

@ghost ghost 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 Nov 22, 2022
@ghost
Copy link

ghost commented Nov 22, 2022

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

@NeoCyrus
Copy link
Author

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

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Nov 22, 2022
@jaimecbernardo
Copy link
Collaborator

@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 #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

@ghost ghost 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 Needs-Team-Response An issue author responded so the team needs to follow up labels Nov 22, 2022
@NeoCyrus
Copy link
Author

NeoCyrus commented Nov 23, 2022

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.

@ghost ghost added Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up and removed Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something labels Nov 23, 2022
@jaimecbernardo
Copy link
Collaborator

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.

@NeoCyrus
Copy link
Author

NeoCyrus commented Nov 29, 2022

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

@talarys
Copy link

talarys commented Dec 1, 2022

I have the same problem but in my case no matter the version it still persists.
#22403
Closed it after seeing it was duplicated but still the log upload is there.

@talarys
Copy link

talarys commented Dec 2, 2022

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.

@NeoCyrus
Copy link
Author

NeoCyrus commented Dec 2, 2022

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

@talarys
Copy link

talarys commented Dec 4, 2022

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.

@NeoCyrus
Copy link
Author

NeoCyrus commented Dec 5, 2022

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.

@crutkas
Copy link
Member

crutkas commented Feb 1, 2023

this still happens under 0.66? /needinfo

@AiSY-Yang
Copy link

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

@TheJoeFin
Copy link
Collaborator

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

@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 Status-No recent activity no activity in the past 5 days when follow up's are needed and removed Needs-Triage For issues raised to be triaged and prioritized by internal Microsoft teams Needs-Team-Response An issue author responded so the team needs to follow up labels Oct 6, 2023
@microsoft-github-policy-service
Copy link
Contributor

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.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
Issue-Bug Something isn't working Needs-Author-Feedback The original author of the issue/PR needs to come back and respond to something Product-Settings The standalone PowerToys Settings application Status-No recent activity no activity in the past 5 days when follow up's are needed
Projects
None yet
Development

No branches or pull requests

6 participants