This Bugzilla instance is deprecated, and most Eclipse projects now use GitHub or Eclipse GitLab. Please see the deprecation plan for details.
Bug 385991 - TextView glitches in mobile Chrome
Summary: TextView glitches in mobile Chrome
Status: RESOLVED FIXED
Alias: None
Product: Orion (Archived)
Classification: ECD
Component: Editor (show other bugs)
Version: 1.0   Edit
Hardware: PC Android
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-25 17:47 EDT by Mark Macdonald CLA
Modified: 2012-12-10 12:02 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark Macdonald CLA 2012-07-25 17:47:06 EDT
OS: Android 4.1
Browser: Chrome 18 mobile

Basic steps are:
1. Go to http://orion.eclipse.org/
2. Open a Javascript file in the editor
3. Start editing different lines

Problems I encountered:
- Changes to the text model do not take effect until you unfocus the line that you're editing. (For example, keywords are not colored as you type-- you must unfocus the line.)

- Sometimes the Android keyboard's word suggestion panel appears while you're typing. If you accept a suggested word, it inserts garbage into the text model.
For example, I was typing
> xax
and then I saw a suggestion from the Android keyboard for 'xax', which I clicked. That produced:
> xax‌

- Similarly, garbage characters are inserted when you insert text at column 0 (and sometimes at the end of a line). For example I added a new line containing
> var x;
and when I viewed the raw file contents I found
> v‌arx;
Comment 1 John Arthorne CLA 2012-08-16 10:49:04 EDT
Silenio tried changing the editor to behave same as iPad and the text input worked great. Basically in its current state none of the input is going into the underlying text buffer at all.
Comment 2 John Arthorne CLA 2012-08-16 15:19:29 EDT
Here is info on the user agent string for Mobile chrome on a tablet:

https://developers.google.com/chrome/mobile/docs/user-agent
Comment 3 Silenio Quarti CLA 2012-10-04 16:02:21 EDT
Pushed some changes to fix scrolling and editing.

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=733fe2e788b067976707dd305c03edac74fc2c07

I am not seeing the garbage characters (different device?). Please try the latest and let me know if it still happens.

These function are still broken for me:

Selection
Copy/Cut and Paste
Comment 4 John Arthorne CLA 2012-12-10 12:02:59 EST
I am going to mark this fixed because I think the original problem with garbage characters is fixed. I tested with minimal editor example on 2.0 M1 using Android 4.2 on Nexus 7 and it is working fairly well. We should open specific bugs for any remaining issues.