New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 767802 link

Starred by 2 users

Issue metadata

Status: Verified
Owner:
Closed: Nov 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Bug

Blocked on:
issue 775476



Sign in to add a comment

Have cards styled collection respect the safe area

Project Member Reported by gambard@chromium.org, Sep 22 2017

Issue description

The collections with the card layout need to respect the safe area, i.e. the cards needs to be displayed inside the safe area.

Steps to reproduce:

  1. Launch app
  2. Open new tab
  3. Go to tools->History

It should also be the case on edit mode, for example on Reading List.

For example:
History: https://drive.google.com/file/d/0By4O1f2IQqQ_WkdDQmdSN0dUOVU/view
Settings: https://drive.google.com/corp/drive/u/0/folders/0By4O1f2IQqQ_bE5KM0JQaTBnOEE
Reading List: https://drive.google.com/file/d/0By4O1f2IQqQ_UE9YSDRUOTJBWDA/view
  Screenshot edit mode: https://drive.google.com/file/d/0By4O1f2IQqQ_TlI3Sl9qVXVlSzg/view
 
Cc: gambard@chromium.org sczs@chromium.org ramyasharma@chromium.org martiw@chromium.org
 Issue 765402  has been merged into this issue.
Cc: pinkerton@chromium.org mard...@chromium.org lpromero@chromium.org
 Issue 765252  has been merged into this issue.
Cc: jif@chromium.org
 Issue 764925  has been merged into this issue.

Comment 4 Deleted

Comment 5 by cma...@chromium.org, Oct 19 2017

Hey gambard@ are you working on this issue?
Blockedon: 775476
Waiting for MDC roll.
Project Member

Comment 7 by bugdroid1@chromium.org, Oct 26 2017

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

commit 9e96fc0bd1076af261a710514086f76255f28651
Author: Gauthier Ambard <gambard@chromium.org>
Date: Thu Oct 26 16:52:59 2017

Fix iPhone X collections issues

As MDC is rolled to 38.0, we can start taking advantage of the fix
included for the iPhone X by letting the collection have the default
adjustedContentBehavior.
This also changes the NTP to use an automatic
adjustedContentInsetBehavior, to prevent a bug with the overscroll
action.

Bug:  767802 
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I2c68bb0e88f377c3b93af937b70605cd952b8c84
Reviewed-on: https://chromium-review.googlesource.com/737995
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: Rohit Rao (ping after 24h) <rohitrao@chromium.org>
Cr-Commit-Position: refs/heads/master@{#511851}
[modify] https://crrev.com/9e96fc0bd1076af261a710514086f76255f28651/ios/chrome/browser/content_suggestions/content_suggestions_header_view_controller.mm
[modify] https://crrev.com/9e96fc0bd1076af261a710514086f76255f28651/ios/chrome/browser/ui/collection_view/collection_view_controller.mm
[modify] https://crrev.com/9e96fc0bd1076af261a710514086f76255f28651/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_controlling.h
[modify] https://crrev.com/9e96fc0bd1076af261a710514086f76255f28651/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_synchronizer.mm
[modify] https://crrev.com/9e96fc0bd1076af261a710514086f76255f28651/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_synchronizer_unittest.mm
[modify] https://crrev.com/9e96fc0bd1076af261a710514086f76255f28651/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
[modify] https://crrev.com/9e96fc0bd1076af261a710514086f76255f28651/ios/chrome/browser/ui/ntp/google_landing_view_controller.mm
[modify] https://crrev.com/9e96fc0bd1076af261a710514086f76255f28651/ios/chrome/browser/ui/ntp/new_tab_page_header_view.h
[modify] https://crrev.com/9e96fc0bd1076af261a710514086f76255f28651/ios/chrome/browser/ui/ntp/new_tab_page_header_view.mm
[modify] https://crrev.com/9e96fc0bd1076af261a710514086f76255f28651/ios/clean/chrome/browser/ui/ntp/ntp_home_header_view_controller.mm

Project Member

Comment 8 by bugdroid1@chromium.org, Oct 27 2017

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

commit c9941ba961238abd4b28618c2f65b6b457359378
Author: Menglu Huang <huangml@chromium.org>
Date: Fri Oct 27 23:26:15 2017

Revert "Fix iPhone X collections issues"

This reverts commit 9e96fc0bd1076af261a710514086f76255f28651.

Reason for revert: <INSERT REASONING HERE>
This CL breaks some eg tests running on iPhone X.
https://logs.chromium.org/v/?s=chromium%2Fbb%2Fchromium.fyi%2FEarlGreyiOS%2F32771%2F%2B%2Frecipes%2Fsteps%2Fios_chrome_ui_egtests__iPhone_X_iOS_11.0_%2F0%2Flogs%2FNTPHomeTestCase__x2f_testOmniboxWidthRotation%2F0

Original change's description:
> Fix iPhone X collections issues
> 
> As MDC is rolled to 38.0, we can start taking advantage of the fix
> included for the iPhone X by letting the collection have the default
> adjustedContentBehavior.
> This also changes the NTP to use an automatic
> adjustedContentInsetBehavior, to prevent a bug with the overscroll
> action.
> 
> Bug:  767802 
> Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet
> Change-Id: I2c68bb0e88f377c3b93af937b70605cd952b8c84
> Reviewed-on: https://chromium-review.googlesource.com/737995
> Commit-Queue: Gauthier Ambard <gambard@chromium.org>
> Reviewed-by: Rohit Rao (ping after 24h) <rohitrao@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#511851}

TBR=rohitrao@chromium.org,gambard@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug:  767802 
Change-Id: I98a8e73c0153a534393c89f79c05571a2a1aa58d
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet
Reviewed-on: https://chromium-review.googlesource.com/742349
Reviewed-by: Menglu Huang <huangml@chromium.org>
Commit-Queue: Menglu Huang <huangml@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512344}
[modify] https://crrev.com/c9941ba961238abd4b28618c2f65b6b457359378/ios/chrome/browser/content_suggestions/content_suggestions_header_view_controller.mm
[modify] https://crrev.com/c9941ba961238abd4b28618c2f65b6b457359378/ios/chrome/browser/ui/collection_view/collection_view_controller.mm
[modify] https://crrev.com/c9941ba961238abd4b28618c2f65b6b457359378/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_controlling.h
[modify] https://crrev.com/c9941ba961238abd4b28618c2f65b6b457359378/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_synchronizer.mm
[modify] https://crrev.com/c9941ba961238abd4b28618c2f65b6b457359378/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_synchronizer_unittest.mm
[modify] https://crrev.com/c9941ba961238abd4b28618c2f65b6b457359378/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
[modify] https://crrev.com/c9941ba961238abd4b28618c2f65b6b457359378/ios/chrome/browser/ui/ntp/google_landing_view_controller.mm
[modify] https://crrev.com/c9941ba961238abd4b28618c2f65b6b457359378/ios/chrome/browser/ui/ntp/new_tab_page_header_view.h
[modify] https://crrev.com/c9941ba961238abd4b28618c2f65b6b457359378/ios/chrome/browser/ui/ntp/new_tab_page_header_view.mm
[modify] https://crrev.com/c9941ba961238abd4b28618c2f65b6b457359378/ios/clean/chrome/browser/ui/ntp/ntp_home_header_view_controller.mm

Project Member

Comment 9 by bugdroid1@chromium.org, Oct 30 2017

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

commit 26054fded2ff114df520b5ed2714c1673030b54d
Author: Gauthier Ambard <gambard@chromium.org>
Date: Mon Oct 30 14:37:22 2017

Reland "Fix iPhone X collections issues"

As MDC is rolled to 38.0, we can start taking advantage of the fix
included for the iPhone X by letting the collection have the default
adjustedContentBehavior.
This also changes the NTP to use an automatic
adjustedContentInsetBehavior, to prevent a bug with the overscroll
action.

Bug:  767802 ,  779234 
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I9d4b3c2cbe7feedcab03714c061a8ff9705d4d57
Reviewed-on: https://chromium-review.googlesource.com/743018
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512491}
[modify] https://crrev.com/26054fded2ff114df520b5ed2714c1673030b54d/ios/chrome/browser/content_suggestions/content_suggestions_header_view_controller.mm
[modify] https://crrev.com/26054fded2ff114df520b5ed2714c1673030b54d/ios/chrome/browser/ui/collection_view/collection_view_controller.mm
[modify] https://crrev.com/26054fded2ff114df520b5ed2714c1673030b54d/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_controlling.h
[modify] https://crrev.com/26054fded2ff114df520b5ed2714c1673030b54d/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_synchronizer.mm
[modify] https://crrev.com/26054fded2ff114df520b5ed2714c1673030b54d/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_synchronizer_unittest.mm
[modify] https://crrev.com/26054fded2ff114df520b5ed2714c1673030b54d/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
[modify] https://crrev.com/26054fded2ff114df520b5ed2714c1673030b54d/ios/chrome/browser/ui/content_suggestions/ntp_home_egtest.mm
[modify] https://crrev.com/26054fded2ff114df520b5ed2714c1673030b54d/ios/chrome/browser/ui/ntp/google_landing_view_controller.mm
[modify] https://crrev.com/26054fded2ff114df520b5ed2714c1673030b54d/ios/chrome/browser/ui/ntp/new_tab_page_header_view.h
[modify] https://crrev.com/26054fded2ff114df520b5ed2714c1673030b54d/ios/chrome/browser/ui/ntp/new_tab_page_header_view.mm
[modify] https://crrev.com/26054fded2ff114df520b5ed2714c1673030b54d/ios/clean/chrome/browser/ui/ntp/ntp_home_header_view_controller.mm

Comment 10 by pkl@chromium.org, Nov 2 2017

Status: Fixed (was: Assigned)
MDC has rolled. Consider this fixed.

Comment 11 by pkl@chromium.org, Nov 2 2017

Cc: cma...@chromium.org
Labels: Merge-Request-63
Requesting MERGE for commit in comment 9

743018	Reland "Fix iPhone X collections issues"	2017-10-30 07:37	26054fded2ff114df520b5ed2714c1673030b54d
Project Member

Comment 12 by sheriffbot@chromium.org, Nov 2 2017

Labels: -Merge-Request-63 Merge-Review-63 Hotlist-Merge-Review
This bug requires manual review: Less than 29 days to go before AppStore submit on M63
Please contact the milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), gkihumba@(ChromeOS), govind@(Desktop)

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Labels: -Hotlist-Merge-Review -Merge-Review-63 Merge-Approved-63
Project Member

Comment 14 by sheriffbot@chromium.org, Nov 6 2017

Cc: pkl@chromium.org
This issue has been approved for a merge. Please merge the fix to any appropriate branches as soon as possible!

If all merges have been completed, please remove any remaining Merge-Approved labels from this issue.

Thanks for your time! To disable nags, add the Disable-Nags label.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
Project Member

Comment 15 by bugdroid1@chromium.org, Nov 6 2017

Labels: -merge-approved-63 merge-merged-3239
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/98265d437faee582fdf7ab227f5ff39eff7d4249

commit 98265d437faee582fdf7ab227f5ff39eff7d4249
Author: Gauthier Ambard <gambard@chromium.org>
Date: Mon Nov 06 23:44:08 2017

Reland "Fix iPhone X collections issues"

As MDC is rolled to 38.0, we can start taking advantage of the fix
included for the iPhone X by letting the collection have the default
adjustedContentBehavior.
This also changes the NTP to use an automatic
adjustedContentInsetBehavior, to prevent a bug with the overscroll
action.

Bug:  767802 ,  779234 
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I9d4b3c2cbe7feedcab03714c061a8ff9705d4d57
Reviewed-on: https://chromium-review.googlesource.com/743018
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Reviewed-by: Sylvain Defresne <sdefresne@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#512491}(cherry picked from commit 26054fded2ff114df520b5ed2714c1673030b54d)
Reviewed-on: https://chromium-review.googlesource.com/752461
Reviewed-by: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/branch-heads/3239@{#402}
Cr-Branched-From: adb61db19020ed8ecee5e91b1a0ea4c924ae2988-refs/heads/master@{#508578}
[modify] https://crrev.com/98265d437faee582fdf7ab227f5ff39eff7d4249/ios/chrome/browser/content_suggestions/content_suggestions_header_view_controller.mm
[modify] https://crrev.com/98265d437faee582fdf7ab227f5ff39eff7d4249/ios/chrome/browser/ui/collection_view/collection_view_controller.mm
[modify] https://crrev.com/98265d437faee582fdf7ab227f5ff39eff7d4249/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_controlling.h
[modify] https://crrev.com/98265d437faee582fdf7ab227f5ff39eff7d4249/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_synchronizer.mm
[modify] https://crrev.com/98265d437faee582fdf7ab227f5ff39eff7d4249/ios/chrome/browser/ui/content_suggestions/content_suggestions_header_synchronizer_unittest.mm
[modify] https://crrev.com/98265d437faee582fdf7ab227f5ff39eff7d4249/ios/chrome/browser/ui/content_suggestions/content_suggestions_view_controller.mm
[modify] https://crrev.com/98265d437faee582fdf7ab227f5ff39eff7d4249/ios/chrome/browser/ui/content_suggestions/ntp_home_egtest.mm
[modify] https://crrev.com/98265d437faee582fdf7ab227f5ff39eff7d4249/ios/chrome/browser/ui/ntp/google_landing_view_controller.mm
[modify] https://crrev.com/98265d437faee582fdf7ab227f5ff39eff7d4249/ios/chrome/browser/ui/ntp/new_tab_page_header_view.h
[modify] https://crrev.com/98265d437faee582fdf7ab227f5ff39eff7d4249/ios/chrome/browser/ui/ntp/new_tab_page_header_view.mm
[modify] https://crrev.com/98265d437faee582fdf7ab227f5ff39eff7d4249/ios/clean/chrome/browser/ui/ntp/ntp_home_header_view_controller.mm

Status: Verified (was: Fixed)
Verified on:

App Version: 63.0.3239.53

Tested on iPhone X simulator, Issue is fixed. Card layout for Reading list, History and Settings is displayed inside the safe area. Please see the screenshots attached.
Settings.png
40.8 KB View Download
Settings1.png
42.0 KB View Download
ReadingList.png
48.6 KB View Download
ReadingList_EditMode.png
50.2 KB View Download
History.png
50.2 KB View Download

Sign in to add a comment