UI rendering problem on Huawei Ascend P6

I created an empty project with few tags in main file “MainView.ux”:

<App>
    <ClientPanel>
        <StackPanel>
            <Text Value="test 2" />
            <TextBox Value="t" />
        </StackPanel>
    </ClientPanel>
</App>

I built the app for Android with both preview and build flags and ran it on Huawei Ascend P6 and I got strange rendering problems, though it works fine on P8 (Android 6) and other Huawei phone (Android 4.2.2) and local preview.

With preview flag:


Build flag:

Console output:

Installing APK on 1 device(s)
Launching activity 'TestApp'
Running logcat on 022JBW7N3A004457
E/ZipFileCache(13673): init failed when open zip file.
E/BufferQueue(13673): [unnamed-13673-0] dequeueBuffer: can't dequeue multiple buffers without setting the buffer count
I/dalvikvm(13673): Could not find method android.view.Window.getStatusBarColor, referenced from method com.foreign.Fuse.Android.StatusBarHelper.GetStatusBarColor269
W/dalvikvm(13673): VFY: unable to resolve virtual method 10497: Landroid/view/Window;.getStatusBarColor ()I
I/dalvikvm(13673): Could not find method android.view.Window.setStatusBarColor, referenced from method com.foreign.Fuse.Android.StatusBarHelper.SetStatusBarColor272
W/dalvikvm(13673): VFY: unable to resolve virtual method 10502: Landroid/view/Window;.setStatusBarColor (I)V
W/dalvikvm(13673): dvmFindClassByName rejecting 'com/uno/UnoObject'
W/dalvikvm(13673): dvmFindClassByName rejecting 'com/uno/BoolArray'
W/dalvikvm(13673): dvmFindClassByName rejecting 'com/uno/ByteArray'
W/dalvikvm(13673): dvmFindClassByName rejecting 'com/uno/ShortArray'
W/dalvikvm(13673): dvmFindClassByName rejecting 'com/uno/IntArray'
W/dalvikvm(13673): dvmFindClassByName rejecting 'com/uno/LongArray'
W/dalvikvm(13673): dvmFindClassByName rejecting 'com/uno/FloatArray'
W/dalvikvm(13673): dvmFindClassByName rejecting 'com/uno/DoubleArray'
W/dalvikvm(13673): dvmFindClassByName rejecting 'com/uno/StringArray'
W/dalvikvm(13673): dvmFindClassByName rejecting 'com/uno/ObjectArray'

Specs:

  • Fuse version 0.32.0 (build 9613)
  • Model number: HUAWEI P6-U06
  • Android version: 4.4.2
  • Windows 10 version 1511 build 10586.3 64-bit

Ouch! Definitely looks like the Vivante GPU / drivers in the P6 are causing us some trouble.

How does it look if you add an explicit rectangle inside the TextBox, like this?

<App>
	<ClientPanel>
        <StackPanel>
            <Text Value="test 2" />
            <TextBox Value="t">
            	<Rectangle Color="Gray" Layer="Background"/>
            </TextBox>
        </StackPanel>
	</ClientPanel>
</App>

It would look like this:

Though when I tap on TextBox briefly noise shows up on gray area while keypad is opening. And background noise under Text element changes.

Thanks. I’ve raised a ticket for this and we’ll investigate further.

It seems that there is issue in GPU driver. May be some driver programs/files get corrupted that’s why this annoying issue happen. So before trying anything more, i hardly recommend you to check driver status. If they are latest and updated then its ok…if not, then update them immediately. For more assistance support check Huawei P6 Manual - https://guideusermanual.com/product-name-p6-manual&po=669485&lang=English. Good Luck.