Skip to content

Instantly share code, notes, and snippets.

@gg7
Last active April 4, 2025 14:33
Show Gist options
  • Save gg7/8172378 to your computer and use it in GitHub Desktop.
Save gg7/8172378 to your computer and use it in GitHub Desktop.
Increase the number of recently shown folders (5) in chromium when adding/modifying a bookmark
diff --git a/chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc b/chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc
index 88df062..5adbc2e 100644
--- a/chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc
+++ b/chrome/browser/ui/bookmarks/recently_used_folders_combo_model.cc
@@ -14,7 +14,7 @@
namespace {
// Max number of most recently used folders.
-const size_t kMaxMRUFolders = 5;
+const size_t kMaxMRUFolders = 20;
} // namespace
@varenc
Copy link

varenc commented Aug 3, 2022

Casual user, how would I use this?

Sadly this really isn't for the casual user. Instructions here. I wish the constant was configurable but it's hard coded. To make this one tiny change you have to re-compile all of Chromium. And the result will be a custom version of "Chromium" not "Google Chrome". Chromium lacks a few special things like support for viewing WideVine DRM content which is necessary to use any streaming service.

@midenok
Copy link

midenok commented Oct 24, 2024

Strange default 5 done for who? Looks like we were on top of UI design in early 2000-s until Google decided their users are idiots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment