Opened 11 years ago

Closed 10 years ago

#2628 closed Bug (worksforme)

OnSelectionChange / isDirty not handled correctly on FF when not focus set

Reported by: André Schild Owned by:
Priority: Normal Milestone:
Component: General Version: FCKeditor 2.6.3
Keywords: Pending WorksForMe Cc:

Description

I see the following problem with the current fck editor version (2.6.3). Currently I see this on Firefox 3.0.3 windows and ubuntu. IE 7 does work correctly (if OnSelectionChange works at all...)

  1. Create a editor instance
  1. Attach a OnSelectionChange event handler which evaluates the IsDirty() flag
  1. Now start the editor, make sure it has NOT the focus.
  1. Insert a image via the toolbar

As you can see, the OnSelectionChange event is not fired, and also the IsDirty() flag is not set to true.

If we do the same thing, but with fckeditor having the focus, then OnSelectionChange is fired and also IsDirty() is set correctly to true.

Attachments (1)

sample082.html (2.9 KB) - added by Artur Formella 11 years ago.

Download all attachments as: .zip

Change History (5)

Changed 11 years ago by Artur Formella

Attachment: sample082.html added

comment:1 Changed 11 years ago by Artur Formella

Keywords: Pending added

OnSelectionChange is not fired if hasn't focus, but IsDirty is set to true. Could you try it with attached sample082.html ?

comment:2 Changed 11 years ago by André Schild

Yes, thats correct.

I tested it with the attached 082 sample and the 2.6.3 editor release.

OnSelectionChange is not fired if hasn't focus, but IsDirty is set to true.

comment:3 Changed 11 years ago by Artur Formella

Keywords: WorksForMe added

I can't see any bug. OnSelectionChange was not fired because I didn't change selection and isDirty is correct.

comment:4 Changed 10 years ago by Artur Formella

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