-
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
weird orientation behavior #1698
Comments
I have a similar problem when launching my application on my Android phone. Whether I set “orientation” (to portrait) in the p4a options or not, my app goes to landscape mode, whatever I do. I’m also using Python 3 and the master version of Python for Android, plus Kivy 1.10.1, Android API 28 and NDK r17c. I’m on Windows and using Windows subsystem for Ubuntu 18.04. My app used to work fine, but a few days I go I did a full reinstallation. Since then I’m struggling to build a working application. |
Have you tried using kivy master also? |
Yes (that’s what I meant by “the master version of Python for Android”). |
you said you're using kivy 1.10.1, try adding kivy==master to your requirements. |
This comment has been minimized.
This comment has been minimized.
Just compiled with latest p4a master, got the issue :/ |
same problem after p4a update :( |
@tito @everyoneelse just to make it clear, this is expected behavior when using a kivy older than this commit kivy/kivy@b0befbe with a p4a with this commit or newer: 16b07ed This is because old SDL2 ignored kivy always requesting landscape mode even when the app started up differently (which kivy did due to a bug), and 2.0.9 actually reacts to this breaking things in the process (so kivy needed to be updated to fix this). So this is why |
Also if you want to use Not sure what the state with |
Follow-up from chat: kivy/kivy#6163 this could also possibly the issue here, I just made an assumption that might be wrong about another recent change regarding orientations |
kivy==master --> orientation is OK --> but no FULLSCREEN mode (.spec fullscreen=1) |
The |
Ineed, fullscreen has a crazy refresh issue with |
Just merged a fix for the orientation issue. |
@guysoft Is there already a different issue for the fullscreen refresh? I'm not clear what the problem is. |
with a current p4 master checkout and the python3 recipe I encounter a strange behavior concerning the app orientation on the device:
Thanks
Philipp
The text was updated successfully, but these errors were encountered: