[TTS][Overlay] Tablet content width sometimes overflows |
||||||||||||
Issue descriptionSometimes after an initial launch of chrome the first CS content overflows on a tablet. Sailaja, I'm having trouble reproducing this, maybe you can think of a test-eng that might be a good choice to try to figure out repro steps? Steps to repro: 1) exit chrome and relaunch 2) tap on any word 3) quickly open the panel Observer content overflowing the narrow panel. Found on latest TOT using N9 on Android N.
,
Oct 4 2016
Device: Nexus 9 Tablet /NRD91N Not able to repro on chrome Dev '55.0.2880.0' Not able to rero on chrome Beta '54.0.2842.42'
,
Oct 4 2016
will file new/reopen this if discovered in our testing.
,
Oct 5 2016
Will file new/reopen this if discovered in testing.
,
Oct 20 2016
New repro steps. On a Tablet: 1) Tap on a word to search, expand the panel, promote to separate Tab. 2) Close the Tab and tap on the same word, expand the panel Observe: overflows width (as in previous screenshot). Expected: narrow panel.
,
Oct 25 2016
ramine@ can you try to repro with the steps in #5?
,
Oct 25 2016
,
Nov 2 2016
ramine@ can you try to repro with the steps in #5?
,
Nov 9 2016
We now have a good repro and know what's going on: 1) Scroll controls off 2) tap to open CS and promote to a tab 3) go back to the original tab and tap again on the search (controls will have reappeared) 4) Open the panel quickly while top controls are still in view. When you promote to a tab the top controls show. Then with the new tap creating the overlay the top controls animate off while the panel is being opened and that causes an update to the width that is wrong. Ted is changing the top controls logic, which will fix this.
,
Nov 10 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3f933d51ebdb5027f27e79a9a816857bbdee12ba commit 3f933d51ebdb5027f27e79a9a816857bbdee12ba Author: donnd <donnd@chromium.org> Date: Thu Nov 10 20:51:45 2016 [TTS][Overlay] Fix content width overflowing narrow panel. When the top controls are shown by the Browser, the Overlay Panel gets many onSizeChanged events while the controls animate off the top. This can cause the panel content to overflow a narrow panel on tablet. The panel now ignores the onSizeChanged calls if they have the same height as previous calls. BUG= 632483 Review-Url: https://codereview.chromium.org/2486003004 Cr-Commit-Position: refs/heads/master@{#431345} [modify] https://crrev.com/3f933d51ebdb5027f27e79a9a816857bbdee12ba/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanel.java
,
Nov 12 2016
Requesting merge of change in #10 to M55.
,
Nov 12 2016
Your change meets the bar and is auto-approved for M55 (branch: 2883)
,
Nov 16 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/ea64b4bb0f8733eca15c998be8b7634c87f32728 commit ea64b4bb0f8733eca15c998be8b7634c87f32728 Author: donnd <donnd@chromium.org> Date: Wed Nov 16 06:41:54 2016 [TTS][Overlay] Update fix to overflowing the narrow panel. A previous fix just checked if the height changed, but looks like there's a split-window case that needs to check if the width changes. Now checking if either changes. BUG= 632483 Review-Url: https://codereview.chromium.org/2504703002 Cr-Commit-Position: refs/heads/master@{#432405} [modify] https://crrev.com/ea64b4bb0f8733eca15c998be8b7634c87f32728/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanel.java
,
Nov 19 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9892b4fa654f59a436144637f5b71c643d0b2f6a commit 9892b4fa654f59a436144637f5b71c643d0b2f6a Author: Donn Denman <donnd@google.com> Date: Sat Nov 19 01:19:54 2016 [TTS][Overlay] Fix content width overflowing narrow panel. When the top controls are shown by the Browser, the Overlay Panel gets many onSizeChanged events while the controls animate off the top. This can cause the panel content to overflow a narrow panel on tablet. The panel now ignores the onSizeChanged calls if they have the same height as previous calls. BUG= 632483 Review-Url: https://codereview.chromium.org/2486003004 Cr-Commit-Position: refs/heads/master@{#431345} (cherry picked from commit 3f933d51ebdb5027f27e79a9a816857bbdee12ba) Review URL: https://codereview.chromium.org/2514143002 . Cr-Commit-Position: refs/branch-heads/2883@{#618} Cr-Branched-From: 614d31daee2f61b0180df403a8ad43f20b9f6dd7-refs/heads/master@{#423768} [modify] https://crrev.com/9892b4fa654f59a436144637f5b71c643d0b2f6a/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanel.java
,
Nov 19 2016
I need an additional merge to fix this. #10 has been merged but #13 is needed too. It's a simple update to the fix in #10.
,
Nov 19 2016
Your change meets the bar and is auto-approved for M55 (branch: 2883)
,
Nov 19 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/3c589e40897eaf1fd83b38a93e867d51fb4ad05f commit 3c589e40897eaf1fd83b38a93e867d51fb4ad05f Author: Donn Denman <donnd@google.com> Date: Sat Nov 19 01:55:33 2016 [TTS][Overlay] Update fix to overflowing the narrow panel. A previous fix just checked if the height changed, but looks like there's a split-window case that needs to check if the width changes. Now checking if either changes. BUG= 632483 Review-Url: https://codereview.chromium.org/2504703002 Cr-Commit-Position: refs/heads/master@{#432405} (cherry picked from commit ea64b4bb0f8733eca15c998be8b7634c87f32728) Review URL: https://codereview.chromium.org/2506373006 . Cr-Commit-Position: refs/branch-heads/2883@{#620} Cr-Branched-From: 614d31daee2f61b0180df403a8ad43f20b9f6dd7-refs/heads/master@{#423768} [modify] https://crrev.com/3c589e40897eaf1fd83b38a93e867d51fb4ad05f/chrome/android/java/src/org/chromium/chrome/browser/compositor/bottombar/OverlayPanel.java
,
Nov 19 2016
|
||||||||||||
►
Sign in to add a comment |
||||||||||||
Comment 1 by amineer@chromium.org
, Sep 28 2016