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

Issue 626822 link

Starred by 4 users

Issue metadata

Status: Archived
Owner:
Not on Chrome anymore
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 3
Type: Bug



Sign in to add a comment

Warnings about requestLayout() calls

Project Member Reported by dgn@chromium.org, Jul 8 2016

Issue description

W/View    : requestLayout() improperly called by android.support.v7.widget.AppCompatTextView{22fd809 V.ED..... ......ID 56,1438-1440,1530 #7f0d0247 app:id/snippets_list_header} during layout: running second layout pass
W/View    : requestLayout() improperly called by android.widget.RelativeLayout{93b2ce6 V.E...C.. ......I. 56,2252-1384,2801 #7f0d0242 app:id/snippets_card_view} during second layout pass: posting in next frame

They should be addressed if possible. By simply disabling these calls, I noticed these issues:

- When scrolling up very quickly, the first card goes entirely below the fold instead of stopping and peeking.
- When discarding snippets, the bottom spacing does not shrink to the necessary minimum. It is possible to scroll way down instead of keeping the first card visible.

Rest seems to behave fine (including the header).
 

Comment 1 by fi...@chromium.org, Jul 29 2016

Labels: zine-articles-v1 zine-triaged
I can't repro this. Was it already fixed?

Comment 2 by dgn@chromium.org, Aug 1 2016

The warnings are still there. The issues I described happen only when removing requestLayout() calls from the code, so that never made it to the repo.

Comment 3 by fi...@chromium.org, Aug 2 2016

Ah .. now I understand. Thx for the clarification.

Comment 4 by dgn@chromium.org, Aug 26 2016

Labels: -zine-articles-v1 zine-ntp-pe

Comment 5 by dgn@chromium.org, Dec 5 2017

Status: Archived (was: Assigned)

Sign in to add a comment