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

Unified Diff: chrome/browser/ui/views/app_list/win/app_list_win.cc

Issue 214423002: Reset the app list when it is shown on Windows and Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fix_app_list_folder_drag_for_real
Patch Set: fix app list folder icons disappearing on fast switch Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/app_list/win/app_list_win.cc
diff --git a/chrome/browser/ui/views/app_list/win/app_list_win.cc b/chrome/browser/ui/views/app_list/win/app_list_win.cc
index 1d127f5d938854bbbdbb4e60cc5b13b215d8fe56..7918d2b61b6ce92e85c66301da0d918157cd8b74 100644
--- a/chrome/browser/ui/views/app_list/win/app_list_win.cc
+++ b/chrome/browser/ui/views/app_list/win/app_list_win.cc
@@ -88,6 +88,9 @@ gfx::Point AppListWin::FindAnchorPoint(const gfx::Size& view_size,
}
void AppListWin::Show() {
+ if (!view_->GetWidget()->IsVisible())
+ view_->ResetForShow();
+
view_->GetWidget()->Show();
if (!window_icon_updated_) {
view_->GetWidget()->GetTopLevelWidget()->UpdateWindowIcon();

Powered by Google App Engine
This is Rietveld 408576698