shangdawei / wifikeyboard

Automatically exported from code.google.com/p/wifikeyboard
GNU General Public License v2.0
0 stars 0 forks source link

Copy paste of text containing multiple lines copies my Computers COMPUTERNAME! #25

Open GoogleCodeExporter opened 9 years ago

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

1. Select few lines of Text from notepad and "copy" it
2. Paste into WiFi Keyboard

Expected to see copied text appear in phone Note Everything note, saw the name 
of my Windows 7 PC multiple times instead! There must be some other controlish 
characters because sometimes the cursor moved up (I assume) and replaced 
previously entered text.  Copying text without a newline didn't appear to do 
anything at all.

Normal typing OK and this works:

   1. F4
   2. Paste previously failing text
   3. F4

  HTC Desire HD on 2.2, 
  Windows 7 64 Bit,
  Chrome Browser

Original issue reported on code.google.com by dbar...@gmail.com on 29 Jan 2011 at 8:20

GoogleCodeExporter commented 9 years ago
Just retried as I noticed you'd just upgraded the Android app to 2.2.1.

Same thing but I did some more testing.  It fails when you use the keyboard to 
paste, if you use the mouse for short (no-newline) text it works, for my 
original text it also works via mouse BUT its very slow to appear on phone.

Original comment by dbar...@gmail.com on 29 Jan 2011 at 8:28

GoogleCodeExporter commented 9 years ago
There are contradicting actions to be made when you use Ctrl-V or Shift-Insert.
Currently it should work on phone side and 'paste' whatever you had in buffer. 
If you expect it to paste from computer clipboard it probably does something 
wrong.

So expected way to do this is as you describe - F4, do local edit/ paste, F4.

I understand that it can be inconvenient, but I didn't found good solution to 
be able to paste locally on phone and remotely from computer at the same time.

When you use mouse-paste the text is entered as if you typed it character by 
character, that's why it is low. F4 on the other hand copies entire block of 
text at once.

Original comment by v...@google.com on 29 Jan 2011 at 12:35

GoogleCodeExporter commented 9 years ago
Its possible I had a SINGLE computer name in the PHONES clipboard but CTRL-V 
pasted in multiple copies or none dependant on how many newlines were in the 
clipboard ON THE COMPUTER.

Your web pages says "Android input (type or paste here)", you should probably 
spell out how pasting works under the entry box.

I suppose it is difficult when you only have a browser interface to work within 
:-)

Thanks

Original comment by dbar...@gmail.com on 29 Jan 2011 at 9:44

GoogleCodeExporter commented 9 years ago
Yes, that's strange bug. I should probably remove message about paste and show 
it only after F4.

Original comment by Ivan.Volosyuk on 30 Jan 2011 at 2:29