-
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
main window jumps up and down #1876
Comments
Suspicious thing from the log, that right before I killed the app, it reported it's height slightly lower than device height: |
The latest sdl2 from hg fixes this bug. The bad news is that it does not work with multisamples. So you have to disable it in kivy config: from kivy.config import Config
Config.set('graphics', 'multisamples', '0') |
Any idea what has caused you to come across this issue? I don't think I've seen it mentioned before. |
It happens with any app if multisamples is enabled. I have reported in sdl bugtracker: https://bugzilla.libsdl.org/show_bug.cgi?id=4691 |
Update: the kivy changeset mentioned below while probably related, does not seem to do anything wrong. Rather the bug was introduced after 2.0.9 in SDL repo, as it is reproduced in pure C SDL app. i think it was introduced wit this commit: kivy/kivy@e437dfc
|
Oh! When app is built with --window option, it behaves normally and does not jump. The key is to have both multisampling and SDL_WINDOW_FULLSCREEN flag. |
Closing as no action required by p4a team. If you disagree, please let us know. |
p4a version: develop branch
I have built simple kivy app with sdl2 backend, and it looks like window is changing height each 0.5 seconds from full screen to a bit smaller. So the whole app constantly jumps up and down.
adb log: https://gist.github.com/Fak3/ce144578c74762fc39f8f26c34590bb1
The text was updated successfully, but these errors were encountered: