-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black screen when starting the app with fullscreen = 1
#2720
Comments
As a workaround try |
@RobertFlatt |
I added color animation to the first screen, it worked. |
Can you explain this further? did you draw a rectangle on the canvas or what?
|
@Hamheadon the image I used on the first screen
I added a color animation for scrn_bg_color |
Update:This issue seems to occur on some specific devices. In others it works correctly! Android 12 and Adreno GPU → no issue Still occurs in python-for-android |
@DexerBR , the issue may be on SDL2 side, did you checked if there's any already opened issue on their issue tracker? (Or if there's something in their code that may seem to be related?) |
Hi @misl6! IIRC, @RobertFlatt's suggestion to use |
I observed the problem persist in my last try with kivy 2.2.1 and ASUS Z01BD phone |
Is it solved or not ? |
It's definitely not resolved. I see the same behavior. Some additional colour: when I deactivate the phone while it's on black screen (by pressing on/off button) and then wake the phone again, the app start working normally. Do you guys think this could be resolved soon? |
Checklist
p4a.branch = develop
)Versions
Description
When enabling fullscreen mode with
fullscreen = 1
in buildozer, usingp4a == develop
andbuildozer == master
to generate an apk, I get the folowing behavior:Right after the splash screen is removed, the UI is not updated, i.e. the screen remains black until the screen receives some user interaction. It's as if an
canvas.ask_update()
needed to be performed to update the UI, right after starting the app. However, even runningWindow.canvas.ask_update()
in theon_start
method, the issue remains.Note: The issue does not occur when using
fullscreen=0
.main.py
buildozer.spec
Command:
Spec file:
Logs
No specific log
The text was updated successfully, but these errors were encountered: