Button Text Disappearing

Hi Everyone

I have noticed in my App that the Text of the Buttons sometimes
disappears. This happens usually when I have clicked on the button.
It happens on the same screen and sometimes when I navigate to and
from another screen.

Original Screen:

Screen with missing Text:

I have also experienced these issues with MIT AI2.
Does anyone know the cause of this?
I don’t have any other blocks in the app and the text is fixed on the properties page of the button.

Thanks!
Ravi

This only happens with one specific app or any app?
It happens in companion too?
If so, what happens if you use do it in button.text block?

Can you show us your button click blocks, @Ravi_Suppiah?

Hi @Pablo_Almeida

Yes, I have seen it happening in Companion also.
However, it is not predictable. Sometimes it happens, and at other times it is fine.

@iaditya_nanda

I have attached the button click blocks.
In the other screens, when I click on “Main Menu” or “Back”
I call “close screen” to return back.

Thanks!
Ravi

I have created a short video to show what happens.

As you can see, when I click on the first button “Sarana Gosham”, the text disappears
after I return from the next page. I have also noticed that sometimes the text disappears first,
and then I transition to the next screen.

@Ravi_Suppiah Try setting the screen scrollable, then try again.

Hi @iaditya_nanda

Currently, the Scrollable is Set.

Thanks!
Ravi

Do you mind sharing the AIA? Then, I’ll be able to check it thoroughly. @Ravi_Suppiah

AllIsOne_copy.aia (1.1 MB)
Hi @iaditya_nanda

I have attached the .aia file.
Please do have a look. If you cant reproduce it in the Companion mode, please
try it as an apk.

Thanks!
Ravi

@Ravi_Suppiah Its working fine on android 7 (Emulator)

You didn’t ask my question.
What happens if you use do it in button.text block after the text disappear?

It shows empty string or it shows the default text?
If it is the first case you can make it work setting button text again when screen initialize. It won’t solve the bug but will make the app work fine.

One more thing: you are using too many screens without reason. instead of creating a new screen everytime you should use a vertical arrangement to each screen. Then, when you want to show / hide that screen you set that arrangement to visible true / false. It will make your app smaller and faster. use another screen only when it becomes really necessary.

Hi @Pablo_Almeida

I can try that option if there is no other way.
However, I am seeing a fundamental issue with Button Text values not showing up properly
across my other Apps as well. I believe that if we can get to the root cause, it will be much better.

Regarding the screens, thanks for your suggestion.
I am using a combination of some Screens and Arrangements (with Visible t/f) to
manage all the info that I want to show.

Thanks!

Hi @iaditya_nanda

Thanks for trying it out.
However, as you can see from my video, the behavior is not consistent all the time
on the actual device. I am also seeing it across other Apps.
Here is another video of the same App.

In this, you can see that I press a button to go to the next screen.
However, when I return, the text on two buttons disappears.
I believe there is some fundamental issue with this Button Property
that needs to be resolved.

Thanks!
Ravi

@Ravi_Suppiah: Please export and share the APK.

The problem is that nobody besides you got to reproduce this bug, so it is difficult for the staff to correct it. It is possibly related to your device or your android version only. By the way, it would be nice if you tell your android version and device model.

1 Like

Hi @Pablo_Almeida @iaditya_nanda

I have attached the .apk file
AllIsOne_copy.apk (8.1 MB)

I have tested it on 2 different phones and I still see the same issue.
Phone 1: Samsung S21+, Android Version 12
Phone 2: Samsung Note 9, Android Version 10

Thanks!
Ravi

Tested on Moto G20 Android 11
No issues

1 Like

Yes, also not on Android 12.

1 Like

This is really crazy. I tried in three different phones, 3 android versions, and no issues in any of them.
I believe you are getting this problem because you posted a video, but i can’t even imagine what is causing it or how anyone could solve it for good.

2 Likes

I removed all ads to be able to build the APK and I changed how the screens are switched.

Try this one:
AllIsOne_copy_2.apk (6.2 MB)
No need to uninstall your APK, I changed the packageName.