Ticket #2532283 (reopened defect)

Reporter


Shmuel Biton
Opened: 05/7/12
Last modified: 12/13/12
Status: reopened
Type: defect

Owner


Dav Glass
Target Release:
Priority: P3 (normal)
Summary: Fixes #2531090 - Editor class
Description:

i found a bug which correspond to Fix #2531090 (Editor class)

I create an instance of EditorBase as follow:
YUI().use('editor', function(Y)
{

var ed = new Y.EditorBase(
{
content: '<p>Text goes here'
});
ed.render();
});

then I mark the "goes" word and clicking on the "Bold" button from the toolbar
(until now everything is ok)

now I go to the end of the line and trying to erase the "here" word with "backspace" key.

On Safari, after clicking on the backspace button, Editor lose focus.
On Chrome, the cursor jump to the "goes" word after one click on the "backspace" key.

Type: defect Observed in Version: 3.5.0
Component: Editor Severity: S3 (normal)
Assigned To: Dav Glass Target Release:
Location: Library Code Priority: P3 (normal)
Tags: Relates To:
Browsers: Safari - All,IE 8.x,Chrome
URL:
Test Information:

just repeat the above senario

Change History

Dav Glass

Posted: 05/7/12
  • location changed to Library Code
  • milestone changed to 3.6.0
  • priority changed to P3 (normal)
  • severity changed from S1 (critical) to S3 (normal)
  • status changed from new to accepted

Dav Glass

Posted: 05/7/12
  • estimated changed from 0 to 0.5
  • remaining changed from 0 to 0.5
  • sprint changed to backlog

Dav Glass

Posted: 05/11/12
  • sprint changed from backlog to sprint 2

Dav Glass

Posted: 05/30/12
  • status changed from accepted to infoneeded

I can't replicate this in Chrome or Webkit:

http://dl.dropbox.com/u/5669457/Editor-2532283.mov

This uses 3 ways to get to the end of the line before backspacing: mouse on the last word, mouse on the body below the line and use the keyboard to force the cursor to the end.

yuibuild

Posted: 06/9/12
  • resolution changed to expired
  • status changed from infoneeded to closed

Ticket automatically closed due to no activity.

Prajwalit

YUI Contributor

Posted: 12/13/12
  • milestone changed from 3.6.0
  • resolution changed from expired
  • status changed from closed to reopened

Similar issue's happening on Latest Chrome/Safari Mac.
Using: YUI 3.8.0

JS Fiddle: http://jsfiddle.net/prajwalit/8VKqD/

Prajwalit

YUI Contributor

Posted: 12/13/12

Oh, btw on safari editor doesn't lose focus like mentioned in bug description. It behaves just like chrome. The cursor skips few positions.