Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(254)

Issue 7252001: GTK: Remove the global bookmarks menu. It can't be implemented efficiently. (Closed)

Created:
9 years, 6 months ago by Elliot Glaysher
Modified:
9 years, 6 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

GTK: Remove the global bookmarks menu by default. Currently, it can't be implemented efficiently. We suspect that Ubuntu's appmenu code can not efficiently handle hundreds or thousands of menu items, especially when we both initially push the default 16x16 favicon, and then push the asynchronously loaded favicon. We don't believe this is a problem in chrome's code since this issue only manifests itself on Natty, and stack traces in bug #86715 are stuck waiting on dbus in ubuntu's dbusmenu-glib code. Puts the bookmark menu behind a flag so other people downstream can debug what's going on. Also reduces the number of iconed menu items to 16, ensuring that at most 16k of favicon data is sent over dbus. (The menus felt overly cluttered previously, anyway.) BUG=86715, 85466 TEST=Have hundreds (thousands?) of bookmarks in your profile. chrome startup shouldn't take minutes on Ubuntu Natty on a desktop that uses appmenu-gtk. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=90417

Patch Set 1 #

Patch Set 2 : Enable with switch #

Patch Set 3 : Remove debugging code #

Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -6 lines) Patch
M chrome/browser/ui/gtk/global_history_menu.cc View 1 1 chunk +2 lines, -2 lines 0 comments Download
M chrome/browser/ui/gtk/global_menu_bar.h View 1 1 chunk +1 line, -1 line 0 comments Download
M chrome/browser/ui/gtk/global_menu_bar.cc View 1 2 4 chunks +19 lines, -3 lines 0 comments Download
M chrome/common/chrome_switches.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/common/chrome_switches.cc View 1 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Elliot Glaysher
9 years, 6 months ago (2011-06-24 17:49:24 UTC) #1
Evan Martin
I think we don't wanna exactly delete this -- in theory it can be fixed ...
9 years, 6 months ago (2011-06-24 17:52:08 UTC) #2
Elliot Glaysher
ptal
9 years, 6 months ago (2011-06-24 18:28:03 UTC) #3
Evan Martin
LGTM
9 years, 6 months ago (2011-06-24 18:33:07 UTC) #4
commit-bot: I haz the power
9 years, 6 months ago (2011-06-24 20:09:05 UTC) #5
Change committed as 90417

Powered by Google App Engine
This is Rietveld 408576698