tmassie / aospx

Automatically exported from code.google.com/p/aospx
0 stars 0 forks source link

"Select input method" never goes away with nonstock keyboard #28

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. With SwiftKey X installed, whenever I focus to a text input field a "Select 
input method" alert appears in the notification bar. If I select this 
notification, it brings up a list of input methods. 
2. I'll select SwiftKey X (set as the default input already) and it will close 
the window.
3. If I focus on a text input field again, the same message appears.

What is the expected output? What do you see instead?
This notification should go away once the user has selected their preferred 
input method.

What version of the product are you using?
AR24

Please provide logcat ouput and any additional information below.
(required)

Logs when input field is selected and de-selected with the back button.

Dmesg: http://pastebin.com/NarS3phd

Logcat:
D/memalloc( 1225): /dev/pmem: Allocated buffer base:0x415b0000 size:798720 
offset:13557760 fd:40
D/memalloc( 1542): /dev/pmem: Mapped buffer base:0x4be1f000 size:14356480 
offset:13557760 fd:53
D/memalloc( 1225): /dev/pmem: Allocated buffer base:0x415b0000 size:798720 
offset:0 fd:43
D/memalloc( 1542): /dev/pmem: Mapped buffer base:0x4cbd0000 size:798720 
offset:0 fd:60

Original issue reported on code.google.com by samuelgr...@gmail.com on 8 Mar 2012 at 6:02

GoogleCodeExporter commented 8 years ago
Can you get me a full logcat output? The snippet posted is not related

Original comment by robbe...@gmail.com on 8 Mar 2012 at 10:16

GoogleCodeExporter commented 8 years ago
I tried it again and this is all that's being output when I focus on a text 
input field and navigate away from it. Is there another log that might have 
relevant information?

D/memalloc( 1225): /dev/pmem: Allocated buffer base:0x415b0000 size:798720 
offset:1413120 fd:46
D/memalloc( 1542): /dev/pmem: Mapped buffer base:0x4be1f000 size:2211840 
offset:1413120 fd:53
D/dalvikvm( 1542): GC_FOR_ALLOC freed 1611K, 31% free 10512K/15075K, paused 
123ms
D/memalloc( 1225): /dev/pmem: Allocated buffer base:0x415b0000 size:798720 
offset:12165120 fd:52
D/memalloc( 1542): /dev/pmem: Mapped buffer base:0x4db93000 size:12963840 
offset:12165120 fd:60
D/memalloc( 1542): /dev/pmem: Unmapping buffer base:0x4be1f000 size:2211840 
offset:1413120
D/memalloc( 1225): /dev/pmem: Freeing buffer base:0x41709000 size:798720 
offset:1413120 fd:46
D/memalloc( 1542): /dev/pmem: Unmapping buffer base:0x4db93000 size:12963840 
offset:12165120
D/memalloc( 1225): /dev/pmem: Freeing buffer base:0x4214a000 size:798720 
offset:12165120 fd:52
D/dalvikvm(11263): null clazz in OP_INSTANCE_OF, single-stepping

Original comment by samuelgr...@gmail.com on 9 Mar 2012 at 12:04

GoogleCodeExporter commented 8 years ago
Here's the logcat output for when I select the "Select input method" 
notification from the status bar:

W/InputManagerService( 1350): Ignoring showInputMethodPickerFromClient of uid 
1000: com.android.internal.view.IInputMethodClient$Stub$Proxy@41845c98
W/KeyguardViewMediator( 1350): verifyUnlock called when not externally disabled
D/memalloc( 1225): /dev/pmem: Allocated buffer base:0x415b0000 size:675840 
offset:15912960 fd:64
D/memalloc( 1350): /dev/pmem: Mapped buffer base:0x51a09000 size:16588800 
offset:15912960 fd:289
D/memalloc( 1225): /dev/pmem: Allocated buffer base:0x415b0000 size:675840 
offset:16588800 fd:67
D/memalloc( 1350): /dev/pmem: Mapped buffer base:0x529db000 size:17264640 
offset:16588800 fd:297
D/OpenGLRenderer( 1427): Flushing caches (mode 0)
D/memalloc( 1427): /dev/pmem: Unmapping buffer base:0x4e5da000 size:14438400 
offset:12963840
D/memalloc( 1427): /dev/pmem: Unmapping buffer base:0x50f93000 size:15912960 
offset:14438400
D/memalloc( 1225): /dev/pmem: Freeing buffer base:0x42375000 size:1474560 
offset:14438400 fd:58
D/memalloc( 1225): /dev/pmem: Freeing buffer base:0x4220d000 size:1474560 
offset:12963840 fd:55

And here's what happens when I select SwiftKey X (already selected) and the 
window closes:

W/InputManagerService( 1350): Window already focused, ignoring focus gain of: 
com.android.internal.view.IInputMethodClient$Stub$Proxy@416246e8
D/memalloc( 1350): /dev/pmem: Unmapping buffer base:0x51a09000 size:16588800 
offset:15912960
D/memalloc( 1225): /dev/pmem: Freeing buffer base:0x424dd000 size:675840 
offset:15912960 fd:64
D/memalloc( 1350): /dev/pmem: Unmapping buffer base:0x529db000 size:17264640 
offset:16588800
D/memalloc( 1225): /dev/pmem: Freeing buffer base:0x42582000 size:675840 
offset:16588800 fd:67
D/dalvikvm( 1562): GC_EXPLICIT freed 839K, 16% free 12209K/14371K, paused 
11ms+18ms
D/dalvikvm( 1542): GC_FOR_ALLOC freed 737K, 27% free 11140K/15075K, paused 59ms
D/dalvikvm(11263): GC_EXPLICIT freed 1280K, 23% free 11008K/14179K, paused 
4ms+6ms

Original comment by samuelgr...@gmail.com on 9 Mar 2012 at 12:07

GoogleCodeExporter commented 8 years ago
After some googling, this appears to be a feature (?!) of ICS and not an aospx 
bug. I've gone ahead and filed a bug on the Android issue tracker: 
http://code.google.com/p/android/issues/detail?id=26656&thanks=26656&ts=13313092
89

Original comment by samuelgr...@gmail.com on 9 Mar 2012 at 4:09

GoogleCodeExporter commented 8 years ago
Ok, for right now ill mark this assigned to "Google" since a formal ticket was 
submitted to AOSP upstream, and since like you said, it appears to be more of a 
"feature" and not a bug. Ill leave this open so other users can see this 
information and so we can have a reference for the upstream ticket

Original comment by robbe...@gmail.com on 11 Mar 2012 at 5:59

GoogleCodeExporter commented 8 years ago
I actually like the ongoing notification. It allows me to switch between my 
emoji and swiftkeyX 

Original comment by aasch...@gmail.com on 20 Apr 2012 at 12:56

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
One trick I've found to get rid of the notification, open titanium backup and 
search for the default android keyboard and convert it to a user app, now if 
you go to settings > language and inputs, you'll be able to uncheck android 
keyboard, where as before the check box was greyed out. If you only have one 
keyboard checked ( SwiftKey, swype, etc) you won't get the notification 

Original comment by happyd...@gmail.com on 1 Sep 2012 at 2:06