Ticket #8296 (closed Bug: fixed)

Opened 3 years ago

Last modified 13 months ago

focus event anomaly and safari/chrome crash

Reported by: ckreno Owned by:
Priority: Normal Milestone:
Component: General Version: 3.1
Keywords: Webkit Cc:

Description

CKEditor focus event doesn't appear to fire everytime.

I've attached an IntelliJ project. If you don't have that, use the index.jsp in your test JSP environment and run the page.

Click on the dropdown and select a different value (to trigger the onchange), then click into the CKEditor. If any dropdown value other than the first element is selected, clicking into the editor should clear it out. If you try the sample, this works every other time.

Run Select "2" from dropdown, click editor, see value disappear Select "3" from dropdown, click editor, nothing happens (focusFunction didn't execute) Select "4" from dropdown, click editor, see value disappear Select "2" from dropdown, click editor, nothing happens though it worked first time you clicked "2".

Do the same thing in the latest version of Chrome and Safari, browser will crash. (safari v5.0.5, chrome 13.0.782.112 m)

The included code uses nightly build 7228, same thing occurs with last release version 3.6.1.

Attachments

ckedit_proofofconcept.zip (942.9 KB) - added by ckreno 3 years ago.
example

Change History

Changed 3 years ago by ckreno

example

comment:1 Changed 3 years ago by j.swiderski

  • Keywords Webkit added
  • Status changed from new to confirmed
  • Version set to 3.1

Click on the dropdown and select a different value (to trigger the onchange), then click into the CKEditor. If any dropdown value other than the first element is selected, clicking into the editor should clear it out. If you try the sample, this works every other time. Run Select "2" from dropdown, click editor, see value disappear Select "3" from dropdown, click editor, nothing happens (focusFunction didn't execute) Select "4" from dropdown, click editor, see value disappear Select "2" from dropdown, click editor, nothing happens though it worked first time you clicked "2".

This isssue has been reproducible from CKEditor 3.3.2 in Firefox, IE and Opera.


Do the same thing in the latest version of Chrome and Safari, browser will crash. (safari v5.0.5, chrome 13.0.782.112 m)

Webkit has been crashing from CKEditor 3.1.
Usually it is enough just to change dropdown option and click inside the editor. Sometimes in earlier CKE versions (3.1-3.2.1) I had to change option, click inside editor, press F5, change option and click inside editor. Page was crashing either when clicking on dropdown or inside editor.

comment:2 Changed 13 months ago by j.swiderski

  • Status changed from confirmed to closed
  • Resolution set to fixed

I have checked this issue in latest Chrome, Safari and in latest CKEditor 4.2.

This works now.

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