Opened 12 years ago
Closed 9 years ago
#9736 closed Bug (fixed)
[Android] Problems with text selection
Reported by: | Teresa Monahan | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | Core : Selection | Version: | 3.6.5 |
Keywords: | IBM Android | Cc: | Damian, Satya Minnekanti, edel_gleeson@… |
Description
- Open any CKEditor sample on an android 4 tablet.
- Enter some text.
- Try to highlight the text to select it.
Problem: The option to select text does not appear.
In a basic contenteditable div, the select text tool appears when you hold down on text within the div.
Attachments (8)
Change History (15)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
I can confirm this using Android 4 (ICS) on Motorola Xoom.
I tested some Android ICS browser: Stock: selection works only in "inline" mode and not in iframe mode. Toolbar doesn't work. Chrome: selection works in inline and iframe, toolbar works in both. Firefox: selection works in both but toolbar doesn't work. Dolphin: everything seems broken.
When I say "toolbar doesn't work" I mean that it appears, I can click on the buttons but as soon as I "touch" a button the selection disappear and the action is not applied (eg: bold).
So, Chrome is the only browser supported by my ICS tablet to work.
comment:3 Changed 12 years ago by
Keywords: | Android added |
---|
comment:4 Changed 12 years ago by
Component: | General → Core : Selection |
---|---|
Status: | new → confirmed |
Summary: | Android: It is not possible to select text in the editor → [Android] Problems with text selection |
Tested on Samsung Galaxy S, Android 4.2.1 (Jelly Bean), CKEditor 4.0.1 samples for the Standard preset.
Stock browser, replacebycode (iframe) sample
Selection works if you touch and hold, but only one word is selected. Standard Android selection "handles" (that let you expand the selection) do not appear. It's possible to use toolbar buttons to do something with the selection (like Bold etc).
Stock browser, inline sample
Selection works, selection handles appear, it's possible to use toolbar buttons to do something with the selection. However, after an operation is performed, the handles disappear while the expanded text selection stays intact.
Firefox 18.0.2 browser, replacebycode (iframe) sample
Selection works if you touch and hold, one word is selected and you can expand the selection by using the handles. However, when the page is subsequently scrolled, the handles stay in place and thus become out of sync with the selection (see screenshot). It is *not* possible to perform any operation on the selection, after a toolbar button (like Bold) is clicked, text becomes unselected and no change is applied.
Firefox 18.0.2 browser, inline sample
The same as in iframe, the only difference being that the handles move correctly with page scrolling.
Changed 12 years ago by
Attachment: | Android-4.2.1-stock-iframe.png added |
---|
Changed 12 years ago by
Attachment: | Android-4.2.1-stock-inline-after-command.png added |
---|
Changed 12 years ago by
Attachment: | Android-4.2.1-stock-inline.png added |
---|
Changed 12 years ago by
Attachment: | Android-4.2.1-Firefox-iframe.png added |
---|
comment:5 Changed 12 years ago by
Chrome 18.0.1025469, replacebycode (iframe) sample
Selection works if you touch and hold, one word is selected and you can expand the selection by using the handles. However, when the page is subsequently scrolled, the handles stay in place and thus become out of sync with the selection (see screenshot). It *is* possible to perform any operation on the selection, after a toolbar button (like Bold) is clicked, text becomes unselected but a change is applied.
Chrome 18.0.1025469, inline sample
The same as in iframe, the only difference being that the handles move correctly with page scrolling.
Changed 12 years ago by
Attachment: | Android-4.2.1-chrome-iframe.png added |
---|
Changed 12 years ago by
Attachment: | Android-4.2.1-chrome-iframe-handles.png added |
---|
Changed 12 years ago by
Attachment: | Android-4.2.1-chrome-inline.png added |
---|
Changed 12 years ago by
Attachment: | Android-4.2.1-chrome-inline-bold-applied.png added |
---|
comment:6 Changed 11 years ago by
I've tested selection on Android 4.4.2 with Chrome 30 everything works fine and smoothly.
comment:7 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | confirmed → closed |
Tested on Android 5.1.1 with Chrome 44 and stock browser (based on Chrome 39) and it worked fine. Android WebView since KitKat(4.4) is using Chromium, and most stock browsers are build upon that.
Still, this issue is valid for Firefox 40 on Android, so I've created: #13721.
This issue is similar to #8648.