guptahanu / google-ajax-apis

Automatically exported from code.google.com/p/google-ajax-apis
0 stars 1 forks source link

Google Virtual Keyboard inserts non-breaking space instead of space #494

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. implement and enable a google virtual keyboard for an input element(text or 
textarea) on a website
2. type some words and space in that input box( for example "google bug")

example: 
1. open www.google.ro (it has a virtual keyboard for the search input) or 
http://www.revistapadurilor.ro/index.php?section=KeywordSearch (this webpage 
has a text input in the central part that has a virtual keyboard with romanian 
layout enabled)
2. write the text: google bug
3. copy the inputed text and use a HTML encode utility(like 
http://www.cafewebmaster.com/online_tools/htmlentities ) to encode the text to 
HTML entities

What is the expected output? 
The expected output is the text with simple(regular) spaces

What do you see instead?
Instead of inserting simple (breaking) spaces, the google virtual keyboard 
inserts non-breaking space. 
Example: google bug or (copy pasted):"google bug"

What version of the product are you using? On what operating system?

latest (script loaded from http://www.google.com/jsapi )

Please provide any additional information below.

Attachement: an html file that contains a text area with a google virtual 
keyboard

Note: I checked this bug on the romanin and english layout

Original issue reported on code.google.com by becheru....@gmail.com on 22 Jul 2010 at 8:27

Attachments:

GoogleCodeExporter commented 8 years ago
seems this bug is Chromium specific. In Mozilla Firefox the google virtual 
keyboard works ok. 
I use Chromium browser version 6.0.473 on Kubuntu.

Original comment by becheru....@gmail.com on 22 Jul 2010 at 8:41

GoogleCodeExporter commented 8 years ago
I have submitted an issue to Google Chromium about this bug 
http://code.google.com/p/chromium/issues/detail?id=49902.
Hope you fix this soon!

Original comment by becheru....@gmail.com on 22 Jul 2010 at 8:48

GoogleCodeExporter commented 8 years ago
I experience the same error on Windows in Chrome 8, Opera 11 and Safari 5. 
Firefox 3.6, Internet Explorer 8 and Konqueror 4 work file.
In problematic browsers non-breaking space is inserted instead normal space. It 
then causes a lot of problems when text is shown on web.
So, it dos not seem to be Chrome-specific problem.

Original comment by dzonny...@gmail.com on 17 Jan 2011 at 11:59

GoogleCodeExporter commented 8 years ago
Looking via Firebug and whatever it's called in Chrome - it seems to me that 
this is bug in Virtual Keyboard rather than in Opera/Chrome/Safari. For sam 
reason .value of button #K32 NBSP rather than SP in affected browsers.

Google keyboard not working in Google browser :-(.

Original comment by dzonny...@gmail.com on 17 Jan 2011 at 1:33