Navigating to a Page with a ScrollView logs Error in Console

ClayZuvichClayZuvich USMember ✭✭✭

I'm seeing the following in my console when I navigate to a page with a ScrollView on Android.

[View] requestLayout() improperly called by md5b60ffeb829f638581ab2bb9b1a7f4f3f.ScrollViewContainer{c78e7e4 V.E...... ......ID 0,0-1080,1547} during layout: running second layout pass
[View] requestLayout() improperly called by md5270abb39e60627f0f200893b490a1ade.NavigationPageRenderer{b4dada1 V.E......

I submitted the bug on bugzilla. Anyone else seeing it? Xamarin Forms 2.3.4

https://bugzilla.xamarin.com/show_bug.cgi?id=60399

Answers

  • Luis_dmLuis_dm USMember ✭✭✭

    show your xml

  • JasonBrownJasonBrown GBUniversity ✭✭

    Yes, I'm getting it as well. I've not investigated what's causing it yet, but I'll update the Bugzilla. It doesn't seem to be a benign error as it messes up the data in some controls on my grid.

  • ClayZuvichClayZuvich USMember ✭✭✭

    @LuisRodriguez92 It's just a page with a ScrollView. The bug has been confirmed.
    @JasonBrown Thanks for the feedback! And definitely let us know if you find a workaround.

  • JasonBrownJasonBrown GBUniversity ✭✭

    I've added CachingStrategy="RecycleElement" to my ListView and this seems to have fixed the problem for me (although I was more interested in fixing the messed up controls rather than this message, so the message may still be there - I've been lazy and didn't check :-|).

  • JasonBrownJasonBrown GBUniversity ✭✭

    ...I've just checked and sadly it doesn't stop the error - sorry :-(

    ...but it does stop the controls messing up on my implementation, so it's not all bad!

  • Angelru9Angelru9 ESMember ✭✭✭

    I have the same issue, any solution? I am using XF 3.6

  • RaymondKellyRaymondKelly USMember ✭✭✭

    Any update/workaround on this. I am also using XF3.6 and I get about 100 console messages a second.

    05-11 16:10:07.417 W/View ( 6080): requestLayout() improperly called by md51558244f76c53b6aeda52c8a337f2c37.FormsTextView{de8b1ac V.ED..... ........ 0,0-1064,57 #4b} during second layout pass: posting in next frame 05-11 16:10:07.417 W/View ( 6080): requestLayout() improperly called by md51558244f76c53b6aeda52c8a337f2c37.FormsTextView{9882ad6 V.ED..... ........ 0,0-1064,57 #41} during second layout pass: posting in next frame 05-11 16:10:07.418 W/View ( 6080): requestLayout() improperly called by md51558244f76c53b6aeda52c8a337f2c37.FormsTextView{1769fbe V.ED..... ........ 0,0-1064,57 #47} during second layout pass: posting in next frame 05-11 16:10:07.418 W/View ( 6080): requestLayout() improperly called by md51558244f76c53b6aeda52c8a337f2c37.FormsTextView{2b52cda V.ED..... ........ 0,0-1064,57 #48} during second layout pass: posting in next frame 05-11 16:10:07.418 W/View ( 6080): requestLayout() improperly called by md51558244f76c53b6aeda52c8a337f2c37.FormsTextView{35dec8e V.ED..... ........ 0,0-1064,57 #49} during second layout pass: posting in next frame 05-11 16:10:07.418 W/View ( 6080): requestLayout() improperly called by md51558244f76c53b6aeda52c8a337f2c37.FormsTextView{f2128e3 V.ED..... ........ 0,0-1064,57 #32} during second layout pass: posting in next frame 05-11 16:10:07.418 W/View ( 6080): requestLayout() improperly called by md51558244f76c53b6aeda52c8a337f2c37.FormsTextView{94c53d0 V.ED..... ........ 0,0-1064,57 #43} during second layout pass: posting in next frame 05-11 16:10:07.418 W/View ( 6080): requestLayout() improperly called by md51558244f76c53b6aeda52c8a337f2c37.FormsTextView{5b7018c V.ED..... ........ 0,0-1064,57 #44} during second layout pass: posting in next frame 05-11 16:10:07.418 W/View ( 6080): requestLayout() improperly called by md51558244f76c53b6aeda52c8a337f2c37.FormsTextView{847aee6 V.ED..... ........ 0,0-1064,57 #42} during second layout pass: posting in next frame 05-11 16:10:07.418 W/View ( 6080): requestLayout() improperly called by md51558244f76c53b6aeda52c8a337f2c37.FormsTextView{31e1dc6 V.ED..... ........ 0,0-1064,57 #45} during second layout pass: posting in next frame 05-11 16:10:07.418 W/View ( 6080): requestLayout() improperly called by md51558244f76c53b6aeda52c8a337f2c37.FormsTextView{2901962 V.ED..... ........ 0,0-1064,57 #46} during second layout pass: posting in next frame 05-11 16:10:07.418 W/View ( 6080): requestLayout() improperly called by md51558244f76c53b6aeda52c8a337f2c37.FormsTextView{54e2bc1 V.ED..... ........ 0,0-1064,57 #4a} during second layout pass: posting in next frame

Sign In or Register to comment.