Build bug (buttons become transparently)

55 views
Skip to first unread message

Pavlo Ivaniv

unread,
Nov 25, 2019, 5:16:18 PM11/25/19
to mitappinv...@googlegroups.com

Hello everyone!

A few days ago I have decided to modify one of my projects and I have noticed some issue. When I have tested app using USB connection all is fine, but when I build and install app all buttons on the 2nd and 3rd screens become transparently. (app hes three screens) Buttons on the main screen look fine. Can anybody fix it?

Chris Ward

unread,
Nov 25, 2019, 5:44:53 PM11/25/19
to MIT App Inventor Forum
Hello Pavlo

That does not sound good. It might be related to the Theme used - you could try the "Classic" Theme instead for example.

Given that you have found a serious bug, would you mind making a tiny example Project for us that demonstrates the issue?
Message has been deleted
Message has been deleted
Message has been deleted
Message has been deleted

Pavlo Ivaniv

unread,
Nov 26, 2019, 3:19:55 AM11/26/19
to mitappinv...@googlegroups.com
I have used exactly "Classic" Theme. I have check it twice but I do not see this bug with tiny project. So I send you my original project.
Message has been deleted

BodyMindPower

unread,
Nov 26, 2019, 6:42:30 AM11/26/19
to MIT App Inventor Forum
Your test device name, Android version?
On a Galaxy Note 8 with Android 9 I have no issues.

Pavlo Ivaniv

unread,
Nov 26, 2019, 9:02:48 AM11/26/19
to MIT App Inventor Forum
Xiaomi Redmi 4x 3/32GB. Android 7.1.2. MIUI Global 10.3.1.0

BodyMindPower

unread,
Nov 26, 2019, 9:07:38 AM11/26/19
to mitappinv...@googlegroups.com
No issues on a Xiaomi Redmi Note 5, Android 9.

Pavlo Ivaniv

unread,
Nov 26, 2019, 9:12:44 AM11/26/19
to MIT App Inventor Forum
Do You check one of secondaries screens, right?

Pavlo Ivaniv

unread,
Nov 26, 2019, 11:26:40 AM11/26/19
to mitappinv...@googlegroups.com
Here's the files:
Can someone check the issue?
(Issue is next: all buttons on the screens called "Controller_settings" and "Connection_settings" became transparantaly after the building .apk. When I yue USB connection all buttons looks fine)

ABG

unread,
Nov 26, 2019, 12:06:51 PM11/26/19
to MIT App Inventor Forum
I notice the Background Color attribute of Vertical Arrangements 1 & 2 in your
settings screens changes to black, like your button text color.

The Screen1 background colors are white.

Black text on a black background sounds like a problem to me.

ABG

Pavlo Ivaniv

unread,
Nov 26, 2019, 12:21:51 PM11/26/19
to MIT App Inventor Forum
The problem appears only after build and install the .apk file. When I test app using USB connection all is fine.

Ghica

unread,
Nov 26, 2019, 2:44:13 PM11/26/19
to MIT App Inventor Forum
Still,
If you want real help, you should post an .aia and remove the .apk
Posting apk's is against forum policy and we cannot do anything with it.
Cheers, Ghica.

Pavlo Ivaniv

unread,
Nov 26, 2019, 4:39:00 PM11/26/19
to mitappinv...@googlegroups.com
I have posted link to .aia file earlier. This is the new link to all files: https://drive.google.com/open?id=1jFxKxGTT4uGONhexr1CNU-3zYunB4mgC

Ghica

unread,
Nov 26, 2019, 5:18:09 PM11/26/19
to MIT App Inventor Forum
On my phone everything looks fine: Moto one vision, Android 9. Both Companion and apk.
I do not know what could be done. There are and have been problems with the themes, not necessarily AI bugs.
Is there a theme that would work alright for you?
Cheers, Ghica.

BodyMindPower

unread,
Nov 26, 2019, 5:27:06 PM11/26/19
to mitappinv...@googlegroups.com
I have made some small adjustments, see attached aia, build the apk and and check if it works on your device ...
BUG_example2.aia

Pavlo Ivaniv

unread,
Nov 26, 2019, 6:00:57 PM11/26/19
to mitappinv...@googlegroups.com
I see thet you changed theme to "Device default" -- all buttons looks correctly, but I do not like how other visual elements look in this theme.
The bug appears with the "Classic" theme. 
I want to remind that there is no problem with "Classic" theme using USB connection and this bug has not been earlier. When I install old .apk (which was builded approximately a year ago) there is no bug.

BodyMindPower

unread,
Nov 27, 2019, 11:20:31 AM11/27/19
to MIT App Inventor Forum
Since Theme Classic will not be a problem on most devices, you should make a compromise to work on all devices and Android versions. I have a lot of test devices (Android 4 - 9) and on all there is no problem.
But there are more than 20,000 devices ...
Reply all
Reply to author
Forward
0 new messages