Skip to content
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

TextInput crashes while using clipboard bubble #1945

Open
emanuele-f opened this issue Mar 9, 2014 · 6 comments · Fixed by #1947
Open

TextInput crashes while using clipboard bubble #1945

emanuele-f opened this issue Mar 9, 2014 · 6 comments · Fixed by #1947

Comments

@emanuele-f
Copy link
Contributor

After opening clipboard bubble, keyboard doesn't close anymore.
Moreover, when closing application, it gives:

I/python  ( 4932): [INFO              ] [Clipboard   ] Provider: dummy(['clipboard_android'] ignored)
I/python  ( 4932): [INFO              ] [Base        ] Leaving application in progress...
I/python  ( 4932): Python for android ended.
W/dalvikvm( 4932): threadid=10: thread exiting with uncaught exception (group=0x4001d560)
E/AndroidRuntime( 4932): FATAL EXCEPTION: Thread-11
E/AndroidRuntime( 4932): java.lang.NoClassDefFoundError: android.content.ClipData
E/AndroidRuntime( 4932):    at org.renpy.android.SDLSurfaceView.nativeInit(Native Method)
E/AndroidRuntime( 4932):    at org.renpy.android.SDLSurfaceView.run(SDLSurfaceView.java:725)
E/AndroidRuntime( 4932):    at java.lang.Thread.run(Thread.java:1019)
E/AndroidRuntime( 4932): Caused by: java.lang.ClassNotFoundException: android.content.ClipData in loader dalvik.system.PathClassLoader[/data/app/org.emanuele.LyricsDL-2.apk]
E/AndroidRuntime( 4932):    at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
E/AndroidRuntime( 4932):    at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
E/AndroidRuntime( 4932):    at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/AndroidRuntime( 4932):    ... 3 more

If specifing "use_bubble: False" it works correctly, but clipboard is obviously disabled.

android sdk 14
kivy 1.8.0

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

@akshayaurora
Copy link
Member

Which version of android did this crash on, are you sure you have the
latest py4a?

On Mon, Mar 10, 2014 at 12:09 AM, emanuele-f notifications@github.comwrote:

After opening clipboard bubble, keyboard doesn't close anymore.
Moreover, when closing application, it gives:

I/python ( 4932): [INFO ] [Clipboard ] Provider: dummy(['clipboard_android'] ignored)
I/python ( 4932): [INFO ] [Base ] Leaving application in progress...
I/python ( 4932): Python for android ended.
W/dalvikvm( 4932): threadid=10: thread exiting with uncaught exception (group=0x4001d560)
E/AndroidRuntime( 4932): FATAL EXCEPTION: Thread-11
E/AndroidRuntime( 4932): java.lang.NoClassDefFoundError: android.content.ClipData
E/AndroidRuntime( 4932): at org.renpy.android.SDLSurfaceView.nativeInit(Native Method)
E/AndroidRuntime( 4932): at org.renpy.android.SDLSurfaceView.run(SDLSurfaceView.java:725)
E/AndroidRuntime( 4932): at java.lang.Thread.run(Thread.java:1019)
E/AndroidRuntime( 4932): Caused by: java.lang.ClassNotFoundException: android.content.ClipData in loader dalvik.system.PathClassLoader[/data/app/org.emanuele.LyricsDL-2.apk]
E/AndroidRuntime( 4932): at dalvik.system.PathClassLoader.findClass(PathClassLoader.java:240)
E/AndroidRuntime( 4932): at java.lang.ClassLoader.loadClass(ClassLoader.java:551)
E/AndroidRuntime( 4932): at java.lang.ClassLoader.loadClass(ClassLoader.java:511)
E/AndroidRuntime( 4932): ... 3 more

If specifing "use_bubble: False" it works correctly, but clipboard is
obviously disabled.

android sdk 14
kivy 1.8.0


Reply to this email directly or view it on GitHubhttps://github.com//issues/1945
.

@emanuele-f
Copy link
Contributor Author

It crashed on Android 2.3.6 Gingerbread.
My py4a is cloned from current git repository.

@akshayaurora
Copy link
Member

https://docs.google.com/file/d/0B1WO07-OL50_LVlhbE1MS3M5VjA/edit could you
test this and see if it works?

On Mon, Mar 10, 2014 at 2:09 AM, emanuele-f notifications@github.comwrote:

It crashed on Android 2.3.6 Gingerbread.
My py4a is cloned from current git repository.


Reply to this email directly or view it on GitHubhttps://github.com//issues/1945#issuecomment-37138238
.

@emanuele-f
Copy link
Contributor Author

It works fine :)

@akshayaurora
Copy link
Member

When using keyboard_mode 'managed' application still crashes and hide_keyboard() does nothing. Here is a test application to replicate the trouble.
https://www.dropbox.com/s/hkl3wwzjudvrbyd/TextInputCrash.py

@akshayaurora akshayaurora reopened this Oct 18, 2014
@stale
Copy link

stale bot commented Oct 7, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants