evilbinary / jota-text-editor

Automatically exported from code.google.com/p/jota-text-editor
0 stars 0 forks source link

Ctrl key on my doc-keyboard moves the cursor to the end of the document #9

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Get an Asus eee slider (I mean, I'm not sure if the bug occurs in other 
devices)
2. Write some text and put the cursor somewhere in the middle of it
3. Press ctrl button

Instead of just working for the thing it is supposed to (like ctrl+c = copy, 
ctrl + space = change language etc) ctrl also moves the cursor to the end of a 
document. This also happens when just ctrl is pressed.

I'm using v 0.2.06 (56) under Android OS v 3.2.1.

Original issue reported on code.google.com by YLdev...@gmail.com on 14 Feb 2012 at 3:06

GoogleCodeExporter commented 9 years ago
Sorry I don't have ASUS slider, so I can't reproduce your issue on my side.
Please download 'KeyEVent Display' app from Android Market.
And type ctrl key and get a logs.

Original comment by jiro.a...@gmail.com on 18 Feb 2012 at 8:17

GoogleCodeExporter commented 9 years ago
Right, so KeyEvent Display  sais:

^ KeyDown:      action=0 code=113 repeat=0 meta=12288 scancode=29 
mFlags=8 label='' chars='null' number='' 
^ KeyUp:        action=1 code=113 repeat=0 meta=0 scancode=29 mFlags=8 
label='' chars='null' number='' 

Original comment by YLdev...@gmail.com on 19 Feb 2012 at 9:58

GoogleCodeExporter commented 9 years ago
Hmn, it seems that it's all right.

Try to check 
Preference - Input Settings - Dispatch CTRL-key before IME.

Thanks,
Jiro

Original comment by jiro.a...@gmail.com on 19 Feb 2012 at 2:52

GoogleCodeExporter commented 9 years ago
Sorry for delay. I tried the option you suggested, but pressing ctrl still 
moves cursor to the end of document (and hence unselects selected things to 
copy via ctrl+c).

Original comment by YLdev...@gmail.com on 23 Feb 2012 at 12:48

GoogleCodeExporter commented 9 years ago
Very sorry,

I have no more idea to solve your issue.

Jiro

Original comment by jiro.a...@gmail.com on 25 Feb 2012 at 3:58

GoogleCodeExporter commented 9 years ago
This is quite strange. First I thought that it can be a problem of  Android 
core/library which creates the text field, but I tried some other text editors 
(Text Editor, Text Edit, TED) and all of them don't share the bug; although, 
the text field doesn't look similar and the "select, then copy or cut" 
mechanism there is the standart one unlike Jota. How much your implementation 
of the text field is based on libraries which are not in the Android core?

Original comment by YLdev...@gmail.com on 25 Feb 2012 at 9:17

GoogleCodeExporter commented 9 years ago
Becasue Jota's engine is original TextView. (That comes from AOSP original 
source)
Jota doesn't use TextView which is embeded in the device.

So they're not SAME with other editors.

Original comment by jiro.a...@gmail.com on 26 Feb 2012 at 7:06

GoogleCodeExporter commented 9 years ago
I occured this issue too.

- Apple wireless keyboard
- Android 4.1.1 (SC-02E)

jota editor (which is not plus) is no problem. 

Original comment by y.terau...@gmail.com on 13 Dec 2012 at 9:20