Android Question Is it an IME bug?

dreamworld

Active Member
Licensed User
Longtime User
This is a really strange IME bug.
There was an edittext at the top of an activity. I clicked on it, and the keyboard showed together with cursor controller. Before the cursor controller disappearing, I clicked Android back button, the keyboard hided (the cursor controller did not), and before the cursor controller disappearing, I clicked on Android back button again, and the activity closed. In a few seconds, the app crashed.

If I close the activity after the cursor controller disappearing, nothing happens.

I repeated those steps again and again, and the app crashed again and again.

Is there a way to hide the cursor controller? I guess that it is the cursor controller that caused this problem.
 

dreamworld

Active Member
Licensed User
Longtime User
No logs, because it is released

You can download it here
http://www.newdreamworlds.com/download/voice_communities.apk

You need not to register an ID. Just go to public communities.
click on the edittext at the top.
When both the keyboard and cursor controller show, immediately click Android Back button to close the keyboard and then immediately click Android Back button BEFORE the cursor controller disappearing. The app will crash in two to three seconds.

And if you go to the Register activity, you can see that if the activity is resumed edittextss will not move up when keyboard shows

my device is 2.3.5
 
Upvote 0

dreamworld

Active Member
Licensed User
Longtime User
Here is the error message:

java.lang.IllegalArgumentException: View not attached to window manager
at android.view.WindowManagerImpl.findViewLocked(WindowManagerImpl.java:355)
at android.view.WindowManagerImpl.removeView(WindowManagerImpl.java:200)
at android.view.Window$LocalWindowManager.removeView(Window.java:432)
at android.widget.PopupWindow.dismiss(PopupWindow.java:1138)
at android.widget.TextView$HandleView.hide(TextView.java:7866)
at android.widget.TextView$InsertionPointCursorController.hide(TextView.java:8042)
at android.widget.TextView$InsertionPointCursorController$1.run(TextView.java:8027)
at android.os.Handler.handleCallback(Handler.java:587)
at android.os.Handler.dispatchMessage(Handler.java:92)
at android.os.Looper.loop(Looper.java:130)
at android.app.ActivityThread.main(ActivityThread.java:3683)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:507)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:875)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:633)
at dalvik.system.NativeStart.main(Native Method)
 
Upvote 0
Top