Opened 9 years ago

Last modified 8 years ago

#9996 confirmed Bug

Selection disappears from last line on getData()

Reported by: tema Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.5
Keywords: Blink Cc:


  1. open
  2. select BR mode
  3. remove all text
  4. type in some text (line 1)
  5. press enter
  6. type in some more text (line 2)
  7. select all text on the second line
  8. open javascript console and run

Result: selection disappears! Expected: selection to stay where it was.

Interesting that if you select line 1 and run getData(), everything stays normal.

I was able to reproduce it in Chrome. Bug first appeared in 3.6.5, 3.6.4 works fine.

Attachments (1)

2013-01-29_1559.swf (705.9 KB) - added by Jakub Ś 9 years ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 9 years ago by Piotrek Koszuliński

Status: newpending

WFM on Chrome@Linux and Windows 7.

Can you reproduce this issue on other machine? And if yes describe TC (or upload sample) that doesn't need the JS console?

Last edited 9 years ago by Piotrek Koszuliński (previous) (diff)

comment:2 Changed 9 years ago by tema

I was able to reproduce it on Mac OS.

I don't actually need a console, I need getData(), which fires in setInterval every couple of seconds, so selection is always resetting. I will try it on Windows later.

comment:3 Changed 9 years ago by tema

Reproduced this on Chrome, Windows 7.

comment:4 Changed 9 years ago by Jakub Ś

Keywords: Chrome added
Status: pendingconfirmed
Version: 3.6.5

Problem can be reproduced in Chrome only from CKEditor 3.6.5 rev. [7633]. It can be also reproduced in CKE 4.x (v4).

Please see attached video.

Changed 9 years ago by Jakub Ś

Attachment: 2013-01-29_1559.swf added

comment:5 Changed 8 years ago by Jakub Ś

Keywords: Blink added; Chrome removed

There is also another more serious issue caused by this revision #10801.

Note: See TracTickets for help on using tickets.
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy