#1792: [IE] Infinity loop problem in multiple editor
----------------------+-----------------------------------------------------
  Reporter:  lyg73    |       Owner:  fredck              
      Type:  Bug      |      Status:  assigned            
  Priority:  Normal   |   Milestone:  FCKeditor 2.6       
 Component:  General  |     Version:  SVN                 
Resolution:           |    Keywords:  Confirmed IE Review?
----------------------+-----------------------------------------------------
Changes (by fredck):

  * keywords:  Confirmed IE => Confirmed IE Review?
  * owner:  => fredck
  * status:  new => assigned
  * milestone:  => FCKeditor 2.6

Comment:

 This is a regression for a bug I've worked on in the far 2006. As abakhar
 well understood, it is caused by the focus procedures, combined with the
 FCKFocusManager.

 The problem is that the FCKFocusManager tries to enforce the focus to the
 editing area as soon as the editor window receives the focus. The code to
 do that fires the focus event again, and so FCKFocusManager starts the
 same procedure... in an infinite loop.

 Our previous approach was blocking this issue in the focus procedure. But
 it seems that a safer solution is avoiding the loop at the FCKFocusManager
 code.

 The attached patch, other than proposing the above approach, changes the
 FCKEditingArea.Focus code to make it clearer, canceling also a bug present
 on it currently, by a "return" statement wrong removed from line 275 with
 [620].

-- 
Ticket URL: <http://dev.fckeditor.net/ticket/1792#comment:6>
FCKeditor <http://www.fckeditor.net>
The text editor for Internet
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac

Reply via email to