Opened 13 years ago

Closed 10 years ago

#8296 closed Bug (fixed)

focus event anomaly and safari/chrome crash

Reported by: Mike Kinasz 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 (1)

ckedit_proofofconcept.zip (942.9 KB) - added by Mike Kinasz 13 years ago.
example

Download all attachments as: .zip

Change History (3)

Changed 13 years ago by Mike Kinasz

Attachment: ckedit_proofofconcept.zip added

example

comment:1 Changed 13 years ago by Jakub Ś

Keywords: Webkit added
Status: newconfirmed
Version: 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 10 years ago by Jakub Ś

Resolution: fixed
Status: confirmedclosed

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 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy