New issue
Advanced search Search tips

Issue 830877 link

Starred by 1 user

Issue metadata

Status: Verified
Owner:
Closed: Apr 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 2
Type: Bug



Sign in to add a comment

[CRD iOS] Host setup page text partially shown on languages with longer text (e.g. German)

Project Member Reported by yuweih@chromium.org, Apr 9 2018

Issue description

See attached screenshots:
 
0 (1).jpeg
90.1 KB View Download
0.jpeg
89.7 KB View Download
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 13 2018

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

commit 7a8df9d06cc7727c144cd0d31254f3651b263f44
Author: Yuwei Huang <yuweih@chromium.org>
Date: Fri Apr 13 23:23:47 2018

[CRD iOS] Allow setup instruction cells to dynamically grow

We got some reports from people using smaller phone and language with
longer words that the host setup instruction page has broken layout.
Basically cells are overlapping and texts are not fully shown.

This happens because we hardcoded the height of each cell. It's almost
impossible to get row height autolayout working with UICollectionVC, so
I reimplemented the page using UITableViewController.

Bug:  830877 
Change-Id: I3f748a0409599eec09d5895fa324fbb5dc6ab68b
Reviewed-on: https://chromium-review.googlesource.com/1011630
Reviewed-by: Jamie Walch <jamiewalch@chromium.org>
Commit-Queue: Yuwei Huang <yuweih@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550807}
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/host_setup_header_view.h
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/host_setup_header_view.mm
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/host_setup_view_cell.h
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/host_setup_view_cell.mm
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/host_setup_view_controller.h
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/host_setup_view_controller.mm
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/remoting_view_controller.mm

Comment 2 by yuweih@chromium.org, Apr 13 2018

Labels: Merge-Request-67
This only affect Chromoting and doesn't affect Chrome.
Project Member

Comment 3 by sheriffbot@chromium.org, Apr 14 2018

Labels: -Merge-Request-67 Merge-Approved-67 Hotlist-Merge-Approved
Your change meets the bar and is auto-approved for M67. Please go ahead and merge the CL to branch 3396 manually. Please contact milestone owner if you have questions.
Owners: cmasso@(Android), cmasso@(iOS), kbleicher@(ChromeOS), govind@(Desktop)

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

Comment 4 by bugdroid1@chromium.org, Apr 16 2018

Labels: -merge-approved-67 merge-merged-3396
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/034b798fe6477e75e8b386b8c026ebea3d9dd77a

commit 034b798fe6477e75e8b386b8c026ebea3d9dd77a
Author: Yuwei Huang <yuweih@chromium.org>
Date: Mon Apr 16 20:03:07 2018

[CRD iOS] Allow setup instruction cells to dynamically grow

We got some reports from people using smaller phone and language with
longer words that the host setup instruction page has broken layout.
Basically cells are overlapping and texts are not fully shown.

This happens because we hardcoded the height of each cell. It's almost
impossible to get row height autolayout working with UICollectionVC, so
I reimplemented the page using UITableViewController.

Bug:  830877 
Change-Id: I3f748a0409599eec09d5895fa324fbb5dc6ab68b
Reviewed-on: https://chromium-review.googlesource.com/1011630
Reviewed-by: Jamie Walch <jamiewalch@chromium.org>
Commit-Queue: Yuwei Huang <yuweih@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#550807}(cherry picked from commit 7a8df9d06cc7727c144cd0d31254f3651b263f44)
Reviewed-on: https://chromium-review.googlesource.com/1012792
Reviewed-by: Yuwei Huang <yuweih@chromium.org>
Cr-Commit-Position: refs/branch-heads/3396@{#26}
Cr-Branched-From: 9ef2aa869bc7bc0c089e255d698cca6e47d6b038-refs/heads/master@{#550428}
[modify] https://crrev.com/034b798fe6477e75e8b386b8c026ebea3d9dd77a/remoting/ios/app/host_setup_header_view.h
[modify] https://crrev.com/034b798fe6477e75e8b386b8c026ebea3d9dd77a/remoting/ios/app/host_setup_header_view.mm
[modify] https://crrev.com/034b798fe6477e75e8b386b8c026ebea3d9dd77a/remoting/ios/app/host_setup_view_cell.h
[modify] https://crrev.com/034b798fe6477e75e8b386b8c026ebea3d9dd77a/remoting/ios/app/host_setup_view_cell.mm
[modify] https://crrev.com/034b798fe6477e75e8b386b8c026ebea3d9dd77a/remoting/ios/app/host_setup_view_controller.h
[modify] https://crrev.com/034b798fe6477e75e8b386b8c026ebea3d9dd77a/remoting/ios/app/host_setup_view_controller.mm
[modify] https://crrev.com/034b798fe6477e75e8b386b8c026ebea3d9dd77a/remoting/ios/app/remoting_view_controller.mm

Comment 5 by yuweih@chromium.org, Apr 16 2018

Status: Fixed (was: Assigned)
Project Member

Comment 6 by bugdroid1@chromium.org, Apr 17 2018

Labels: merge-merged-testbranch
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/7a8df9d06cc7727c144cd0d31254f3651b263f44

commit 7a8df9d06cc7727c144cd0d31254f3651b263f44
Author: Yuwei Huang <yuweih@chromium.org>
Date: Fri Apr 13 23:23:47 2018

[CRD iOS] Allow setup instruction cells to dynamically grow

We got some reports from people using smaller phone and language with
longer words that the host setup instruction page has broken layout.
Basically cells are overlapping and texts are not fully shown.

This happens because we hardcoded the height of each cell. It's almost
impossible to get row height autolayout working with UICollectionVC, so
I reimplemented the page using UITableViewController.

Bug:  830877 
Change-Id: I3f748a0409599eec09d5895fa324fbb5dc6ab68b
Reviewed-on: https://chromium-review.googlesource.com/1011630
Reviewed-by: Jamie Walch <jamiewalch@chromium.org>
Commit-Queue: Yuwei Huang <yuweih@chromium.org>
Cr-Commit-Position: refs/heads/master@{#550807}
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/host_setup_header_view.h
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/host_setup_header_view.mm
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/host_setup_view_cell.h
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/host_setup_view_cell.mm
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/host_setup_view_controller.h
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/host_setup_view_controller.mm
[modify] https://crrev.com/7a8df9d06cc7727c144cd0d31254f3651b263f44/remoting/ios/app/remoting_view_controller.mm

Status: Verified (was: Fixed)
Verified Fixed in 67.0.3396.22

Sign in to add a comment