New issue
Advanced search Search tips

Issue 873485 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Aug 15
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: ----



Sign in to add a comment

A crash occur when open a folder with page break item

Project Member Reported by weidongg@chromium.org, Aug 12

Issue description

With #enable-apps-grid-gap enabled.

I see a folder with an invisible item inside, then opening the folder will cause a crash. By doing log, I found that the invisible item is a page break item that should never exist in folder. And if the crash happens, it will always happen because the page break item always exists.
So we need to way to remove it.
 
Could you add log to see where we set the parent id for the page break item? I wonder how it gets there.
I looked into the code, the place we add page break item is PagedViewStructure::SaveToMetadata() [1] which should only be called outside folder. One possible explanation is that the page break item is added during development and stayed in server, so it only happens for my account.
Project Member

Comment 3 by bugdroid1@chromium.org, Aug 15

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/defada06fc810fe128a72552fb9badaa0934cbae

commit defada06fc810fe128a72552fb9badaa0934cbae
Author: Weidong Guo <weidongg@chromium.org>
Date: Wed Aug 15 01:58:32 2018

Fix a crash when apps grid gap is enabled

Background:
A crash occur when a page break item exists in folder. (Not sure why a
page break item gets into folder.)

Changes:
Remove the page break item from folder if it exists.

Bug:  873485 
Change-Id: I0cc435ae8d47c056eeec4b04a8afe7f5cc989588
Reviewed-on: https://chromium-review.googlesource.com/1172071
Commit-Queue: Weidong Guo <weidongg@chromium.org>
Reviewed-by: Steven Bennetts <stevenjb@chromium.org>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#583125}
[modify] https://crrev.com/defada06fc810fe128a72552fb9badaa0934cbae/chrome/browser/ui/app_list/app_list_syncable_service.cc
[modify] https://crrev.com/defada06fc810fe128a72552fb9badaa0934cbae/chrome/browser/ui/app_list/app_list_syncable_service.h

Status: Fixed (was: Started)

Sign in to add a comment