From f197c9f43d066a9b7b6bdbbfba5cefa4b467ee24 Mon Sep 17 00:00:00 2001 From: ge0rdi Date: Sun, 27 Sep 2020 10:20:31 +0200 Subject: [PATCH] Don't show jump list for Settings application It reports just one category with unsupported type, thus jump-list will be empty. Fixes #487. --- Src/StartMenu/StartMenuDLL/JumpLists.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Src/StartMenu/StartMenuDLL/JumpLists.cpp b/Src/StartMenu/StartMenuDLL/JumpLists.cpp index 6a91b7d..4da6e5a 100644 --- a/Src/StartMenu/StartMenuDLL/JumpLists.cpp +++ b/Src/StartMenu/StartMenuDLL/JumpLists.cpp @@ -198,7 +198,13 @@ bool HasJumplist( const wchar_t *appid ) { UINT count; if (SUCCEEDED(pCustomList->GetCategoryCount(&count)) && count>0) + { + // skip Settings app (it reports one category with unsupported type, thus jump-list will be empty) + if (wcscmp(appid, L"windows.immersivecontrolpanel_cw5n1h2txyewy!microsoft.windows.immersivecontrolpanel") == 0) + return false; + return true; + } } if (CAutomaticList(appid).HasList())