diff --git a/widget/windows/WinTaskbar.cpp b/widget/windows/WinTaskbar.cpp index 5d346829e5e5..07107f532c6e 100644 --- a/widget/windows/WinTaskbar.cpp +++ b/widget/windows/WinTaskbar.cpp @@ -328,6 +328,10 @@ WinTaskbar::RegisterAppUserModelID() { if (WinUtils::GetWindowsVersion() < WinUtils::WIN7_VERSION) return false; + if (XRE_GetWindowsEnvironment() == WindowsEnvironmentType_Metro) { + return false; + } + SetCurrentProcessExplicitAppUserModelIDPtr funcAppUserModelID = nullptr; bool retVal = false;