Open GoogleCodeExporter opened 9 years ago
1.37.1419 samsung galaxy s4 mini 9195, english dvorak czech all of them
2characters erased on both 5 and 4 row layout.
Original comment by matej.se...@gmail.com
on 20 Mar 2015 at 1:11
I can't reproduce this, I would suspect it's a bug in the Cyanogen version
you're using, sorry.
Original comment by klausw@google.com
on 6 Apr 2015 at 10:38
Reopening, I dug around a bit further. The upstream LatinIME has some
relevant-looking code, Hacker's Keyboard doesn't currently have this workaround
in place.
Adding an equivalent check will be a bit annoying since it involves
asynchronously looking up the target application in PackageManager, with some
care needed to handle caching and memory leaks.
I'll see if an easier workaround is possible, i.e. special-casing the
lockscreen for now.
https://android.googlesource.com/platform/packages/inputmethods/LatinIME/+/maste
r/java/src/com/android/inputmethod/latin/utils/TargetPackageInfoGetterTask.java
if (inputTransaction.mSettingsValues.isBeforeJellyBean() ||
inputTransaction.mSettingsValues.mInputAttributes.isTypeNull()) {
// There are two possible reasons to send a key event: either the field has
// type TYPE_NULL, in which case the keyboard should send events, or we are
// running in backward compatibility mode. Before Jelly bean, the keyboard
// would simulate a hardware keyboard event on pressing enter or delete. This
// is bad for many reasons (there are race conditions with commits) but some
// applications are relying on this behavior so we continue to support it for
// older apps, so we retain this behavior if the app has target SDK < JellyBean.
sendDownUpKeyEvent(KeyEvent.KEYCODE_DEL);
if (mDeleteCount > Constants.DELETE_ACCELERATE_AT) {
sendDownUpKeyEvent(KeyEvent.KEYCODE_DEL);
}
} else {
Original comment by Klaus.We...@gmail.com
on 23 Apr 2015 at 5:36
I just wanted to mention for the sake of completeness that the topic @
https://groups.google.com/forum/m/#!topic/hackerskeyboard/O1jQR-Wkt40
has some additional details re: more bug reports.
Original comment by TPSam...@gmail.com
on 24 Apr 2015 at 2:20
Original issue reported on code.google.com by
fry....@gmail.com
on 3 Oct 2014 at 12:49