ramensoftware / windhawk-mods

The official collection of Windhawk mods
270 stars 53 forks source link

Windows 11 Taskbar Styler won't start... #883

Open vanja-san opened 1 month ago

vanja-san commented 1 month ago

ℹ️ Machine translation

@m417z Does not work (auto launch mod) at system startup, have to restart explorer.exe I read the Troubleshooting section, but without knowing English I didn't understand much there at all.

Logs

-- Pressing the "Disable/enable" button --

19:14:48.556 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::BeforeUninit
19:14:48.568 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::~LoadedMod
19:14:48.568 6552 explorer.exe  [WH] [windows-11-taskbar-styler] [3270:Wh_ModUninit]: Uninitializing - Found DesktopWindowContentBridge window
19:14:49.898 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::LoadedMod
19:14:49.898 6552 explorer.exe  [WH] [LoadedMod::LoadedMod]: Windhawk v1.5.1
19:14:49.899 6552 explorer.exe  [WH] [LoadedMod::LoadedMod]: Mod version: 1.3.7
19:14:49.899 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::LoadedMod
19:14:49.900 6552 explorer.exe  [WH] [windows-11-taskbar-styler] [3240:Wh_ModInit]: >
19:14:49.900 6552 explorer.exe  [WH] [LoadedMod::SetFunctionHook]: Target: 00007FF8A1760440
19:14:49.900 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::SetFunctionHook
19:14:49.910 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::AfterInit
19:14:49.910 6552 explorer.exe  [WH] [windows-11-taskbar-styler] [3253:Wh_ModAfterInit]: Initializing - Found DesktopWindowContentBridge window
19:14:49.910 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: valueName: theme
19:14:49.911 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: value: Squircle
19:14:49.911 6552 explorer.exe  [WH] [windows-11-taskbar-styler] [2971:IsOsFeatureEnabled]: RtlQueryFeatureConfiguration result for 48660958: 1
19:14:49.911 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::FreeStringSetting
19:14:49.911 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: valueName: controlStyles[%d].target
19:14:49.914 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: value: 
19:14:49.916 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::FreeStringSetting
19:14:49.916 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::GetStringSetting
19:14:49.917 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: valueNameFormatted: resourceVariables[0].variableKey
19:14:49.917 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::GetStringSetting
19:14:49.918 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::FreeStringSetting
19:14:49.918 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::AfterInit
-- Select in theme "None" then "Squircle" --

19:17:02.887 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::SettingsChanged
19:17:02.888 6552 explorer.exe  [WH] [windows-11-taskbar-styler] [3287:Wh_ModSettingsChanged]: Reinitializing - Found DesktopWindowContentBridge window
19:17:02.888 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: valueName: theme
19:17:02.888 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: value: 
19:17:02.889 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::FreeStringSetting
19:17:02.889 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::GetStringSetting
19:17:02.889 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: valueNameFormatted: controlStyles[0].target
19:17:02.889 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::GetStringSetting
19:17:02.889 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::FreeStringSetting
19:17:02.890 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: valueName: resourceVariables[%d].variableKey
19:17:02.890 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: value: 
19:17:02.890 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::FreeStringSetting
19:17:02.891 6552 explorer.exe  [WH] [windows-11-taskbar-styler] [3133:InitializeSettingsAndTap]: Error 80070490
19:17:10.285 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::SettingsChanged
19:17:10.291 6552 explorer.exe  [WH] [windows-11-taskbar-styler] [3287:Wh_ModSettingsChanged]: Reinitializing - Found DesktopWindowContentBridge window
19:17:10.291 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: valueName: theme
19:17:10.292 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: value: Squircle
19:17:10.292 6552 explorer.exe  [WH] [windows-11-taskbar-styler] [2971:IsOsFeatureEnabled]: RtlQueryFeatureConfiguration result for 48660958: 1
19:17:10.293 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::FreeStringSetting
19:17:10.293 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: valueName: controlStyles[%d].target
19:17:10.293 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: value: 
19:17:10.294 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::FreeStringSetting
19:17:10.294 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::ModDebugLoggingScope]: >>> Entering LoadedMod::GetStringSetting
19:17:10.294 6552 explorer.exe  [WH] [LoadedMod::GetStringSetting]: valueNameFormatted: resourceVariables[0].variableKey
19:17:10.296 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::GetStringSetting
19:17:10.296 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::FreeStringSetting
19:17:10.296 6552 explorer.exe  [WH] [`anonymous-namespace'::ModDebugLoggingScope::~ModDebugLoggingScope]: <<< Exiting LoadedMod::SettingsChanged
-- Mods I use --

- No Focus Rectangle
- Taskbar Clock Customization
- Taskbar height and icon size
- Taskbar Labels for Windows 11
- Taskbar minimize/restore on scroll
- Turn off change file extension warning
- Windows 11 Start Menu Styler
m417z commented 4 weeks ago

Some logs are missing for some reason, such as the Windows version. What's your Windows version?

Also, are you using other customization tools, such as TranslucentTB?

vanja-san commented 4 weeks ago

@m417z

Windows 23h2 - 22631.4037 Installed "Shell" by nilesoft - to customize the context menu I don't have any other tools to customize the taskbar

and there seems to be a problem with the Taskbar Label mod, when quickly opening folders (in depth) there is a freeze and then restarts explorer.exe. Why this particular mod? It's just that I've disabled all of them in turn and it's the one with which this problem occurs. Maybe he is guilty, maybe not. I don't yet fully understand which logs are useful and which are not.

m417z commented 3 weeks ago

Unfortunately I don't know why it doesn't work for you. According to the logs, it seems that the Windows XAML Diagnostics API doesn't start working, and doesn't notify about all elements on the taskbar. If you have an idea how to reproduce this, maybe by enabling some Windows options or by installing some software, let me know and I'll try to check it.

and there seems to be a problem with the Taskbar Label mod, when quickly opening folders (in depth) there is a freeze and then restarts explorer.exe. Why this particular mod? It's just that I've disabled all of them in turn and it's the one with which this problem occurs. Maybe he is guilty, maybe not. I don't yet fully understand which logs are useful and which are not.

That's a different problem, please open a new issue.

vanja-san commented 3 weeks ago

@m417z I myself can’t even imagine how to reproduce this, if can record logs while turning on windows, tell me how to do this. I'll try to reinstall program cleanly, if problem disappears, then it's a phantom problem.

Upd. Reinstalling it solved problem. Problem returned after second reboot, now nothing is clear, it won’t be cool to check every program.

And yes, could conflict be these programs: SnipDo and Pot Translator?