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

The setup assistant runs every time I restart the computer, and Win+S hotkey gets deleted #521

Closed
2 tasks done
hollowstrawberry opened this issue Jul 21, 2024 · 2 comments

Comments

@hollowstrawberry
Copy link

hollowstrawberry commented Jul 21, 2024

Preflight Checklist

  • I have fully read the README and it did not solve the problem.
  • I have searched all open and closed issues for the same bug report without success.

EverythingToolbar Version

1.3.4.0

Everything Version

1.4.1.1024 (x64)

Windows Version

Windows 11 23H2

Steps to reproduce

Restart the computer and log in.

Expected Behavior

EverythingToolbar launches and works as expected.

Actual Behavior

Two things happen:

  1. The setup assistant comes up even though the program is already set up.
  2. I get an error message saying the hotkey is used by something else, and consequently gets deleted. My hotkey is Win+S, which correctly replaces Windows' shortcut except after a restart.

Screenshots

image

Log output

2024-07-21 18:32:42.7404|INFO|Launcher|EverythingToolbar Launcher 1.3.4.0 started. OS: Microsoft Windows NT 10.0.22631.0|
2024-07-21 18:32:43.1663|ERROR|EverythingToolbar.Helpers.ShortcutManager|Failed to register hotkey.|NHotkey.HotkeyAlreadyRegisteredException: Hot key is already registered. (Exception from HRESULT: 0x80070581) ---> System.Runtime.InteropServices.COMException: Hot key is already registered. (Exception from HRESULT: 0x80070581)
--- End of inner exception stack trace ---
at NHotkey.Hotkey.Register(IntPtr hwnd, String name)
at NHotkey.HotkeyManagerBase.AddOrReplace(String name, UInt32 virtualKey, HotkeyFlags flags, EventHandler1 handler) at EverythingToolbar.Helpers.ShortcutManager.AddOrReplace(String name, Key key, ModifierKeys modifiers, EventHandler1 handler) in C:\Users\Stephan\Entwicklung\EverythingToolbar\EverythingToolbar\Helpers\ShortcutManager.cs:line 69
2024-07-21 18:33:45.1299|INFO|EverythingToolbar.EverythingSearch|Everything version: 1.4.1|
2024-07-21 18:35:05.8086|INFO|Launcher|EverythingToolbar Launcher 1.3.4.0 started. OS: Microsoft Windows NT 10.0.22631.0|
2024-07-21 18:35:06.1768|ERROR|EverythingToolbar.Helpers.ShortcutManager|Failed to register hotkey.|NHotkey.HotkeyAlreadyRegisteredException: Hot key is already registered. (Exception from HRESULT: 0x80070581) ---> System.Runtime.InteropServices.COMException: Hot key is already registered. (Exception from HRESULT: 0x80070581)
--- End of inner exception stack trace ---
at NHotkey.Hotkey.Register(IntPtr hwnd, String name)
at NHotkey.HotkeyManagerBase.AddOrReplace(String name, UInt32 virtualKey, HotkeyFlags flags, EventHandler1 handler) at EverythingToolbar.Helpers.ShortcutManager.AddOrReplace(String name, Key key, ModifierKeys modifiers, EventHandler1 handler) in C:\Users\Stephan\Entwicklung\EverythingToolbar\EverythingToolbar\Helpers\ShortcutManager.cs:line 69
2024-07-21 18:35:14.6772|INFO|EverythingToolbar.EverythingSearch|Everything version: 1.4.1|

Additional Information

No response

@srwi
Copy link
Owner

srwi commented Aug 4, 2024

Hi @hollowstrawberry, sorry for the late reply.

  1. Currently EverythingToolbar checks the presence of a shortcut in %APPDATA%\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar that points to the EverythingToolbar.Launcher.exe. If it doesn't exist, it assumes not being set up yet and opens the setup assistant. Could you please check if a shortcut exists in your case? If that is not the case (Windows can be weird about this) you could try removing the pinned taskbar icon, rebooting your machine and working through the setup assistant again to pin the icon to the taskbar once again. Hopefully that resolves the problem.
  2. This is a known issue: Allow setting Win+S shortcut in Windows 11 #249

@hollowstrawberry
Copy link
Author

Thank you, that fixed 1!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants